Using python-genai with googleapis.com

Python integration

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

# Use an OAuth2 access token
client = python_genai.Client(access_token="YOUR_ACCESS_TOKEN")
Retrieves the requested filter set for the account with the given account ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://adexchangebuyer.googleapis.com/v2beta1/{name}
Lists all filter sets for the account with the given account ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://adexchangebuyer.googleapis.com/v2beta1/{ownerName}/filterSets
Lists all metrics that are measured in terms of number of bids.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://adexchangebuyer.googleapis.com/v2beta1/{filterSetName}/bidMetrics
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:adexchangebuyer2
At a glance
Language Python
Endpoints50
Base URLhttps://adexchangebuyer.googleapis.com
✓ Official