Demand Capping Assign

PATCH /api/demand//cappings

 

Attribute Name
Possible Values
cappingType
  • Impressions = 1
  • Ad Request = 2
paceOption
  • ASAP = 1
  • EVEN = 2

 

   
cappingValue

if type is Impressions , cappingValue should be at least 1,

if type is Ad Request, cappingValue minimum is 25000

 

Setting 25,000 Daily impression capping and 100,000 Daily ad requests capping

 

Sample Request
curl -X PATCH \
  -H 'accept: application/json'
  -H 'api-version: 1'
  -H 'authorization: Bearer '
  -H 'content-type: application/x-www-form-urlencoded'
  
0[cappingType]=1&0[cappingValue]=25000&0[paceOption]=1&1[cappingType]=2&1[cappingValue]=100000&1[paceOption]=1

 

Sample Response
{
 "status": "OK",
 "data": "Cappings 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 know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article