Demand Capping Assign

Adi Heymann -

PATCH /api/demand/<demandId>/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 <TOKEN>'
  -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"
}

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.