googleads
Google Ads Python Client Library
What it is and what it does
googleads is the official Python client library for Google Ad Manager API, providing a wrapper around SOAP/XML-based ad management operations. It handles OAuth2 authentication via google-auth and google-auth-oauthlib, serializes requests and responses using zeep and xmltodict, and manages configuration through PyYAML. The library abstracts away low-level protocol details so developers can focus on ad operations like creating line items, managing inventory, and retrieving reports.
The package carries high install friction because it bundles seven runtime dependencies for authentication, XML processing, and HTTP communication. It is actively maintained with recent releases and a stable repository, making it reliable for production use. The permissive Apache 2.0 license poses no restrictions for commercial deployment.
Use it for:
- Automate line item creation and management in Google Ad Manager without manual UI interaction.
- Build reporting pipelines that fetch ad performance metrics and inventory data programmatically.
- Integrate ad operations into larger media buying or publisher workflows that require API-driven control.
- Manage audience targeting, creative assignments, and trafficking at scale across multiple ad networks.
- Sync ad manager data with internal business intelligence or data warehouse systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Client library for interacting with Google Ad Manager API, handling authentication, requests, and response parsing for programmatic ad management.
Yes, if you need to programmatically manage Google Ad Manager. The library is actively maintained, carries no known vulnerabilities, and the Apache 2.0 license is permissive. High install friction (7 dependencies) is justified by the complexity of OAuth2 and SOAP protocol handling. Suitable for production use in ad operations, reporting, and trafficking automation.
Install
googleads on PyPI
pip
pip install googleadsuv
uv add googleadspoetry
poetry add googleadsInstalling googleads
Before you install
High install friction due to 7 runtime dependencies including authentication libraries (google-auth, google-auth-oauthlib), XML/SOAP handling (zeep, xmltodict), and configuration management (PyYAML). Active maintenance with recent release (92 days old) and steady repository activity.
License in practice
Apache License 2.0 is permissive, allowing commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.
Quickstart
pip install googleads
from googleads import ad_manager
client = ad_manager.AdManagerClient.LoadFromStorage()
Requires valid Google Ads credentials file and OAuth2 setup; zeep depends on libxml2 system library on some platforms.
Verify before relying
- Whether the library supports Google Ads API in addition to Ad Manager API, or only Ad Manager
- Current Python 3.7 classifier may not reflect actual minimum version support in version 50.0.0
- Whether zeep's SOAP implementation introduces latency or compatibility constraints for high-volume workflows
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | 7 — google-auth, google-auth-oauthlib, pytz, PyYAML, requests, xmltodict, zeep |
| Maintenance | actively maintained — 92 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 933,077/month — #4,698 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: googleads-50.0.0.tar.gz
Keywords: admanager, google
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
google-adsProvides a Python client library for…
permissive · top 1,000 on PyPI
google-ads-admanagerPython client library for Google Ad Manager…
permissive · top 15,000 on PyPI
pinterest-api-sdkPython client library for the Pinterest API…
permissive · top 15,000 on PyPI
pyadspyads is a Python wrapper for TwinCAT's ADS…
permissive · top 15,000 on PyPI
Pinterest-Generated-ClientProvides auto-generated Python bindings for…
permissive · top 15,000 on PyPI
bingadsBing Ads Python SDK provides proxy classes and…
permissive · top 15,000 on PyPI
advertoolsadvertools provides data manipulation and…
permissive · top 15,000 on PyPI
facebook-businessProvides Python bindings to Facebook's Business…
unclear · top 5,000 on PyPI
dsinternalsInteract with Windows Active Directory by…
permissive · top 15,000 on PyPI
openfoodfactsQuery and manage product data from the Open…
permissive · top 15,000 on PyPI