AdGroupAdOperation

  • Describes a single operation for managing ad group ads.

  • Operations include creating, updating, or removing an ad group ad.

  • Each operation involves specific fields and parameters likeupdate_mask andpolicy_validation_parameter.

  • Theoperation field is a union that determines the type of mutate action (create, update, or remove).

  • Resource names are used for update and remove operations to identify the specific ad group ad.

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

Proto definition

Fields

operation

Union field. The mutate operation.

operation can be only one of the following:

create

AdGroupAd

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

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}

update

AdGroupAd

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

policy_validation_parameter

PolicyValidationParameter

Configuration for how policies are validated.

update_mask

FieldMask

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.