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.
CampaignGroupOperation
A single operation (create, update, remove) on a campaign group.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (CampaignGroup )
},
"update": {
object (CampaignGroup )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
updateMask |
string (FieldMask format)
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 (CampaignGroup )
Create operation: No resource name is expected for the new campaign group.
|
update |
object (CampaignGroup )
Update operation: The campaign group is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed campaign group is expected, in this format: customers/{customerId}/campaignGroups/{campaign_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 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["This documentation outlines the JSON structure for performing operations (create, update, remove) on Google Ads campaign groups."],["The `operation` field indicates the type of operation and accepts one of three values: `create`, `update`, or `remove`."],["Each operation type has specific requirements: `create` expects a CampaignGroup object without a resource name, `update` requires a CampaignGroup object with a valid resource name, and `remove` needs the resource name of the campaign group to be deleted."],["The `updateMask` field is used during updates, specifying the fields to be modified using FieldMask format."]]],["The content details operations on a campaign group, encompassing create, update, and remove actions. The `updateMask` field specifies which fields are modified during an update. The `create` operation defines a new campaign group without needing a resource name. `Update` requires a valid resource name. `Remove` needs a resource name in the specified format: `customers/{customerId}/campaignGroups/{campaign_group_id}`. These operations are mutually exclusive.\n"]]