- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- AccountBudgetProposalOperation
- MutateAccountBudgetProposalResult
- Try it!
Creates, updates, or removes account budget proposals. Operation statuses are returned.
List of thrown errors: AccountBudgetProposalError AuthenticationError AuthorizationError DatabaseError DateError FieldError FieldMaskError HeaderError InternalError MutateError QuotaError RequestError StringLengthError
HTTP request
POST https://googleads.googleapis.com/v17/customers/{customerId}/accountBudgetProposals:mutate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the customer. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"operation": {
object ( |
Fields | |
---|---|
operation |
Required. The operation to perform on an individual account-level budget proposal. |
validateOnly |
If true, the request is validated but not executed. Only errors are returned, not results. |
Response body
Response message for account-level budget mutate operations.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"result": {
object ( |
Fields | |
---|---|
result |
The result of the mutate. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
AccountBudgetProposalOperation
A single operation to propose the creation of a new account-level budget or edit/end/remove an existing one.
JSON representation |
---|
{ "updateMask": string, // Union field |
Fields | |
---|---|
updateMask |
FieldMask that determines which budget fields are modified. While budgets may be modified, proposals that propose such modifications are final. Therefore, update operations are not supported for proposals. Proposals that modify budgets have the 'update' proposal type. Specifying a mask for any other proposal type is considered an error. This is a comma-separated list of fully qualified names of fields. Example: |
Union field operation . The mutate operation. operation can be only one of the following: |
|
create |
Create operation: A new proposal to create a new budget, edit an existing budget, end an actively running budget, or remove an approved budget scheduled to start in the future. No resource name is expected for the new proposal. |
remove |
Remove operation: A resource name for the removed proposal is expected, in this format:
|
MutateAccountBudgetProposalResult
The result for the account budget proposal mutate.
JSON representation |
---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
Returned for successful operations. |