Using python-aiplatform with googleapis.com

Python integration

✓ Official SDK
Install
pip install python-aiplatform
Quick start
import python-aiplatform

# Use an OAuth2 access token
client = python_aiplatform.Client(access_token="YOUR_ACCESS_TOKEN")
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
python-aiplatform
Python
API
googleapis.com
googleapis.com:adsensehost
At a glance
Language Python
Endpoints26
Base URLhttps://www.googleapis.com/adsensehost/v4.1
✓ Official