- Default advertiser — the catch-all every unmatched buyer routes to. Set it once with
PUT /esa/{esaId}/gam/default-advertiser. Until it is set, theDefault GAM advertisersetup blocker stays open. - Per-buyer mappings — override the default for a specific buyer, keyed on
operatorDomain(optionally narrowed bybrandHouse,brandId, orprincipalId). A matching mapping wins over the default. - Recent buyers — the buyers the ESA has actually seen, with whether each resolved through the default or a specific mapping, so you can spot buyers that need their own advertiser.
id you pass as the default or as a mapping target, or call ensure to create-or-find one by name.
All examples use the storefront base URL:
Authorization: Bearer $SCOPE3_API_KEY. The {esaId} path parameter is the embedded sales-agent connection id.
Task reference
List GAM advertisers
GET /esa/{esaId}/gam/advertisers — cached advertiser recordsEnsure GAM advertiser
POST /esa/{esaId}/gam/advertisers/ensure — create or find by nameSet default advertiser
PUT /esa/{esaId}/gam/default-advertiser — the catch-all advertiserList buyer mappings
GET /esa/{esaId}/buyer-advertiser-mappings — per-buyer overridesCreate buyer mapping
POST /esa/{esaId}/buyer-advertiser-mappings — route one buyerUpdate buyer mapping
PATCH /esa/{esaId}/buyer-advertiser-mappings/{mappingId} — edit a mappingDelete buyer mapping
DELETE /esa/{esaId}/buyer-advertiser-mappings/{mappingId} — remove a mappingList recent buyers
GET /esa/{esaId}/recent-buyers — buyers seen and how they resolved