Update campaign frequency capping
Updates an existing frequency capping record for a campaign, identified by the capping record's own ID.
https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/frequency-capping/update.do Updates an existing frequency 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 frequency 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 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, 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. Optional; if omitted the existing subject is preserved. Allowed values: USER_COOKIE, USER_SERVER_SIDE, USER_MIXED, IP, LES_IP
USER_COOKIE Responses
200
Frequency capping updated successfully
400
Invalid request parameters
401
Authentication error
403
Not enough permissions
404
No frequency capping enabled or campaign not found