Creates or adds a frequency capping rule for the specified banner.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/capping/frequency.do
Creates or adds a frequency capping rule for the specified banner. Accepts amount (number of events), periodType (HOUR, DAY, WEEK, MONTH, YEAR), period (number of periods), and flat (boolean for uniform distribution). The amount must be greater than zero. Requires UPDATE permission on the banner's advertiser, plus MANAGE_CAPPING_AND_LIMITATIONS and FREQUENCY_CAPPING permissions.
Path Params
bannerIdintegerrequired
ID of the banner to set frequency capping for
3001
Form Params
amountinteger
Maximum number of impressions/clicks allowed within the capping period
5
flatboolean
Whether to use flat (non-rolling) period windows
false
idinteger
Frequency capping rule ID
200
periodinteger
Length of the capping period (combined with periodType)
1
periodTypestring
Period type for the capping window (MINUTE, HOUR, DAY, WEEK, MONTH, YEAR)
HOUR
subjectstring
Subject type for capping identification (USER_COOKIE, USER_SERVER_SIDE, USER_MIXED, IP, LES_IP)