skillfed

googleads

Google Ads Python Client Library

googleads v50.0.0 933.1K downloads/30d#4,698 on PyPI746
Permissive license Apache License 2.0 Active released

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 googleads

uv

uv add googleads

poetry

poetry add googleads

Installing 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

Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.7

Tags

google ad manager api clientprogrammatic ad management pythongoogle ads api libraryad manager automationgoogle ads python sdk
google-ads-apiad-operations

More Internet packages