Skip to main content

Attach Ad Label

POST 

/api/advertising/labels/:label/attach

Attaches a label to campaigns, ad groups, targets or products. Already-labelled entities are left as they are; attached counts the new links.

Required scope: advertising:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body fields

  • entity_type (required): campaign, ad_group, target or product.
  • entity_ids (required): 1-5,000 integer IDs (duplicates are ignored).

Requires the advertising.manage permission.

Also requires the advertising-manager feature (Advertising Manager plan); without it the endpoint returns 404.

Request​

Responses​

OK

Response Headers
    Content-Type