Update a Google Ads label
Changes the name, color or description of a label. Only the fields sent are written.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Google label id
^\d+$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
2 <= propertiesResponse Body
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.updateAdLabel({ path: { labelId: 'label_abc123', }, body: { accountId: 'account_abc123', },});console.log(data);{ "customerId": "string", "label": { "id": "string", "resourceName": "string", "name": "string", "status": "ENABLED", "backgroundColor": "string", "description": "string" }}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.
List accounts it is shared with
Meta only (platform `metaads`); other platforms return 405.