BudgetingService provides operations for managing the daily spend limits
of accounts and campaigns.
Return the account daily spend limit for the account (specified by accountID).
Capability required: AccountRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| accountID | string | The account ID. |
double - The daily spend limit for the account.
Return a flag that indicates if the account daily spend limit is enabled or disabled for the account (specified by accountID).
Capability required: AccountRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| accountID | string | The account ID. |
boolean - If true, daily spend limiting is enabled. If False, daily spend limiting is disabled.
Return the campaign daily spend limit for the campaign (specified by campaignID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| campaignID | long | The campaign ID. |
double - The daily spend limit for the campaign.
Return a flag that indicates if the campaign daily spend limit is enabled or disabled for the campaign (specified by campaignID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| campaignID | long | The campaign ID. |
boolean - If true, daily spend limiting is enabled. If False, daily spend limiting is disabled.
Enable and/or update the account daily spend limit for the account (specified by accountID).
If the account daily spend limit is disabled, use this operation to enable and set
the account daily spend limit. (To determine the previous account daily spend limit
amount, if any, use the getAccountDailySpendLimit operation.)
If the account daily spend limit is already enabled, use this operation to update
the account daily spend limit.
Once the account daily spend limit is enabled it cannot be disabled.
Capability required: AccountWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| accountID | string | The account ID. |
| amount | double | The amount of the spend limit. |
none
Enable and/or update the campaign daily spend limit for the campaign (specified by campaignID).
If the campaign daily spend limit is disabled, use this operation to enable and set
the campaign daily spend limit. (To determine the previous campaign daily spend limit,
if any, use the getCampaignDailySpendLimit operation.)
If the campaign daily spend limit is already enabled, use this operation to
update the daily spend limit.
The campaign daily spend limit overrides (but will not exceed) the
account daily spend limit.
Note: If you enable campaign optimization, the campaign daily spend limit is
controlled and automatically adjusted for you; calling this operation will generate an error
(see Campaign Optimization and Spend Limits).
If you subsequently disable campaign optimization, the campaign daily spend limit
remains set to the last value used during optimization. Use this operation to
re-set the amount, if desired.
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| campaignID | long | The ID of the campaign whose limit needs to be altered. |
| amount | double | The amount of the spend limit. |
none
Enable or disable the campaign daily spend limit for the campaign (specified by campaignID).
Note: If you enable campaign optimization, the campaign daily spend limit is controlled and automatically adjusted for you; calling this operation will generate an error (see Campaign Optimization and Spend Limits).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| campaignID | long | The campaign ID. |
| status | boolean | True to enable daily spend limiting. False to disable daily spend limiting. |
none