Browse the help center

Set banner frequency capping — capping

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

bannerId integer required

ID of the banner to set frequency capping for

3001

Form Params

amount integer

Maximum number of impressions/clicks allowed within the capping period

5

flat boolean

Whether to use flat (non-rolling) period windows

false

id integer

Frequency capping rule ID

200

period integer

Length of the capping period (combined with periodType)

1

periodType string

Period type for the capping window (MINUTE, HOUR, DAY, WEEK, MONTH, YEAR)

HOUR

subject string

Subject type for capping identification (USER_COOKIE, USER_SERVER_SIDE, USER_MIXED, IP, LES_IP)

USER_COOKIE

Responses

200

Frequency capping updated

400

Invalid request or banner not found

401

Authentication error

403

Not enough permissions

404

Not found — resource does not exist

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.