AdGroupOperation

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

  • Theupdate_mask field specifies which resource fields are modified during an update.

  • Theoperation field is a union that can be eithercreate,update, orremove.

  • Create operations do not require a resource name, while update and remove operations do.

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.