Open Connector
所有 Tools

Google AdSense

Manage AdSense accounts, clients, ad units, custom channels, reports, payments, and alerts.

google-adsensev1.0.025 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2available

调用示例

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 目录

可用 Tools

25 个可调用操作

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/9183566

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

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsense

Tags

accounts
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).

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).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Adclients Adunits ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_LISTLists all ad units under a specified account and ad client.

Lists all ad units under a specified account and ad client.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Adclients Adunits ListLinkedCustomChannelsGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_ADUNITS_LIST_LINKED_CUSTOM_CHANNELSLists all the custom channels available for an ad unit.

Lists all the custom channels available for an ad unit.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
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.

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.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsense

Tags

accounts
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.

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.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsense

Tags

accounts
Adsense Accounts Adclients Customchannels GetGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_GETGets information about the selected custom channel.

Gets information about the selected custom channel.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Adclients Customchannels ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_LISTLists all the custom channels available in an ad client.

Lists all the custom channels available in an ad client.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Adclients Customchannels ListLinkedAdUnitsGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_CUSTOMCHANNELS_LIST_LINKED_AD_UNITSLists all the ad units available for a custom channel.

Lists all the ad units available for a custom channel.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
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.

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.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsense

Tags

accounts
Adsense Accounts Adclients ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_LISTLists all the ad clients available in an account.

Lists all the ad clients available in an account.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Adclients Urlchannels ListGOOGLE_ADSENSE_ACCOUNTS_ADCLIENTS_URLCHANNELS_LISTLists active url channels.

Lists active url channels.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Alerts ListGOOGLE_ADSENSE_ACCOUNTS_ALERTS_LISTLists all the alerts available in an account.

Lists all the alerts available in an account.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts GetAdBlockingRecoveryTagGOOGLE_ADSENSE_ACCOUNTS_GET_AD_BLOCKING_RECOVERY_TAGGets the ad blocking recovery tag of an account.

Gets the ad blocking recovery tag of an account.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts ListGOOGLE_ADSENSE_ACCOUNTS_LISTLists all accounts available to this user.

Lists all accounts available to this user.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts ListChildAccountsGOOGLE_ADSENSE_ACCOUNTS_LIST_CHILD_ACCOUNTSLists all accounts directly managed by the given AdSense account.

Lists all accounts directly managed by the given AdSense account.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Payments ListGOOGLE_ADSENSE_ACCOUNTS_PAYMENTS_LISTLists all the payments available for an account.

Lists all the payments available for an account.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
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.

Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Reports GenerateGOOGLE_ADSENSE_ACCOUNTS_REPORTS_GENERATEGenerates an ad hoc report.

Generates an ad hoc report.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Reports GenerateCsvGOOGLE_ADSENSE_ACCOUNTS_REPORTS_GENERATE_CSVGenerates a csv formatted ad hoc report.

Generates a csv formatted ad hoc report.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Reports GetSavedGOOGLE_ADSENSE_ACCOUNTS_REPORTS_GET_SAVEDGets the saved report from the given resource name.

Gets the saved report from the given resource name.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Reports Saved GenerateGOOGLE_ADSENSE_ACCOUNTS_REPORTS_SAVED_GENERATEGenerates a saved report.

Generates a saved report.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Reports Saved GenerateCsvGOOGLE_ADSENSE_ACCOUNTS_REPORTS_SAVED_GENERATE_CSVGenerates a csv formatted saved report.

Generates a csv formatted saved report.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Reports Saved ListGOOGLE_ADSENSE_ACCOUNTS_REPORTS_SAVED_LISTLists saved reports.

Lists saved reports.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts
Adsense Accounts Sites ListGOOGLE_ADSENSE_ACCOUNTS_SITES_LISTLists all the sites available in an account.

Lists all the sites available in an account.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/adsensehttps://www.googleapis.com/auth/adsense.readonly

Tags

accounts