Browse the help center

Update campaign no-click capping

Updates an existing no-click capping record for a campaign, identified by the capping record's own ID.

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

Updates an existing no-click capping record for a campaign, identified by the capping record's own ID. Only the fields provided are modified; omitted optional fields retain their current values. The record must already exist within the campaign's no-click capping set, otherwise the answer is 404. 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 that owns the capping record

2001

Form Params

id integer required

Numeric ID of the specific capping record to update (obtained from the GET capping list response)

501

amount integer

Maximum number of impressions without a click before the banner is suppressed. Optional; if omitted the existing amount is preserved.

5

period integer

Length of the capping time window, expressed in units defined by periodType. Omitted keeps the current period

24

periodType string

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

HOUR

evenDistribution boolean

When true, impression counting is distributed evenly across the period

false

subject string

Entity used to identify unique users for capping. Optional; if omitted the existing subject is preserved. Allowed values: USER_COOKIE, USER_SERVER_SIDE, USER_MIXED, IP, LES_IP

USER_COOKIE

Responses

200

No-click capping updated successfully

400

Invalid request parameters

401

Authentication error

403

Not enough permissions

404

No no-click capping enabled or 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.