ads
Google Ad Manager tagless-ad fetch proxy.
| Field | Value |
|---|
| Serverless service | drive-api-ads |
| Runtime | nodejs22.x, arm64 |
| Region | ap-southeast-2 |
| Deployed HTTP operations | 1 |
| Local worker harnesses | 0 |
| OpenAPI | /openapi/ads.yaml · interactive |
Deployed routes
| Method | Path | Auth | Summary |
|---|
| POST | /ads/tagless | Public | Fetch + enrich a GAM tagless ad creative |
Behaviour notes
POST /ads/tagless accepts {adUrl} and also supports direct Lambda invocation without event.body.
- The handler forwards selected request headers to GAM, parses the GAM JSON body, and merges line item, creative, and impression tracking headers into the response.
- Timeouts return
404 with x-response-hint: timeout; other fetch failures return 500 with x-response-hint: error.
- Success responses disable caching with
private,no-cache,no-store,max-age=0.
Source map
- services/ads/serverless.yml
- services/ads/functions/taglessAds.ts
- services/ads/types/