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.
A single operation (create, remove) on a campaign-label relationship.
JSON representation
{// Union field operation can be only one of the following:"create": {object (CampaignLabel)},"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:
[[["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-05-29 UTC."],[[["This documentation details the JSON format for managing campaign-label relationships in Google Ads."],["It describes a single operation which can either create a new relationship or remove an existing one."],["For creation, provide the `CampaignLabel` object; for removal, provide the resource name of the campaign-label relationship."]]],["The content describes a single operation on a campaign-label relationship, which can be either creating or removing. Creating a relationship requires a `CampaignLabel` object, and does not need a resource name. Removing a relationship requires a string that contains the resource name, formatted as `customers/{customerId}/campaignLabels/{campaignId}~{label_id}`, which identifies the campaign-label relationship to delete. Only one operation can be done at a time.\n"]]