AdMob API
The AdMob API allows publishers to programmatically get information about their AdMob account.
E-commerce#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The AdMob API allows publishers to programmatically get information about their AdMob account.
Endpoints 6
accounts
- GETGets information about the specified AdMob publisher account.
/v1/:nameGets information about the specified AdMob publisher account. - GETLists the AdMob publisher account that was most recently signed in to from the AdMob UI
/v1/accounts?pageSize=0&pageToken=stringLists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see…
accounts.adUnits
- GETList the ad units under the specified AdMob account.
/v1/:parent/adUnits?pageSize=0&pageToken=stringList the ad units under the specified AdMob account.
accounts.apps
- GETList the apps under the specified AdMob account.
/v1/:parent/apps?pageSize=0&pageToken=stringList the apps under the specified AdMob account.
accounts.mediationReport
- POSTGenerates an AdMob Mediation report based on the provided report specification
/v1/:parent/mediationReport:generateGenerates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a…
accounts.networkReport
- POSTGenerates an AdMob Network report based on the provided report specification
/v1/:parent/networkReport:generateGenerates an AdMob Network report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a…
API details
- Base URL
https://admob.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 6 operations on 6 pathsGET 4POST 2
- Main resources
- accounts 2accounts.adUnits 1accounts.apps 1accounts.mediationReport 1accounts.networkReport 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the AdMob API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the AdMob API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Gets information about the specified AdMob publisher account.” (GET /v1/:name), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the AdMob API?
The AdMob API allows publishers to programmatically get information about their AdMob account. It is listed under E-commerce and has 6 endpoints.
Who publishes the AdMob API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the AdMob API?
Requests go to https://admob.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the AdMob API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the AdMob API have?
6 operations on 6 paths (4 GET, 2 POST). The largest groups are accounts, accounts.adUnits, accounts.apps, accounts.mediationReport.
Is forking the AdMob API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.