AdGroupAdOperation

  • This operation performs a single action (create, update, or remove) on an ad group ad.

  • Key fields include update_mask for specifying modified fields, policy_validation_parameter for policy configuration, and the operation union field for the type of action.

  • The operation field can be either create, update, or remove, each requiring different resource name considerations.

A single operation (create, update, remove) on an ad group ad.

Fields

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

policy_validation_parameter

PolicyValidationParameter

Configuration for how policies are validated.

Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

AdGroupAd

Create operation: No resource name is expected for the new ad.

update

AdGroupAd

Update operation: The ad is expected to have a valid resource name.

remove

string

Remove operation: A resource name for the removed ad is expected, in this format:

customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}