Google AdSense

Google adsenseplatform API. This OpenAPI specification was generated from the official Google API Discovery Document. All endpoints require authentication via OAuth 2.0 or API Key unless otherwise specified.

Active

Capabilities (10)

Delete platforms accounts sites

Deletes a site from a specified account.

adsenseplatform_platforms_accounts_sites_delete(name) -> {}
Destructive
Required scopes:
https://www.googleapis.com/auth/adsense

Requestreview platforms accounts sites

Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an [ad tag](https://developers.google.com/adsense/platforms/direct/ad-tags) on your site before requesting a review.

adsenseplatform_platforms_accounts_sites_request_review(name) -> {}
Required scopes:
https://www.googleapis.com/auth/adsense

Close platforms accounts

Closes a sub-account.

adsenseplatform_platforms_accounts_close(name) -> {}
Required scopes:
https://www.googleapis.com/auth/adsense

Create platforms accounts

Creates a sub-account.

adsenseplatform_platforms_accounts_create(parent, createTime?, creationRequestId?, displayName?, name?, regionCode?, state?, timeZone?) -> {createTime, creationRequestId, displayName, name, ...}
Required scopes:
https://www.googleapis.com/auth/adsense

List platforms accounts sites

Lists sites for a specific account.

adsenseplatform_platforms_accounts_sites_list(parent, pageSize?, pageToken?) -> {nextPageToken, sites}
Required scopes:
https://www.googleapis.com/auth/adsense https://www.googleapis.com/auth/adsense.readonly

Get platforms accounts sites

Gets a site from a specified sub-account.

adsenseplatform_platforms_accounts_sites_get(name) -> {domain, name, state}
Required scopes:
https://www.googleapis.com/auth/adsense https://www.googleapis.com/auth/adsense.readonly

Lookup platforms accounts

Looks up information about a sub-account for a specified creation_request_id. If no account exists for the given creation_request_id, returns 404.

adsenseplatform_platforms_accounts_lookup(parent, creationRequestId?) -> {name}
Required scopes:
https://www.googleapis.com/auth/adsense https://www.googleapis.com/auth/adsense.readonly

List platforms accounts

Lists a partial view of sub-accounts for a specific parent account.

adsenseplatform_platforms_accounts_list(parent, pageSize?, pageToken?) -> {accounts, nextPageToken}
Required scopes:
https://www.googleapis.com/auth/adsense https://www.googleapis.com/auth/adsense.readonly

Create platforms accounts sites

Creates a site for a specified account.

adsenseplatform_platforms_accounts_sites_create(parent, domain?, name?, state?) -> {domain, name, state}
Required scopes:
https://www.googleapis.com/auth/adsense

Create platforms accounts events

Creates an account event.

adsenseplatform_platforms_accounts_events_create(parent, eventInfo?, eventTime?, eventType?) -> {eventInfo, eventTime, eventType}
Required scopes:
https://www.googleapis.com/auth/adsense

Links

No external links available.

Authentication

  • API Key
  • Oauth2_authorization_code (Primary)