Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
KeywordPlanAdGroupOperation
A single operation (create, update, remove) on a Keyword Plan ad group.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (KeywordPlanAdGroup )
},
"update": {
object (KeywordPlanAdGroup )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
updateMask |
string (FieldMask format)
The FieldMask that determines which resource fields are modified in an update. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (KeywordPlanAdGroup )
Create operation: No resource name is expected for the new Keyword Plan ad group.
|
update |
object (KeywordPlanAdGroup )
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: customers/{customerId}/keywordPlanAdGroups/{kp_ad_group_id}
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-11 UTC.
[null,null,["Last updated 2024-10-11 UTC."],[[["This documentation describes how to perform a single operation (create, update, or remove) on a Keyword Plan ad group using JSON."],["Operations are defined using a JSON payload containing an `updateMask` and an `operation` field."],["The `operation` field specifies the type of operation, which can be `create`, `update`, or `remove`, each with its own requirements."],["`create` operations don't require a resource name, while `update` and `remove` operations need the Keyword Plan ad group's resource name."],["The `updateMask` field specifies which fields are being modified in an update operation."]]],["The provided content outlines operations on a Keyword Plan ad group. These operations include `create`, `update`, and `remove`. `updateMask`, a string, determines which fields are modified during an update. The `create` operation does not require a resource name. The `update` operation requires a valid resource name. The `remove` operation requires a resource name in the format `customers/{customerId}/keywordPlanAdGroups/{kp_ad_group_id}`. Each action uses a JSON format for representation.\n"]]