APIHub
Back to Explore

AdMob API

The AdMob API allows publishers to programmatically get information about their AdMob account.

Analytics
OAuth
HTTPS
CORS: Unknown
Visit official documentation

Latency

3941ms p95

Uptime

88.9% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/v1beta/accounts

Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672.

  • pageSize (query, limit) — Maximum number of accounts to return.
  • pageToken (query) — The value returned by the last `ListPublisherAccountsResponse`; indicates that this is a continuation of a prior `ListPublisherAccounts` call, and that the system should return the next page of data.
GET

/v1beta/{name}

Gets information about the specified AdMob publisher account.

  • name (path, required) — Resource name of the publisher account to retrieve. Example: accounts/pub-9876543210987654
GET

/v1beta/{parent}/adSources

List the ad sources.

  • parent (path, required) — Required. The parent which owns this collection of ad sources. Format: accounts/{publisher_id}
  • pageSize (query, limit) — The maximum number of ad sources to return. If unspecified or 0, at most 10,000 ad sources will be returned. The maximum value is 20,000; values above 10,000 will be coerced to 20,000.
  • pageToken (query) — A page token, received from a previous `ListAdSources` call. Provide this to retrieve the subsequent page.
GET

/v1beta/{parent}/adUnits

List the ad units under the specified AdMob account.

  • parent (path, required) — Required. Resource name of the account to list ad units for. Example: accounts/pub-9876543210987654
  • pageSize (query, limit) — The maximum number of ad units to return. If unspecified or 0, at most 10,000 ad units will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
  • pageToken (query) — The value returned by the last `ListAdUnitsResponse`; indicates that this is a continuation of a prior `ListAdUnits` call, and that the system should return the next page of data.
GET

/v1beta/{parent}/apps

List the apps under the specified AdMob account.

  • parent (path, required) — Required. Resource name of the account to list apps for. Example: accounts/pub-9876543210987654
  • pageSize (query, limit) — The maximum number of apps to return. If unspecified or 0, at most 10,000 apps will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
  • pageToken (query) — The value returned by the last `ListAppsResponse`; indicates that this is a continuation of a prior `ListApps` call, and that the system should return the next page of data.
POST

/v1beta/{parent}/mediationReport:generate

Generates an AdMob mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.

  • parent (path, required) — Resource name of the account to generate the report for. Example: accounts/pub-9876543210987654
POST

/v1beta/{parent}/networkReport:generate

Generates an AdMob Network report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.

  • parent (path, required) — Resource name of the account to generate the report for. Example: accounts/pub-9876543210987654

7 endpoints auto-detected

Authentication

This API requires authentication: OAuth.

curl -X GET \
  "https://admob.googleapis.com/v1beta/accounts"

admob.googleapis.com · HTTPS only