MutateGoogleAdsRequest

  • The request message for GoogleAdsService.Mutate includes fields for the customer ID, a list of mutate operations, and optional settings for partial failure, validation only, and response content type.

  • The customer_id and mutate_operations[] fields are required, specifying the customer and the operations to perform respectively.

  • The partial_failure field determines if successful operations are committed despite invalid ones, defaulting to false (all or nothing).

  • The validate_only field allows the request to be validated without execution, returning only errors.

  • The response_content_type field controls whether the full mutable resource or just its name is returned after the mutation.

Request message for GoogleAdsService.Mutate.

Fields

customer_id

string

Required. The ID of the customer whose resources are being modified.

mutate_operations[]

MutateOperation

Required. The list of operations to perform on individual resources.

partial_failure

bool

If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

validate_only

bool

If true, the request is validated but not executed. Only errors are returned, not results.

response_content_type

ResponseContentType

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation. The mutable resource will only be returned if the resource has the appropriate response field. For example, MutateCampaignResult.campaign.