Skip to main content

Detach Ad Label

POST 

/api/advertising/labels/:label/detach

Removes a label from campaigns, ad groups, targets or products; removed counts the links deleted.

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