Creates a new capping rule for the specified advertiser, typically used for advertiser-level frequency capping across all campaigns.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/advertiser/capping/{advertiserId}.do
Creates a new capping rule for the specified advertiser, typically used for advertiser-level frequency capping across all campaigns. The capping type should be ADVERTISER_FREQUENCY for advertiser-level rules. The response JSON carries the new record, with its assigned id, under capping. Requires UPDATE permission on the advertiser, MANAGE_CAPPING_AND_LIMITATIONS enabled, and the permission of the capping type and subject.
Path Params
advertiserIdintegerrequired
Numeric ID of the advertiser to add the capping rule to
1001
Form Params
typestringrequired
Type of the capping to create. A type of another level is rejected with 'Capping type is incompatible with entity'
ADVERTISER_FREQUENCY
amountintegerrequired
Maximum number of events allowed within the specified period
1000
periodintegerrequired
Length of the capping time window, expressed in units defined by periodType
24
periodTypestringrequired
Unit of the capping period. Allowed values: SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
HOUR
flatbooleanrequired
When true, events are distributed evenly (flat) across the period instead of being served/counted as fast as possible
true
subjectstring
Entity used to identify unique users for capping. Optional; allowed values: USER_COOKIE, USER_SERVER_SIDE, USER_MIXED, IP, LES_IP