GET /api/v2/storefront/esa/{esaId}/recent-buyers
Lists the buyers a GAM-backed embedded sales agent has recently seen and shows whether each resolved through the default advertiser or a specific mapping. Use it to find buyers booking against the catch-all that should have their own advertiser mapping.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
esaId | integer | Yes | Path. Embedded sales-agent connection id |
days | integer | No | Query. Lookback window in days, max 365 |
limit | integer | No | Query. Max buyers to return, max 1000 |
Response
resolvedVia tells you how the buyer routed: mapping if a per-buyer override matched, default if it fell through to the catch-all advertiser. resolvedGamAdvertiserId is the advertiser the buyer actually booked against. requestCount is the total number of requests seen from this buyer in the lookback window. brandHouse and brandId may be null.
Errors
400 VALIDATION_ERROR—esaIdis not a positive integer, or the ESA is not Google Ad Manager-backed.
Related
Buyer routing tasks
All buyer-routing operations
Create buyer mapping
Map a buyer off the default
List buyer mappings
See existing overrides
Set default advertiser
The fallback for unmatched buyers