For Agents
Read AdSense accounts, ad clients, ad units, channels, payments, and alerts and generate earnings reports so an agent can monitor web ad revenue without using the AdSense UI.
Get started with AdSense Management API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"generate an adsense earnings report for the last 7 days"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with AdSense Management API API.
List AdSense accounts the calling Google account has access to and read account state
Enumerate ad clients (AdSense for Content, AdSense for Search) and ad units under each account
List custom and URL channels used to slice reporting by site section or content topic
Generate earnings and performance reports across configurable dimensions and metrics, with CSV export
GET STARTED
Use for: List AdSense ad clients on my account, Generate an AdSense earnings report for the last 30 days by site, Get yesterday's AdSense estimated earnings for a specific ad unit, List all AdSense alerts on my account
Not supported: Does not handle ad creative review, ad unit code generation, or content-policy enforcement — use for reading AdSense account, inventory, payment, and report data only.
The AdSense Management API lets web publishers programmatically read their AdSense inventory and earnings. It exposes operations to enumerate accounts, ad clients, ad units, custom channels, URL channels, sites, payments, alerts, and saved reports, and to generate ad-hoc earnings and performance reports against custom date ranges, dimensions, and metrics. Publishers and analytics teams use it to feed AdSense data into BI dashboards, monitor channel performance, and produce reconciliation reports without scraping the AdSense UI.
Read payments history and current unpaid balance for an AdSense account
List sites associated with an account and their auto-ads readiness
Surface AdSense alerts (policy issues, payment holds) so they can be routed to ops channels
Patterns agents use AdSense Management API API for, with concrete tasks.
★ Publisher Earnings Dashboard
A web publisher pipes AdSense earnings into a BI dashboard alongside affiliate and subscription revenue. The reports:generate endpoint accepts a date range, dimensions (such as DOMAIN and DATE) and metrics (estimated earnings, page views, RPM), returning rows that the pipeline writes to a warehouse. The reports:generateCsv variant streams large date ranges directly as CSV.
Generate a report for accounts/pub-1234 covering the last 30 days, grouped by DOMAIN and DATE, with ESTIMATED_EARNINGS and PAGE_VIEWS metrics, and write each row to BigQuery.
Channel Performance Analysis
An ad-ops team reviews custom channel performance to decide which content topics deserve more inventory. The customchannels.list endpoint enumerates channels per ad client, and the reports:generate call with dimension=CUSTOM_CHANNEL_NAME returns per-channel earnings and click-through rate.
List custom channels under accounts/pub-1234/adclients/ca-pub-X, then generate a report grouped by CUSTOM_CHANNEL_NAME for last week and reply with the top 5 channels by RPM.
Payment Reconciliation
A finance team reconciles AdSense payments against earnings statements every month. Payments.list and accounts.get return the current unpaid balance and historical payments, which the team compares to the same period's earnings report to spot delayed or split payments.
List payments under accounts/pub-1234 for the last 12 months, sum the amounts, compare to total ESTIMATED_EARNINGS in the same period, and emit any delta over 1%.
AI Agent Revenue Q&A
An AI agent embedded in a publisher growth tool answers free-form questions like 'how much did Site A earn yesterday?' through Jentic. The agent picks the right reports:generate dimensions and metrics, executes the call, and replies with a one-paragraph answer.
Given the question 'how much did exampleblog.com earn yesterday', call reports:generate filtered to DOMAIN=exampleblog.com with metric ESTIMATED_EARNINGS for yesterday, and reply with the value in USD.
25 endpoints — the adsense management api lets web publishers programmatically read their adsense inventory and earnings.
METHOD
PATH
DESCRIPTION
/v2/accounts
List AdSense accounts the caller can access
/v2/{+name}
Get a single AdSense resource (account, ad client, ad unit, channel, site)
/v2/{+account}/reports:generate
Generate an AdSense earnings or performance report as JSON
/v2/{+account}/reports:generateCsv
Generate an AdSense report as CSV
/v2/{+name}/adBlockingRecoveryTag
Get the ad-blocking-recovery tag for an account
/v2/accounts
List AdSense accounts the caller can access
/v2/{+name}
Get a single AdSense resource (account, ad client, ad unit, channel, site)
/v2/{+account}/reports:generate
Generate an AdSense earnings or performance report as JSON
/v2/{+account}/reports:generateCsv
Generate an AdSense report as CSV
/v2/{+name}/adBlockingRecoveryTag
Get the ad-blocking-recovery tag for an account
Three things that make agents converge on Jentic-routed access.
Credential isolation
Google OAuth 2.0 credentials are stored encrypted in the Jentic vault (MAXsystem) and exchanged for short-lived access tokens at request time. The agent never sees the refresh token directly.
Intent-based discovery
Agents search by intent (e.g., 'generate adsense earnings report') and Jentic returns the matching reports:generate operation with its input schema, so dimension and metric fields are pre-typed.
Time to first call
Direct integration: 1-2 days for OAuth setup, scope review, and report pagination plumbing. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
AdMob API
Reporting and inventory API for mobile app publishers
Choose AdMob for mobile app inventory and AdSense for web inventory — they share concepts but cover different publisher surfaces.
Google Search Console API
Read search traffic and indexing data for the same domains
Pair Search Console with AdSense to correlate organic traffic with ad earnings on the same site.
Google Analytics Data API
Read GA4 user and session data for the same web properties
Use Analytics Data alongside AdSense to compare user behaviour with ad performance on the same domain.
Specific to using AdSense Management API API through Jentic.
What authentication does the AdSense Management API use?
It uses Google OAuth 2.0 with the https://www.googleapis.com/auth/adsense.readonly or adsense scope. The calling Google account must own or have delegated access to the target AdSense publisher account. Jentic stores the OAuth credential in its encrypted vault and exchanges it for short-lived access tokens at request time.
Can I get yesterday's AdSense earnings through the API?
Yes. POST /v2/{account=accounts/*}/reports:generate with dateRange.startDate and endDate set to yesterday, dimensions=[DATE], and metrics=[ESTIMATED_EARNINGS] returns the previous day's earnings as soon as Google has finalised the day's data, typically within a few hours after midnight Pacific Time.
What are the rate limits for the AdSense Management API?
The default quota is 10,000 queries per day per project, with bursts limited to a few queries per second. Report generation calls return paginated responses — clients must follow nextPageToken to retrieve full result sets, and CSV streaming requests should set Accept: text/csv to skip JSON parsing.
How do I list ad clients on an account through Jentic?
Run jentic search 'list adsense ad clients', load the accounts.adclients.list operation, and execute it with parent set to accounts/{publisherId}. The agent receives a typed list of ad clients with name, productCode (AFC, AFS), and reportingDimensionId.
Is the AdSense Management API free?
Yes. The API has no per-call fee and is available to anyone with an AdSense publisher account. Earnings reported by the API reflect the standard AdSense revenue share.