Browse the help center

Set campaign no-click capping

Creates a new no-click capping rule for a campaign.

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

Creates a new no-click capping rule for a campaign. No-click capping suppresses a banner if a user sees it a specified number of times (amount) within a time window (period) without clicking. The impression counter resets to zero whenever the user clicks. A new capping record is always created (multiple rules can coexist for different subject types). Requires UPDATE permission and the MANAGE_CAPPING_AND_LIMITATIONS privilege; using IP or LES_IP subjects requires additional permissions.

Path Params

campaignId integer required

Numeric ID of the campaign to configure no-click capping for

2001

Form Params

period integer required

Length of the capping time window, expressed in units defined by periodType

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 without a click before the banner is suppressed. Optional; if omitted the capping has no amount limit.

5

evenDistribution boolean

When true, impression counting is distributed evenly across the period

false

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

No-click 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.