Browse the help center

Update campaign click capping

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

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

Updates an existing 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 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 clicks allowed within the specified period. Optional; if omitted the existing amount is preserved.

1000

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, clicks are distributed evenly across the period instead of being counted as fast as possible

true

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

Click capping updated successfully

400

Invalid request parameters

401

Authentication error

403

Not enough permissions

404

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.