KeywordPlanAdGroupKeywordOperation

  • Describes a single operation on a Keyword Plan ad group keyword, which can be create, update, or remove.

  • Theupdate_mask field uses a FieldMask to specify which resource fields are modified during an update.

  • Theoperation union field determines the type of mutate operation:create,update, orremove.

  • Create operations do not require a resource name, while update operations expect a valid resource name, and remove operations require a specific format for the resource name.

A single operation (create, update, remove) on a Keyword Plan ad group keyword.

Proto definition

Fields

operation

Union field. The mutate operation.

operation can be only one of the following:

create

KeywordPlanAdGroupKeyword

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

remove

string

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

customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}

update

KeywordPlanAdGroupKeyword

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

update_mask

FieldMask

The 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.