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.

REST Resource: customers.campaignLabels

Resource: CampaignLabel

Represents a relationship between a campaign and a label.

JSON representation
{
  "resourceName": string,
  "campaign": string,
  "label": string
}
Fields
resourceName

string

Immutable. Name of the resource. Campaign label resource names have the form: customers/{customerId}/campaignLabels/{campaignId}~{label_id}

campaign

string

Immutable. The campaign to which the label is attached.

label

string

Immutable. The label assigned to the campaign.

Methods

get

Returns the requested campaign-label relationship in full detail.

mutate

Creates and removes campaign-label relationships.