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

NameTypeRequiredDescription
namestringYThe name of the conversion pixel.
post_view_expire_minsintNThe interval (in minutes) from impression time allowed for a view conversion to be counted as eligible.
post_click_expire_minsintNThe interval (in minutes) from impression time allowed for a click conversion to be counted as eligible.
min_minutes_per_convintNThe eligibility rules for repeat conversions: Count all conversions (0), Count one per user (NULL), Count one conversion per X Minutes
trigger_typestringNThe 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.

NameTypeRequiredDescription
 idintYThe Conversion Pixel Id.

 

Service

/conversion-pixel

Method

DELETE

Parameters

NameTypeRequiredDescription
idintYThe Conversion Pixel Id.