Google AdSense integrationGoogle AdSense logo

Google AdSense integration for AI agents.

Google AdSense integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Google AdSense tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.

What your agents can do

Real Google AdSense actions, managed and audited.

Your user connects Google AdSense once; your agent can then manage AdSense accounts, clients, ad units, custom channels, reports, payments, and alerts — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 1

    Your user grants Google AdSense access once (OAuth) — the token lands in the vault.

  2. 2

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 3

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Google AdSense tools.

25 tools are generated from the published Google AdSense catalog. Descriptions are plain text; each action remains subject to its configured authentication and tool allowlist.

Showing 25 tools. All published catalog entries are included in this page's server-rendered HTML.

Adsense Accounts Adclients Adunits Create
Creates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. Note that ad units can only be created for ad clients with an "AFC" product code. For more info see the [AdClient resource](/adsense/management/reference/rest/v2/accounts.adclients). For now, this method can only be used to create `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566
accounts
Adsense Accounts Adclients Adunits GetAdcode
Gets the ad unit code for a given ad unit. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634) and [Where to place the ad code in your HTML](https://support.google.com/adsense/answer/9190028).
accounts
Adsense Accounts Adclients Adunits List
Lists all ad units under a specified account and ad client.
accounts
Adsense Accounts Adclients Adunits ListLinkedCustomChannels
Lists all the custom channels available for an ad unit.
accounts
Adsense Accounts Adclients Customchannels Create
Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.
accounts
Adsense Accounts Adclients Customchannels Delete
Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.
accounts
Adsense Accounts Adclients Customchannels Get
Gets information about the selected custom channel.
accounts
Adsense Accounts Adclients Customchannels List
Lists all the custom channels available in an ad client.
accounts
Adsense Accounts Adclients Customchannels ListLinkedAdUnits
Lists all the ad units available for a custom channel.
accounts
Adsense Accounts Adclients Customchannels Patch
Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.
accounts
Adsense Accounts Adclients List
Lists all the ad clients available in an account.
accounts
Adsense Accounts Adclients Urlchannels List
Lists active url channels.
accounts
Adsense Accounts Alerts List
Lists all the alerts available in an account.
accounts
Adsense Accounts GetAdBlockingRecoveryTag
Gets the ad blocking recovery tag of an account.
accounts
Adsense Accounts List
Lists all accounts available to this user.
accounts
Adsense Accounts ListChildAccounts
Lists all accounts directly managed by the given AdSense account.
accounts
Adsense Accounts Payments List
Lists all the payments available for an account.
accounts
Adsense Accounts PolicyIssues List
Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.
accounts
Adsense Accounts Reports Generate
Generates an ad hoc report.
accounts
Adsense Accounts Reports GenerateCsv
Generates a csv formatted ad hoc report.
accounts
Adsense Accounts Reports GetSaved
Gets the saved report from the given resource name.
accounts
Adsense Accounts Reports Saved Generate
Generates a saved report.
accounts
Adsense Accounts Reports Saved GenerateCsv
Generates a csv formatted saved report.
accounts
Adsense Accounts Reports Saved List
Lists saved reports.
accounts
Adsense Accounts Sites List
Lists all the sites available in an account.
accounts
FAQ

Google AdSense integration, answered

How do AI agents use Google AdSense through Open Connector?
Your user connects Google AdSense once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Google AdSense tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Google AdSense MCP server?
Yes. Open Connector can serve Google AdSense as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Google AdSense actions with credentials injected server-side.
Where do Google AdSense credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Google AdSense — keep the keys.

Open source, self-hostable, with Google AdSense credentials that never leave your infrastructure. Run it from source today.