Brands
Attach an advertiser
Attaches an advertiser to a Brand. An agent that works on that advertiser can then find this brand context. Send the same call again for the same result: the pair is the key, so a second attach writes nothing and still answers 201. AdCrunch reads the provider from the advertiser. It does not take the provider from you. A Brand takes several advertisers, and an advertiser takes several Brands.
post/context/brands/{slug}/advertisers
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/context/brands/{slug}/advertisers
- Auth: HTTP bearer
Path parameters
slugstring required
Request body
Example request
{
"advertiser_id": "acc_1203456789012345"
}Response
Attached. Idempotent: attaching an account that is already attached answers the same way. provider is what AdCrunch resolved from the advertiser, never what you sent.
Example response
{
"advertiserId": "acc_1203456789012345",
"provider": "meta"
}Changes
No recorded changes to this operation across all 1 revision of this API.