MutateAdsRequest

  • The request message for AdService.MutateAds is used to modify ads for a specific customer.

  • It requires the customer ID and a list of operations to perform on individual ads.

  • You can set partial failure to true to allow successful operations to proceed even if others fail.

  • You can validate the request without execution using the validate_only field.

Request message for AdService.MutateAds.

Fields

customer_id

string

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

operations[]

AdOperation

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

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.

response_content_type

ResponseContentType

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.

validate_only

bool

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