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.
AdGroupAdLabelOperation
A single operation (create, remove) on an ad group ad label.
JSON representation |
{
// Union field operation can be only one of the following:
"create": {
object (AdGroupAdLabel )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (AdGroupAdLabel )
Create operation: No resource name is expected for the new ad group ad label.
|
remove |
string
Remove operation: A resource name for the ad group ad label being removed, in this format: customers/{customerId}/adGroupAdLabels/{adGroupId}~{ad_id}~{label_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-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["This documentation describes the JSON format for a single operation (create or remove) on an ad group ad label."],["The JSON request must include an `operation` field specifying either \"create\" with an AdGroupAdLabel object or \"remove\" with the resource name of the ad group ad label."],["For create operations, the AdGroupAdLabel object defines the new label; for remove operations, the resource name identifies the label to be deleted, using the format `customers/{customerId}/adGroupAdLabels/{adGroupId}~{ad_id}~{label_id}`."]]],["The content describes a single operation on an ad group ad label, which can be either creating or removing. For creation, an `AdGroupAdLabel` object is used, and no resource name is needed. For removal, a resource name string is required, formatted as `customers/{customerId}/adGroupAdLabels/{adGroupId}~{ad_id}~{label_id}`. These operations are part of a union field labeled `operation`, where only one of `create` or `remove` can be applied.\n"]]