Google AdSense Management Adsense Adsense Accounts API

The Adsense Adsense Accounts API from Google AdSense Management — 28 operation(s) for adsense adsense accounts.

GitHub OpenAPI

Operations 33

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/accounts List AdSense accounts · List accounts #
Ask an LLM
“Which AdSense accounts can I access?”
“Can I see all my AdSense accounts in one list?”
Tell an agent
List all my AdSense accounts.
Show every AdSense account available to me.
GET /v2/accounts/{accountsId} Get an AdSense account · Get accounts #
Ask an LLM
“What information is stored for my AdSense account?”
“Can I look up one AdSense account by its ID?”
Tell an agent
Get AdSense account {account}.
Show the details of AdSense account {account}.
GET /v2/accounts/{accountsId}/adBlockingRecoveryTag Get an account's ad blocking recovery tag · Get ad blocking recovery tag accounts #
Ask an LLM
“How do I get the ad blocking recovery tag for an account?”
“Where is the ad blocking recovery tag stored?”
Tell an agent
Get the ad blocking recovery tag for account {account}.
Show the ad blocking recovery tag of AdSense account {account}.
GET /v2/accounts/{accountsId}:listChildAccounts List child accounts of an account · List child accounts accounts #
Ask an LLM
“Which accounts are managed by a given AdSense account?”
“Can I list the child accounts under an account?”
Tell an agent
List the child accounts of account {account}.
Show every account managed by {account}.
GET /v2/accounts/{accountsId}/sites List sites in an account · List sites #
Ask an LLM
“Which websites are linked to my AdSense account?”
“Can I see all sites in an account?”
Tell an agent
List the sites in account {account}.
Show every website linked to AdSense account {account}.
GET /v2/accounts/{accountsId}/sites/{sitesId} Get a site in an account · Get sites #
Ask an LLM
“What details are stored for one site in an account?”
“Can I look up a single site by its ID?”
Tell an agent
Get site {site} in account {account}.
Show the details of site {site} under {account}.
GET /v2/accounts/{accountsId}/reports:generateCsv Generate a CSV ad hoc report · Generate csv reports #
Ask an LLM
“Can I export an ad hoc AdSense report as CSV?”
“How do I get a CSV of ad performance for a date range?”
Tell an agent
Generate a CSV report for account {account} for {metrics}.
Export an ad hoc report for {account} as CSV.
GET /v2/accounts/{accountsId}/reports:generate Generate an account report · Generate reports #
Ask an LLM
“How do I pull earnings and page report data for an AdSense account?”
“Can I generate a custom report for a specific date range and currency?”
Tell an agent
Generate a {metrics} report for account {accountsId}.
Report account {accountsId} metrics {metrics} for {dateRange} in {currencyCode}.
GET /v2/accounts/{accountsId}/reports/{reportsId}/saved Get a saved report · Get saved reports #
Ask an LLM
“How do I fetch a saved AdSense report by its ID?”
“Can I retrieve a saved report by its resource name?”
Tell an agent
Get saved report {report} in account {account}.
Show the saved report {report} under {account}.
GET /v2/accounts/{accountsId}/reports/{reportsId}/saved:generate Generate a saved saved report · Generate saved #
Ask an LLM
“How do I run a saved report I already set up?”
“Can I generate a saved report for a custom date range?”
Tell an agent
Generate saved report {reportsId} for account {accountsId}.
Run saved report {reportsId} on account {accountsId} for {dateRange}.
GET /v2/accounts/{accountsId}/reports/saved List saved reports · List saved #
Ask an LLM
“Which saved AdSense reports do I have?”
“Can I list all my saved reports?”
Tell an agent
List my saved reports.
Show every saved report in account {account}.
GET /v2/accounts/{accountsId}/reports/{reportsId}/saved:generateCsv Generate a CSV of a saved report · Generate csv saved #
Ask an LLM
“Can I export a saved AdSense report as CSV?”
“How do I get a CSV of a saved report for a date range?”
Tell an agent
Generate a CSV of saved report {report} in account {account}.
Export saved report {report} on {account} as CSV.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/adcode Get the ad code for an ad client · Get adcode adclients #
Ask an LLM
“How do I get the ad code for an ad client?”
“Where is the ad client's ad code stored?”
Tell an agent
Get the ad code for ad client {client} in account {account}.
Show the ad code of ad client {client} under {account}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId} Get an ad client · Get adclients #
Ask an LLM
“What information is stored for an ad client?”
“Can I look up one ad client by its ID?”
Tell an agent
Get ad client {client} in account {account}.
Show the details of ad client {client} under {account}.
GET /v2/accounts/{accountsId}/adclients List ad clients in an account · List adclients #
Ask an LLM
“Which ad clients are available in my account?”
“Can I see all ad clients in an account?”
Tell an agent
List the ad clients in account {account}.
Show every ad client available to {account}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels List URL channels for an ad client · List urlchannels #
Ask an LLM
“Which URL channels are active for an ad client?”
“Can I list the URL channels under an ad client?”
Tell an agent
List the URL channels of ad client {client} in account {account}.
Show every active URL channel under {client} in {account}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels/{urlchannelsId} Get a URL channel · Get urlchannels #
Ask an LLM
“What details are stored for one URL channel?”
“Can I look up a single URL channel by its ID?”
Tell an agent
Get URL channel {channel} of ad client {client} in account {account}.
Show the details of URL channel {channel} under {client} in {account}.
PATCH /v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId} Update an ad unit · Patch adunits #
Ask an LLM
“Can I rename an ad unit or change its state?”
“Is it possible to update an ad unit's settings?”
Tell an agent
Set ad unit {unit} of ad client {client} in account {account} to state {state}.
Rename ad unit {unit} under {client} in {account} to {name}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId} Get an ad unit · Get adunits #
Ask an LLM
“What information is stored for an ad unit?”
“Can I look up one ad unit by its ID?”
Tell an agent
Get ad unit {unit} of ad client {client} in account {account}.
Show the details of ad unit {unit} under {client} in {account}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}/adcode Get the ad code for an ad unit · Get adcode adunits #
Ask an LLM
“How do I get the ad code for an ad unit?”
“Where is the ad unit's ad code stored?”
Tell an agent
Get the ad code for ad unit {unit} of ad client {client} in account {account}.
Show the ad code of ad unit {unit} under {client} in {account}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}:listLinkedCustomChannels List custom channels linked to an ad unit · List linked custom channels adunits #
Ask an LLM
“Which custom channels is a particular ad unit linked to?”
“Can I see every custom channel an ad unit belongs to?”
Tell an agent
List custom channels linked to ad unit {adunit} under ad client {adclient} in account {account}.
Show the custom channels for ad unit {adunit} in account {account}, ad client {adclient}.
POST /v2/accounts/{accountsId}/adclients/{adclientsId}/adunits Create an ad unit · Create adunits #
Ask an LLM
“How do I create a new ad unit for an ad client?”
“Can I create an ad unit only for ad clients with an AFC product code?”
Tell an agent
Create ad unit {name} in ad client {adclient} of account {account} with state {state}.
Add a new ad unit {name} to account {account}, ad client {adclient}, state {state}, settings {settings}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/adunits List ad units in an ad client · List adunits #
Ask an LLM
“What ad units are set up under my ad client?”
“Can I page through all ad units in an AdSense for Platforms account?”
Tell an agent
List ad units for ad client {adclient} in account {account}.
Show {page_size} ad units per page for account {account}, ad client {adclient}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}:listLinkedAdUnits List ad units linked to a custom channel · List linked ad units customchannels #
Ask an LLM
“Which ad units are in a given custom channel?”
“Can I see every ad unit a custom channel includes?”
Tell an agent
List ad units linked to custom channel {channel} under ad client {adclient} in account {account}.
Show the ad units in custom channel {channel} for account {account}, ad client {adclient}.
POST /v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels Create a custom channel · Create customchannels #
Ask an LLM
“How do I create a custom channel for an ad client?”
“Can I make a custom channel active when I create it?”
Tell an agent
Create custom channel {name} in ad client {adclient} of account {account}.
Add custom channel {name} to account {account}, ad client {adclient}, active {active}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels List custom channels in an ad client · List customchannels #
Ask an LLM
“What custom channels exist in my ad client?”
“Can I page through all custom channels for an account?”
Tell an agent
List custom channels for ad client {adclient} in account {account}.
Show {page_size} custom channels per page for account {account}, ad client {adclient}.
GET /v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId} Get a custom channel · Get customchannels #
Ask an LLM
“What are the details of one custom channel?”
“Can I look up a custom channel by its ID?”
Tell an agent
Get custom channel {channel} in ad client {adclient} of account {account}.
Show the settings of custom channel {channel} for account {account}, ad client {adclient}.
PATCH /v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId} Update a custom channel · Patch customchannels #
Ask an LLM
“How do I rename a custom channel?”
“Can I deactivate a custom channel without deleting it?”
Tell an agent
Rename custom channel {channel} in ad client {adclient} of account {account} to {name}.
Set active to {active} on custom channel {channel} for account {account}, ad client {adclient}.
DELETE /v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId} Delete a custom channel · Delete customchannels #
Ask an LLM
“How do I delete a custom channel?”
“Can I remove a custom channel from an ad client?”
Tell an agent destructive · confirm first
Delete custom channel {channel} in ad client {adclient} of account {account}.
Remove custom channel {channel} from account {account}, ad client {adclient}.
GET /v2/accounts/{accountsId}/payments List payments · List payments #
Ask an LLM
“What payments have been made to my account?”
“Can I see all past payments for an AdSense account?”
Tell an agent
List payments for account {account}.
Show the payment history of account {account}.
GET /v2/accounts/{accountsId}/alerts List account alerts · List alerts #
Ask an LLM
“What alerts are showing up in my account?”
“Can I see account alerts in a specific language?”
Tell an agent
List alerts for account {account}.
Show account {account} alerts in language {language}.
GET /v2/accounts/{accountsId}/policyIssues/{policyIssuesId} Get a policy issue · Get policyIssues #
Ask an LLM
“What is the status of one policy issue?”
“Can I look up a single policy violation by its ID?”
Tell an agent
Get policy issue {issue} in account {account}.
Show the details of policy issue {issue} for account {account}.
GET /v2/accounts/{accountsId}/policyIssues List policy issues · List policyIssues #
Ask an LLM
“Which policy issues affect my account?”
“Can I see policy violations across all AFP child accounts too?”
Tell an agent
List policy issues for account {account}.
Show {page_size} policy issues per page for account {account}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-adsense:google-adsense-adsense-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-adsense-adsense-accounts-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AdSense Management API Accounts API
  version: v2
  description: Generated from Google's published Discovery document for AdSense Management API (adsense v2, revision 20261111).
    33 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://developers.google.com/adsense/management/
servers:


# --- truncated at 32 KB (106 KB total) ---
# Full source: https://artifacts.apis.io/google-adsense/openapi/google-adsense-adsense-accounts-api-openapi.yml