Demand Callback Assign

Adi Heymann -

PATCH /api/demand/<demandId>/callbacks

Requested param is an array of callbacks with the foloowing properties

Attribute Name
Summary
Required
Possible Values
url Callback URL yes url
eventId Callback Event Id yes
  • Ad Start=2
  • Ad Complete=3
  • Ad Click=4
typeId Callback Type Id yes
  • URL request = 0
  • JS run = 1 (eventId should be 2)

 

Updating Demand’s Callback List (eg. Ad Start, Ad Complete, Ad Click)
curl -X PATCH \
-H 'accept: application/json'
-H 'api-version: 1'
-H 'content-type: application/x-www-form-urlencoded'
-H 'authorization: Bearer <TOKEN>'
 
Sample Response
{
 "status": "OK",
 "data": "Callbacks updated"
}
Have more questions? Submit a request

0 Comments

Article is closed for comments.