googleapis.com

Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.

🔑 oauth2 26 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Generate an AdSense report based on the report request sent in the query para…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/adsensehost/v4.1/reports
List hosted accounts associated with this AdSense account by ad client id.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/adsensehost/v4.1/accounts
List all host ad clients in this AdSense account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/adsensehost/v4.1/adclients
Endpoints (26 total)
GET
/reports
Generate an AdSense report based on the report request sent in the query para…
GET
/accounts
List hosted accounts associated with this AdSense account by ad client id.
GET
/adclients
List all host ad clients in this AdSense account.
GET
/accounts/{accountId}
Get information about the selected associated AdSense account.
GET
/adclients/{adClientId}
Get information about one of the ad clients in the Host AdSense account.
GET
/associationsessions/start
Create an association session for initiating an association with an AdSense u…
GET
/associationsessions/verify
Verify an association session after the association callback returns from AdS…
GET
/accounts/{accountId}/reports
Generate an AdSense report based on the report request sent in the query para…
GET
/accounts/{accountId}/adclients
List all hosted ad clients in the specified hosted account.
GET
/adclients/{adClientId}/urlchannels
List all host URL channels in the host AdSense account.
GET
/adclients/{adClientId}/customchannels
List all host custom channels in this AdSense account.
GET
/accounts/{accountId}/adclients/{adClientId}
Get information about one of the ad clients in the specified publisher's AdSe…
At a glance
Total SDKs10
Languages6
Endpoints26
Authoauth2
Categories2
https://www.googleapis.com/adsensehost/v4.1