Skip to content

List tracking tags (Meta Pixels)

Returns the tracking tags (Meta Pixels) the connected ads account can see. Pass ?adAccountId=act_... to scope the list to a single ad account; omit it to list every pixel reachable by the token (the name is then suffixed with the ad account it was discovered on, for disambiguation). The list view omits code — call getTrackingTag for the install snippet and full detail.

Meta only today (platform metaads); other platforms return 405. The accountId must be the Meta ads SocialAccount created by the Ads add-on connect flow, not a Facebook/Instagram posting account. Get your act_... ids from GET /v1/ads/accounts.

GET /v1/accounts/{accountId}/tracking-tags

Returns the tracking tags (Meta Pixels) the connected ads account can see. Pass ?adAccountId=act_... to scope the list to a single ad account; omit it to list every pixel reachable by the token (the name is then suffixed with the ad account it was discovered on, for disambiguation). The list view omits code — call getTrackingTag for the install snippet and full detail.

Meta only today (platform metaads); other platforms return 405. The accountId must be the Meta ads SocialAccount created by the Ads add-on connect flow, not a Facebook/Instagram posting account. Get your act_... ids from GET /v1/ads/accounts.

Parameters

  • accountId (path, string) required — Meta ads SocialAccount id (platform metaads).

  • adAccountId (query, string) — Optional. Scope to one ad account, e.g. act_123456789.

Responses

200 — Tracking tags listed

  • platform (string) (enum: metaads)
  • tags (array)

400 — Account platform not supported, or invalid adAccountId.

401

403 — Ads access required (Ads add-on on legacy plans, included on usage-based plans), or the Meta token lacks ads permissions (reconnect required).

404 — Account not found or not accessible.

405 — Platform does not support listing tracking tags.