SCALIX help

← All tools

gads_list_labels

Google Ads read low risk

Part of the Account Structure Agent.

What it does

List labels via GAQL on label: id, name, status, text_label.background_color, text_label.description. Read-only; excludes REMOVED. Default LIMIT 300 (cap ~5000). Use to find label IDs before applying/removing. Returns {labels:[...], count}.

When to use it

When the user asks what labels exist in the account or wants to organize by label.

Inputs

NameTypeRequiredDescription
customer_idstringyes10-digit CID; strip dashes.
limitintegernoMax rows (default 300, cap ~5000).
manager_idstringnoOptional MCC login-customer-id.

Safeguards

Policy

Report label metadata as-is; no sensitive data should be present in labels.

Reminder

Label metadata only; nothing sensitive should appear here.

Errors

Error classMeansWhat to doRetry
TOKEN_REVOKEDOAuth token expired/revoked.Refresh and retry once; else prompt reconnect (needs_reauth).yes
CUSTOMER_NOT_FOUNDCustomer ID not found/accessible.Verify the CID is authorized.no
PERMISSION_DENIEDNo access or out-of-bearer-scope read.Confirm read access; else refuse.no
MANAGER_ACCOUNT_NOT_QUERYABLEQueried an MCC; labels are per-account.Query the specific client account CID (note: manager labels exist separately).no
RESOURCE_EXHAUSTEDRate/quota exceeded (HTTP 429).Backoff 5/10/20s cap 60s, then retry.yes
INTERNAL_ERRORTransient Google server error (5xx).Retry after backoff.yes

Edge cases

  • No labels -> success with count:0.
  • Results truncated at LIMIT -> raise limit.
  • Manager-account labels are separate from client-account labels.
  • Expired token -> refresh once and retry.