Scope3 Storefront Ad Server Buyer Routing API
The Storefront Ad Server Buyer Routing API from Scope3 — 12 operation(s) for storefront ad server buyer routing.
Operations 14
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/esa/{esaId}/sandbox-account
Check ad server sandbox account readiness · Get ad server source sandbox-account readiness
#
Ask an LLM
“Is the sandbox advertiser account ready for no-spend tests on my ad server source?”
“Can I check sandbox readiness before running buyer-stack tests?”
Tell an agent
Check sandbox account readiness for ad server source {esaId}.
Show the sandbox account status on source {esaId}.
POST
/esa/{esaId}/sandbox-account/ensure
Create or repair the ad server sandbox account · Ensure ad server source sandbox account exists
#
Ask an LLM
“How do I make sure a sandbox advertiser account exists for no-spend testing?”
“Can a broken sandbox account mapping be repaired automatically?”
Tell an agent
Ensure the sandbox account exists on ad server source {esaId}.
Create or repair the no-spend sandbox account for source {esaId}.
GET
/esa/{esaId}/advertisers
List ad server advertisers for any adapter · List adapter advertisers
#
Ask an LLM
“Which advertisers exist in my connected ad server, whatever platform it is?”
“How can I tell if the advertiser roster read was complete?”
Tell an agent
List advertisers on ad server source {esaId}.
Read up to {limit} advertisers from the ad server behind {esaId}.
GET
/esa/{esaId}/gam/advertisers
List cached Google Ad Manager advertisers · List cached GAM advertisers
#
Ask an LLM
“Which Google Ad Manager advertisers are cached for my source?”
“Can I search cached GAM advertisers by name?”
Tell an agent
List cached GAM advertisers for source {esaId}.
Search cached GAM advertisers on {esaId} for {q}.
POST
/esa/{esaId}/gam/advertisers/ensure
Find or create a GAM advertiser by name · Ensure a GAM advertiser exists
#
Ask an LLM
“How do I create a Google Ad Manager advertiser to route buyers to?”
“Can I dry-run creating a GAM advertiser first?”
Tell an agent
Ensure a GAM advertiser named {name} exists on source {esaId}.
Find or create GAM advertiser {name} for {esaId}, dry run {dryRun}.
PUT
/esa/{esaId}/default-advertiser
Set the catch-all advertiser for any ad server · Set default advertiser
#
Ask an LLM
“Where do unmatched buyers get routed in my ad server?”
“Can I set a default advertiser without caring which ad server backs the agent?”
Tell an agent
Set the default advertiser on source {esaId} to {advertiserId}.
Route all unmatched buyers on {esaId} to advertiser {advertiserId}.
PUT
/esa/{esaId}/gam/default-advertiser
Set the default GAM advertiser · Set default GAM advertiser
#
Ask an LLM
“Can I set the Google Ad Manager-specific default advertiser for buyer routing?”
“Is there a GAM-only way to pick the fallback advertiser?”
Tell an agent
Set the default GAM advertiser for {esaId} to {gamAdvertiserId}.
Use GAM advertiser {gamAdvertiserId} as the fallback on GAM source {esaId}.
POST
/esa/{esaId}/gam-custom-targeting-keys/ensure
Create GAM custom-targeting keys · Ensure GAM custom-targeting keys exist
#
Ask an LLM
“How do I add custom-targeting keys in Google Ad Manager through my source?”
“Will existing GAM keys be duplicated if I ensure them again?”
Tell an agent
Ensure GAM custom-targeting keys {keys} exist on {esaId}.
Create missing custom-targeting keys {keys} in GAM for source {esaId}.
PUT
/esa/{esaId}/axe-keys
Configure AXE targeting key names · Configure AXE custom-targeting key names
#
Ask an LLM
“Which GAM keys carry Scope3 include, exclude and emissions macro targeting?”
“Does the AXE macro key have to be a specific value?”
Tell an agent
Configure AXE keys on {esaId}: include {axeIncludeKey}, exclude {axeExcludeKey}, macro {axeMacroKey}.
Set AXE include key {axeIncludeKey}, exclude key {axeExcludeKey} and macro key {axeMacroKey} for source {esaId}.
GET
/esa/{esaId}/buyer-advertiser-mappings
List buyer-to-advertiser routing mappings · List buyer advertiser mappings
#
Ask an LLM
“Which buyers are mapped to specific GAM advertisers?”
“Can I look up the routing mapping for one buyer's operator domain?”
Tell an agent
List buyer advertiser mappings on {esaId}.
Show the mapping for operator domain {operatorDomain} on {esaId}.
POST
/esa/{esaId}/buyer-advertiser-mappings
Map a buyer to a GAM advertiser · Create buyer advertiser mapping
#
Ask an LLM
“How do I route a specific buyer to its own GAM advertiser?”
“Can a buyer mapping be scoped to one brand?”
Tell an agent
Map buyer {operatorDomain} to GAM advertiser {gamAdvertiserId} on {esaId}.
Route {operatorDomain} brand {brandId} to GAM advertiser {gamAdvertiserId} on source {esaId}.
PATCH
/esa/{esaId}/buyer-advertiser-mappings/{mappingId}
Update a buyer routing mapping · Update buyer advertiser mapping
#
Ask an LLM
“Can I point an existing buyer mapping at a different GAM advertiser?”
“How do I change the brand on a buyer mapping?”
Tell an agent
Point mapping {mappingId} on {esaId} to GAM advertiser {gamAdvertiserId}.
Change the brand of mapping {mappingId} on {esaId} to {brandId}.
DELETE
/esa/{esaId}/buyer-advertiser-mappings/{mappingId}
Delete a buyer routing mapping · Delete buyer advertiser mapping
#
Ask an LLM
“Can I remove a buyer-specific advertiser mapping?”
“What happens to a buyer once its mapping is deleted?”
Tell an agent destructive · confirm first
Delete buyer mapping {mappingId} on {esaId}.
Remove routing mapping {mappingId} from source {esaId}.
Ask an LLM
“Which buyers have hit my ad server source recently?”
“Did recent buyers go to the default advertiser or a specific mapping?”
Tell an agent
List recent buyers on {esaId}.
Show buyers seen on {esaId} in the last {days} days.