AdGroupAdOperation

  • Describes a single operation on an ad group ad, including create, update, or remove.

  • The update_mask field uses a FieldMask to determine which resource fields are modified during an update operation.

  • policy_validation_parameter provides configuration for how policies are validated.

  • The operation field, which can be create, update, or remove, defines the mutate operation for the ad group ad.

  • Each operation type requires specific information, such as a resource name for update and remove operations, but not for create.

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}