OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Remove a Google Ads label

DELETEhttps://zernio.com/api/v1/ads/labels/{labelId}

Deletes a Google Ads label and removes it from everything it was attached to.

Google drops it from every campaign, ad group, ad and keyword it was attached to.

PlatformsGoogle

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

labelIdstringRequired

Google label id

Query parameters

accountIdstringRequired

Zernio SocialAccount id (Google Ads)

adAccountIdstring

Google customer id. Required when the connection has multiple customers.

customerIdDeprecatedstring

Alias of adAccountId

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/ads/labels/{labelId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.removeAdLabel({  path: {    labelId: 'label_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "customerId": "string",  "labelId": "string",  "removed": true}
OpenAPI specification
Was this page helpful?