Conversion Pixel
Service
/conversion-pixel
Method
GET
Response
{ "response":{ "status":"OK", "conversion-pixels":[ { "id":1, "code":"", "name":"My Conv Pixel", "state":"active", "trigger_type":"hybrid", "min_minutes_per_conv":0, "post_view_expire_mins":"", "post_click_expire_mins":"", "post_click_value":"", "post_view_value":"", "created_on":"", "last_modified":"", "advertiser_id":123, "campaigns":[ { "id":1 }, { "id":2 } ], "line_items":[ { "id":1, "name":"My LineItem", "state":"active" } ], "piggyback_pixels":"" }, {...} ] } }
Service
/conversion-pixel
Method
POST
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | Y | The name of the conversion pixel. |
post_view_expire_mins | int | N | The interval (in minutes) from impression time allowed for a view conversion to be counted as eligible. |
post_click_expire_mins | int | N | The interval (in minutes) from impression time allowed for a click conversion to be counted as eligible. |
min_minutes_per_conv | int | N | The eligibility rules for repeat conversions: Count all conversions (0), Count one per user (NULL), Count one conversion per X Minutes |
trigger_type | string | N | The type of event required for a valid (attributed) conversion. Possible values: "view", "click", or "hybrid". Default: "hybrid" |
Service
/conversion-pixel
Method
PUT
Parameters
Same as POST.
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | The Conversion Pixel Id. |
Service
/conversion-pixel
Method
DELETE
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | The Conversion Pixel Id. |