AdGroupOperation

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

  • Theoperation field specifies the type of mutation: create, update, or remove.

  • Aupdate_mask can be used in an update operation to specify which fields are modified.

  • Create operations do not expect a resource name for the new ad group.

  • Update and remove operations require a valid resource name for the ad group being acted upon.

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

Proto definition

Fields

operation

Union field. The mutate operation.

operation can be only one of the following:

create

AdGroup

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

remove

string

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

customers/{customer_id}/adGroups/{ad_group_id}

update

AdGroup

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

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.