
AdSense Host API
AdSense Host API
Work with AdSense Host accounts, ad clients, ad units, reports, and ad code generation from one API surface.
Covers the path from accounts down to ad units
This is a Host integration API, not the generic publisher UI surface
Use an OAuth token with the adsensehost scope. Walk the hierarchy from accounts to adclients to adunits first, then test reports and adcode generation.
Uptime · 30-day window
About this API
This API is the operational surface for AdSense Host workflows, covering accounts, ad clients, ad units, reports, and ad code generation. In the published OpenAPI surface, the most concrete handles are "/accounts", "/accounts/{accountId}", and "/accounts/{accountId}/adclients", backed by tags such as "accounts", "adclients", and "associationsessions".
That makes the API practical for list ad clients under a host account, generate ad code for a specific ad unit, and pull reports, custom channels, and url channel data. The spec lists scopes such as "https://www.googleapis.com/auth/adsensehost".
This is a Host integration API, not the generic publisher UI surface The exposed version is older, at v4.1
What you can build
- 1List ad clients under a host account
- 2Generate ad code for a specific ad unit
- 3Pull reports, custom channels, and URL channel data
Strengths & limitations
Strengths
- Covers the path from accounts down to ad units
- Includes a concrete adcode generation endpoint
- Uses a single adsensehost OAuth scope
Limitations
- This is a Host integration API, not the generic publisher UI surface
- The exposed version is older, at v4.1
Example request
curl https://google.com/<endpoint> \
-H "Authorization: Bearer $ACCESS_TOKEN"Getting started
Use an OAuth token with the adsensehost scope. Walk the hierarchy from accounts to adclients to adunits first, then test reports and adcode generation.
Technical details
- Auth type
- oauth
- Pricing
- unknown
- Protocols
- REST
- Response time
- 321 ms
- Last health check
- 5/12/2026, 7:37:30 AM
More from Google
Google Workspace Admin SDK API programmatically manages Workspace organizations — users, groups, devices, domains, audit logs, organizational units.
Retrieve AdMob accounts, apps, ad units, ad sources, and generate mediation or network reports.
Programmatically manage Apigee organizations, API proxy deployments, attributes, certificates, and hybrid operations.
Google BigQuery API is the REST interface to GCP's flagship data warehouse — execute SQL queries, manage datasets/tables, stream inserts, and use built-in ML.
Control Binary Authorization attestors and policy checks for container images deployed to GKE and Anthos.
Fetch Business Profile location metrics, daily time series, and monthly search keyword impressions.
Google Calendar API lets apps create, read, and update calendar events programmatically — the go-to integration for scheduling apps.
Chrome Management API manages enterprise Chrome browsers and Chrome OS devices — policy deployment, extension control, user activity reports.