Demand Callback Assign

PATCH /api/demand/[demand_id]/callbacks

Requested param is an array of callbacks with the following properties

Attribute Name
Summary
Required
Possible Values
urlCallback URLyesurl
eventIdCallback Event Idyes
  • Ad Start=2
  • Ad Complete=3
  • Ad Click=4
typeIdCallback Type Idyes
  • 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 '
 
Sample Response
{
 "status": "OK",
 "data": "Callbacks updated"
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article