Browse the help center

Set campaign limits

Creates or replaces limits for the specified campaign.

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

Creates or replaces limits for the specified campaign. If the campaign does not have limits enabled yet, this endpoint will automatically enable them before applying the provided values. Accepts form parameters for total/daily thresholds (impressions, clicks, conversions, budget), date range, evenPacing, useLocalTime flag, and timezoneOffset (in minutes). Requires UPDATE permission on the campaign's parent advertiser and the MANAGE_CAPPING_AND_LIMITATIONS user permission. Each cap changed also needs its own limit permission enabled (e.g. WEEKLY_CLICKS_LIMIT, MONTHLY_BUDGET — the permission of the console Limits card row); a cap the role lacks it for is not applied and is listed in ignoredFields naming the permission, while the other fields are saved. A cap sent with its stored value needs no permission. Counters (the same names without the Limit suffix, e.g. totalImpressions) are read-only here: sent, they are listed in ignoredFields and left unchanged; the reset endpoint sets them back to zero.

Path Params

campaignId integer required

Unique numeric identifier of the campaign whose limits should be created or replaced

2001

Form Params

dailyBudgetLimit number

Maximum daily budget (revenue) in currency units

500.00

dailyClicksLimit integer

Maximum clicks allowed per day

2000

dailyConversionsLimit integer

Maximum conversions allowed per day

500

dailyImpressionsLimit integer

Maximum impressions allowed per day

50000

dailyOpportunitiesLimit integer

Maximum ad opportunities allowed per day

100000

endDate string

End date for the limiting period in yyyy-MM-dd-HH-mm (or yyyy-MM-dd HH:mm) format (GMT+0)

2025-12-31-23-59

evenPacing boolean

When true, distributes delivery evenly throughout the day rather than front-loading

true

monthlyBudgetLimit number

Monthly budget cap; 0 means no monthly cap. Resets on the 1st of the month.

3000

monthlyClicksLimit integer

Maximum clicks allowed per month; 0 means no monthly cap. Resets the 1st of the month.

10000

monthlyConversionsLimit integer

Maximum conversions allowed per month; 0 means no monthly cap. Resets the 1st of the month.

10000

monthlyImpressionsLimit integer

Maximum impressions allowed per calendar month; 0 means no monthly cap. Resets on the 1st.

1500000

monthlyOpportunitiesLimit integer

Maximum opportunities allowed per month; 0 means no monthly cap. Resets the 1st of the month.

10000

removeEndDateLimit boolean

When true, removes the existing end date limit

true

removeStartDateLimit boolean

When true, removes the existing start date limit

true

startDate string

Start date for the limiting period in yyyy-MM-dd-HH-mm (or yyyy-MM-dd HH:mm) format (GMT+0)

2025-01-15-00-00

timezoneOffset integer

The caller's offset from UTC in minutes (east positive, e.g. 120 for UTC+2). With useLocalTime on, the startDate/endDate of this request are read in that offset and stored in UTC; dates not sent are left as stored

120

totalBudgetLimit number

Maximum total budget (revenue) allowed over the entire period in currency units

10000.00

totalClicksLimit integer

Maximum total clicks allowed over the entire period

50000

totalConversionsLimit integer

Maximum total conversions allowed over the entire period

5000

totalImpressionsLimit integer

Maximum total impressions allowed over the entire period

1000000

totalOpportunitiesLimit integer

Maximum total ad opportunities over the entire period

5000000

useLocalTime boolean

When true, startDate/endDate are given in the caller's local time (the console's Local Time switch); the limit read answers them in local time too when it is passed the same timezoneOffset, and in UTC otherwise. Omitted, the limit keeps its current setting

true

weeklyBudgetLimit number

Weekly budget cap; 0 means no weekly cap. Resets each ISO week (Monday).

700

weeklyClicksLimit integer

Maximum clicks allowed per week; 0 means no weekly cap. Resets each ISO week (Monday).

10000

weeklyConversionsLimit integer

Maximum conversions allowed per week; 0 means no weekly cap. Resets each ISO week (Monday).

10000

weeklyImpressionsLimit integer

Maximum impressions allowed per week; 0 means no weekly cap. Resets each ISO week (Monday).

10000

weeklyOpportunitiesLimit integer

Maximum opportunities allowed per week; 0 means no weekly cap. Resets each ISO week (Monday).

10000

Responses

200

Campaign limits set successfully

400

Invalid request parameters or campaign not found

401

Authentication error

403

Not enough permissions

404

Not found — resource does not exist

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.