Using java-genai with googleapis.com

Java integration

✓ Official SDK
Install
# Maven: see https://github.com/googleapis/java-genai
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
SDK on GitHub 📄 API Docs
SDK
java-genai
Java
API
googleapis.com
googleapis.com:adsensehost
At a glance
Language Java
Endpoints26
Base URLhttps://www.googleapis.com/adsensehost/v4.1
✓ Official