Product

How Jentic Works

From API assessment to production deployment in four simple steps.

Product Overview

PLATFORM

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationAPI ScorecardAssess your APIs for AI-readiness with automated scoringAgentic SandboxSafely simulate AI agents with your production APIsJenticSign in to the Jentic web app

CAPABILITIES

IntegrationConnect AI agents to your existing systemsWorkflowsDiscover and capture successful agent workflowsGovernanceDefine, observe, and enforce AI policies

TOOLS

Arazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually
Pricing
Developers

GET STARTED

DocumentationGuides and API referenceQuickstartGet up and running in minutes

COMMUNITY

GitHubOpen source projects and examples
Resources
BlogLatest articles and insightsPress & MediaBrand assets and press contactOpen StandardsBuilt on open specs. Never locked in.NewsletterAPIs, AI agents, mixed with architecture and strategy.
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Install Jentic OneBook a Demo
How Jentic WorksAPI DirectoryAPI ScorecardAgentic SandboxJenticIntegrationWorkflowsGovernanceArazzo UIArazzo Editor
Pricing
DocumentationQuickstartGitHub
BlogPress & MediaOpen StandardsNewsletter
About UsCareersContact
Request a demoInstall Jentic One
Jentic
For Enterprises
  • Product Overview
  • Agentic Sandbox
  • Book a Demo
For Developers
  • Jentic One
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
ISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
APIs / Marketing / Google / AdSense Management API
AdSense Management API logo

Google AdSense Management API

Browse all Google APIs
✓ Official Vendor SpecMarketingAdvertisingoauth225 EndpointsREST

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.

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.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the AdSense Management API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the AdSense Management API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with AdSense Management 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

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

Use Cases

Patterns agents use AdSense Management 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.

Key Endpoints

25 endpoints — the adsense management api lets web publishers programmatically read their adsense inventory and earnings.

METHOD

PATH

DESCRIPTION

GET

/v2/accounts

List AdSense accounts the caller can access

GET

/v2/{+name}

Get a single AdSense resource (account, ad client, ad unit, channel, site)

POST

/v2/{+account}/reports:generate

Generate an AdSense earnings or performance report as JSON

POST

/v2/{+account}/reports:generateCsv

Generate an AdSense report as CSV

GET

/v2/{+name}/adBlockingRecoveryTag

Get the ad-blocking-recovery tag for an account

GET

/v2/accounts

List AdSense accounts the caller can access

GET

/v2/{+name}

Get a single AdSense resource (account, ad client, ad unit, channel, site)

POST

/v2/{+account}/reports:generate

Generate an AdSense earnings or performance report as JSON

POST

/v2/{+account}/reports:generateCsv

Generate an AdSense report as CSV

GET

/v2/{+name}/adBlockingRecoveryTag

Get the ad-blocking-recovery tag for an account

Why Jentic?

Three things that make agents converge on Jentic-routed access.

Credential management

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

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

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.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

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.

Complementary

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.

Complementary

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.

FAQs

Specific to using AdSense Management 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.

GET STARTED

Start building with AdSense Management API

Explore with Jentic
View OpenAPI Document