Skip to content
AdCrunch
Esc
navigateopen⌘Jpreview

List a Brand's advertisers

Lists the ad accounts attached to a Brand.

GET/context/brands/{slug}/advertisers/
Authorization
AuthorizationBearer token · headerrequired

Send Authorization: Bearer <credential>. Two credentials work.

An API key (acr_…) is what a server integration uses. Create one in the AdCrunch console under Settings → API keys — see https://docs.adcrunch.dev/account/api-keys. A key is bound to the organization that was active when you created it, and it keeps acting on that organization whatever you do later. It carries the permissions of the member who created it.

A session issued by the AdCrunch sign-in flow also works, which is how the console calls this service from the browser.

Either way the organization comes from the credential. There is no organization parameter.

Path parameters
slugstringrequired
Responses
200

The ad accounts attached to this Brand, oldest first. The row shape here was not observed live — the verification organization has no connected advertiser — so it is written from the query projection.

Array of object
advertiserIdstringrequired

The ad account. A soft pointer into the integration database — there is no foreign key across databases.

createdAtnumberrequired

Milliseconds since the Unix epoch, UTC.

providerstringrequired
targetIdstringrequired
targetTypestringrequired
401

No credential, or one that does not resolve. Send an API key or a session. See the security scheme. error is unauthorized.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:unauthorized
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

403

The caller does not hold brand:read. error is forbidden.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:forbidden
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

404

No Brand with that slug. error is not_found.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

Request
curl -X GET "https://api.adcrunch.dev/context/brands/string/advertisers/" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
[
  {
    "advertiserId": "string",
    "createdAt": 0,
    "provider": "string",
    "targetId": "string",
    "targetType": "string"
  }
]