CPA, CPS Event Report

Introduction

CPA or CPS is a high-level bidding method that allows you to pay for every conversion for a specific type of ad campaign in the DSP. A conversion refers to a specific action that you want to generate on websites through ads, such as an online purchase, a registration on a platform, an app download, an app installation, or any custom event.If you want to adopt CPA or CPS, you must report the corresponding conversion events to the platform after the criteria for conversion have been met, which will help optimize your conversions on an ongoing basis. In addition, it will increase your account level, which improves ad exposure and conversion.

Examples of Different Methods of Conversion Tracking

When you choose CPA or CPS for your campaign, you must validate and report according to your preset conversion type. At the time of the conversion, our SDK will provide you with sufficient parameters for reporting and validation, so that you can check the results of the conversion.

If you want to track

You need to

The purchase on the website, the registration on the platform, the app download or installation, custom events, etc.

1. Select the corresponding event and bind it to the ad campaign. 2. Report the event to the platform when the ad is changed, and the name of the reported event should be the same as the name of the event bound to your campaign. (CPS supports buy events; CPA supports registration, download, installation, custom events, etc.)

Request URL

https://orpc.statics3.com/p.gif

Request Method

GET

Header Settings

Name

Required

Type

Sample

content-Type

Yes

string

application/JSON

client

Yes

string

Client type: web, h5, iPhone, android

user-agent

Yes

string

Dalvik/2.1.0 (Linux; U; Android 11; V2115A Build/RP1A.200720.012)

ader-id

Yes

string

Your DSP account id

Request Parameters

Name

Required

Type

Description

Sample

event

Yes

string

Event name: 【System default】register, download, install, buy. Support customization

register

unique_id

Yes

string

User ID (unique reporting value)

1s7sdNUsa

event_time

Yes

int

Event timestamp (event time)

1586534400

transaction_id

Yes

string

Transaction HashID (The id returned by the request interface)

4C4345654C2E4470958F6B8C9088EB0F-64082d23dcc50-63a573861ac5f-pjpd7aazwgm60

Request Sample

curl -H "content-Type:application/json" -H "client:iphone" -H "user-agent:Dalvik/2.1.0 (Linux; U; Android 11; V2115A Build/RP1A.200720.012)" -H "ader-id:63a573861asaw" https://orpc.statics3.com/p.gif? event=install&unique_id=1s7sdNUsa&event_time=1586534400&transaction_id=4C4345654C2E4470958F6B8C9088EB0F64082d23dcc50-63a573861ac5f-pjpd7aazwgm60

Returning Result

If the HTTP response code is 200, the request is completed.

False Result

If the HTTP response code is not 200, the request is failed.

Last updated