Using python-storage with googleapis.com

Python integration

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

# Use an OAuth2 access token
client = python_storage.Client(access_token="YOUR_ACCESS_TOKEN")
Retrieves list of user profiles for a user.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dfareporting.googleapis.com/dfareporting/v3.4/userprofiles
Gets one user profile by ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dfareporting.googleapis.com/dfareporting/v3.4/userprofiles/{profileId}
Retrieves a list of ads, possibly filtered. This method supports paging.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dfareporting.googleapis.com/dfareporting/v3.4/userprofiles/{profileId}/ads
SDK on GitHub 📄 API Docs
SDK
python-storage
Python
API
googleapis.com
googleapis.com:dfareporting
At a glance
Language Python
Endpoints205
Base URLhttps://dfareporting.googleapis.com/dfareporting/v3.4
✓ Official