Ad TaggingList the token's ad accounts

List the token's ad accounts

The ad accounts the stored token can see. Also the way to test a token: an invalid one answers 409 credential_invalid, one without access answers 409 insufficient_permission, each with the fix in message.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/ad-tagging/meta/ad-accounts?location_id=example_string&credential_name=John%20Doe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": [
    {
      "id": "act_1234567890",
      "account_id": "1234567890",
      "name": "John Doe",
      "account_status": 10,
      "currency": "example_string"
    }
  ],
  "truncated": true
}
GET
/client/v1/ad-tagging/meta/ad-accounts
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) or location secret key (sk_, reads of the config and runs only). Scoped keys (mcp_) are accepted too and need ad_tagging:read or ad_tagging:write. See Using an mcp_ key over HTTP.

Agency key (ak_) or location secret key (sk_, reads of the config and runs only). Scoped keys (mcp_) are accepted too and need ad_tagging:read or ad_tagging:write. See Using an mcp_ key over HTTP.
query
location_idstring

Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.

query
credential_namestring

Named meta_ads credential. Default is the config's, else default.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) or location secret key (sk_, reads of the config and runs only). Scoped keys (mcp_) are accepted too and need ad_tagging:read or ad_tagging:write. See Using an mcp_ key over HTTP.

Query Parameters

location_idstring

Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.

credential_namestring

Named meta_ads credential. Default is the config's, else default.

Responses

successboolean
dataarray
truncatedboolean