Browse the help center

Set campaign frequency capping

Creates a new frequency capping rule for a campaign, limiting how many times an ad impression is shown within a time window.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/frequency-capping/set.do

Creates a new frequency capping rule for a campaign, limiting how many times an ad impression is shown within a time window. A new capping record is always created (multiple rules can coexist for different subject types). The response JSON contains the newly created capping record ID in the 'id' field. Requires UPDATE permission and the MANAGE_CAPPING_AND_LIMITATIONS privilege; using IP or LES_IP subjects requires additional CAPPING_SUBJECT_IP / CAPPING_SUBJECT_LES_IP permissions.

Path Params

campaignId integer required

Numeric ID of the campaign to configure frequency capping for

2001

Form Params

period integer required

Length of the capping time window, expressed in units defined by periodType (e.g. 24 when periodType is HOUR means 24 hours)

24

periodType string required

Unit of the capping period. Allowed values: SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR

HOUR

amount integer

Maximum number of impressions allowed within the specified period. Optional; if omitted the capping has no amount limit.

1000

evenDistribution boolean

When true, impressions are distributed evenly across the period instead of being served as fast as possible

true

subject string

Entity used to identify unique users for capping. Defaults to USER_COOKIE if omitted. Allowed values: USER_COOKIE, USER_SERVER_SIDE, USER_MIXED, IP, LES_IP

USER_COOKIE

Responses

200

Frequency capping set successfully

400

Invalid request parameters

401

Authentication error

403

Not enough permissions

404

Campaign not found

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.