Zernio
Zernio
API Reference

Accounts & Ops

Accounts

List ad accountsGETCreate Meta ad accountPOSTUpdate ad account settingsPATCHAd account financesGET

Activity

Ad account change / audit logGETList comments on an adGETReply to an ad commentPOSTHide or unhide an ad commentPOSTDelete an ad commentDELETE

Business Assets

Businesses listGETList TikTok Business CentersGETList ad labelsGETA/B tests and lift studiesGETList Instagram ad identitiesGETList advertisable appsGETGet iOS 14 campaign limitsGETList TikTok ad pixelsGET

Extension Assets

List account calloutsGETAdd account calloutsPOSTUpdate account calloutsPUTRemove account calloutDELETEList account sitelinksGETAdd account sitelinksPOSTUpdate account sitelinksPUTRemove account sitelinkDELETEList account snippetsGETAdd account snippetsPOSTUpdate account snippetsPUTRemove account snippetDELETE

Negative Keyword Lists

List negative keyword listsGETCreate a negative keyword listPOSTGet a negative keyword listGETRename a negative keyword listPUTDelete a negative keyword listDELETEReplace negative list keywordsPUT

Custom Conversions

List custom conversionsGETCreate custom conversionPOST

Value Rules

List value rule setsGETCreate a value rule setPOSTRead a value rule setGETReplace a value rule setPUTDelete a value rule setDELETE

Budget Scheduling

List high-demand periodsGETSchedule a budget increasePOST

DSA Compliance

Get ad account DSA defaultsGETGet DSA recommendationsGET

Other

Attach a Google Ads labelPOSTCreate a Google Ads labelPOSTDetach a Google Ads labelDELETEGet manager account hierarchyGETInvite a client account to a managerPOSTList Instagram posts to boostGETRemove a Google Ads labelDELETEAccept, decline, cancel or end a manager linkPATCHUpdate a Google Ads labelPATCH
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Accounts & Ops

Accept, decline, cancel or end a manager link

Changes one manager-client link, identified by managerCustomerId, clientCustomerId and managerLinkId (all from GET /v1/ads/accounts/hierarchy). accept and decline answer a pending invitation as the client (CustomerManagerLinkService), so the connection's Google user needs direct access to the client account; access through a manager is not enough, because the link does not exist yet. cancel withdraws a pending invitation and unlink ends an active link, both as the manager (CustomerClientLinkService). Send validateOnly: true to have Google check the change without applying it.


PlatformsGoogle
PATCH
/v1/ads/accounts/manager-links

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.updateAdAccountManagerLink({  body: {    accountId: 'account_abc123',    managerCustomerId: 'managercustomer_abc123',    clientCustomerId: 'clientcustomer_abc123',    managerLinkId: 'managerlink_abc123',    action: 'accept',  },});console.log(data);
{  "managerCustomerId": "string",  "clientCustomerId": "string",  "managerLinkId": "string",  "status": "PENDING",  "validateOnly": true}
Was this page helpful?

Remove a Google Ads label

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

Update a Google Ads label

Changes the name, color or description of a label. Only the fields sent are written.

accountId*string

Google ads SocialAccount id.

managerCustomerId*string

Manager customer id, digits only.

clientCustomerId*string

Client customer id, digits only.

managerLinkId*string

Numeric link id from GET /v1/ads/accounts/hierarchy.

action*string

Value in

  • "accept"
  • "decline"
  • "cancel"
  • "unlink"
validateOnly?boolean
Defaultfalse