get_custom_gam_report_by_domain
Fetch a custom Google Ad Manager report for a specific domain using your chosen dimensions and metrics.
Instructions
Custom GAM report for a domain with caller-chosen dimensions and metrics.
Availability of dimension/metric combinations matches GAM itself; combos that GAM cannot report will also fail here. Revenue fields are in micros.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Filter results by this key | |
| domain | Yes | Site domain, e.g. 'example.com' | |
| metrics | No | Comma-separated GAM metrics, e.g. 'AD_EXCHANGE_LINE_ITEM_LEVEL_REVENUE,AD_EXCHANGE_LINE_ITEM_LEVEL_IMPRESSIONS'. Same names as the GAM API: https://developers.google.com/ad-manager/api/reference/v202308/ReportService.Column | |
| end_date | No | Report end date, 'YYYY-MM-DD' (optional) | |
| order_id | No | Filter results by order id | |
| site_name | No | Filter results by site name | |
| dimensions | No | Comma-separated GAM dimensions, e.g. 'DATE,SITE_NAME'. Same names as the GAM API: https://developers.google.com/ad-manager/api/reference/v202308/ReportService.Dimension | |
| start_date | Yes | Report start date, 'YYYY-MM-DD' | |
| network_code | No | GAM network code for the domain. Optional — if omitted, the server falls back to the ACTIVEVIEW_NETWORK_CODE environment variable. |