LabelOperation
Stay organized with collections
Save and categorize content based on your preferences.
A single operation (create, remove, update) on a label.
Fields |
update_mask
|
FieldMask
FieldMask that determines which resource fields are modified in an update.
|
Union field operation
operation . The mutate operation. operation can be only one of the following: |
create
|
Label
Create operation: No resource name is expected for the new label.
|
update
|
Label
Update operation: The label is expected to have a valid resource name.
|
remove
|
string
Remove operation: A resource name for the label being removed, in this format: customers/{customer_id}/labels/{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-11-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-25 UTC."],[[["The LabelOperation resource represents a single action performed on a Google Ads label, such as creating, updating, or removing."],["Operations utilize specific fields: `update_mask` for updates, and a union field `operation` indicating the action type with corresponding data."],["`operation` can be one of: `create` for new labels without resource names, `update` for existing labels with valid resource names, or `remove` specifying the label's resource name for deletion."]]],[]]