Google AdSense
Manage AdSense accounts, clients, ad units, custom channels, reports, payments, and alerts.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "GOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_CREATE", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("GOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_CREATE", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute GOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_CREATE --data '{ }'Tool catalog
Available tools
25 callable operations
Adsense Accounts Adclients Adunits CreateGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_CREATECreates 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/9183566Connection1 scope
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
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsenseTags
Adsense Accounts Adclients Adunits GetAdcodeGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_GET_ADCODEGets 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).Connection2 scopes
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).
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Adunits ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_LISTLists all ad units under a specified account and ad client.Connection2 scopes
Lists all ad units under a specified account and ad client.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Adunits ListLinkedCustomChannelsGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_LIST_LINKED_CUSTOM_CHANNELSLists all the custom channels available for an ad unit.Connection2 scopes
Lists all the custom channels available for an ad unit.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Customchannels CreateGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_CREATECreates 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.Connection1 scope
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.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsenseTags
Adsense Accounts Adclients Customchannels DeleteGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_DELETEDeletes 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.Connection1 scope
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.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsenseTags
Adsense Accounts Adclients Customchannels GetGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_GETGets information about the selected custom channel.Connection2 scopes
Gets information about the selected custom channel.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Customchannels ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_LISTLists all the custom channels available in an ad client.Connection2 scopes
Lists all the custom channels available in an ad client.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Customchannels ListLinkedAdUnitsGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_LIST_LINKED_AD_UNITSLists all the ad units available for a custom channel.Connection2 scopes
Lists all the ad units available for a custom channel.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Customchannels PatchGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_PATCHUpdates 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.Connection1 scope
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.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsenseTags
Adsense Accounts Adclients ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_LISTLists all the ad clients available in an account.Connection2 scopes
Lists all the ad clients available in an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Adclients Urlchannels ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_URLCHANNELS_LISTLists active url channels.Connection2 scopes
Lists active url channels.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Alerts ListGOOGLE_ADSENSE_ACCOUNTS_ALERTS_LISTLists all the alerts available in an account.Connection2 scopes
Lists all the alerts available in an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts GetAdBlockingRecoveryTagGOOGLE_ADSENSE_ACCOUNTS_GET_AD_BLOCKING_RECOVERY_TAGGets the ad blocking recovery tag of an account.Connection2 scopes
Gets the ad blocking recovery tag of an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts ListGOOGLE_ADSENSE_ACCOUNTS_LISTLists all accounts available to this user.Connection2 scopes
Lists all accounts available to this user.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts ListChildAccountsGOOGLE_ADSENSE_ACCOUNTS_LIST_CHILD_ACCOUNTSLists all accounts directly managed by the given AdSense account.Connection2 scopes
Lists all accounts directly managed by the given AdSense account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Payments ListGOOGLE_ADSENSE_ACCOUNTS_PAYMENTS_LISTLists all the payments available for an account.Connection2 scopes
Lists all the payments available for an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts PolicyIssues ListGOOGLE_ADSENSE_ACCOUNTS_POLICY_ISSUES_LISTLists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.Connection2 scopes
Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Reports GenerateGOOGLE_ADSENSE_ACCOUNTS_REPORTS_GENERATEGenerates an ad hoc report.Connection2 scopes
Generates an ad hoc report.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Reports GenerateCsvGOOGLE_ADSENSE_ACCOUNTS_REPORTS_GENERATE_CSVGenerates a csv formatted ad hoc report.Connection2 scopes
Generates a csv formatted ad hoc report.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Reports GetSavedGOOGLE_ADSENSE_ACCOUNTS_REPORTS_GET_SAVEDGets the saved report from the given resource name.Connection2 scopes
Gets the saved report from the given resource name.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Reports Saved GenerateGOOGLE_ADSENSE_ACCOUNTS_REPORTS_SAVED_GENERATEGenerates a saved report.Connection2 scopes
Generates a saved report.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Reports Saved GenerateCsvGOOGLE_ADSENSE_ACCOUNTS_REPORTS_SAVED_GENERATE_CSVGenerates a csv formatted saved report.Connection2 scopes
Generates a csv formatted saved report.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Reports Saved ListGOOGLE_ADSENSE_ACCOUNTS_REPORTS_SAVED_LISTLists saved reports.Connection2 scopes
Lists saved reports.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags
Adsense Accounts Sites ListGOOGLE_ADSENSE_ACCOUNTS_SITES_LISTLists all the sites available in an account.Connection2 scopes
Lists all the sites available in an account.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonlyTags