Skip to main content

Data Manager API utilities and samples for Python

Utilities and code samples for working with the Data Manager API and Python.

Requirements

  • Python 3.10+

Installation

pip install google-ads-datamanager-util

Documentation

Please refer to our Developer Site for documentation on how to install, configure, and use this client library.

Run samples

Samples are provided in the samples/ directory, and the samples/sampledata directory contains samples of input files you can use with the samples.

To run a sample, first install the sample dependencies:

pip install -r samples/requirements.txt

Then invoke the sample script using the command line. You can pass arguments to the script in one of two ways:

1. Explicitly, on the command line

python3 samples/events/ingest_events.py \
  --operating_account_type='GOOGLE_ADS' \
  --operating_account_id='<operating_account_id>' \
  --conversion_action_id='<conversion_action_id>' \
  --json_file='</path/to/your/file>'

2. Using an arguments file

You can also save arguments in a file, with one argument per line.

--operating_account_type
GOOGLE_ADS
--operating_account_id
<operating_account_id>
--conversion_action_id
<conversion_action_id>
--json_file
</path/to/your/file>

Then, run the sample by passing the file path, prefixed with the @ character.

python3 samples/events/ingest_events.py @/path/to/your/args.txt

Issue tracker

https://github.com/googleads/data-manager-python/issues

Contributing

Contributions welcome! See the Contributing Guide.

Authors

Metadata

Release files for google-ads-datamanager-util 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-ads-datamanager-util 0.4.0
File Size Uploaded Provenance Actions
google_ads_datamanager_util-0.4.0.tar.gz 11.9 kB With provenance

Built distribution (wheel)

Table of built distributions (wheels) for google-ads-datamanager-util 0.4.0
File Interpreter ABI Platform Actions
google_ads_datamanager_util-0.4.0-py3-none-any.whl Python 3 none any

Total release size: 24.1 kB

Security for google-ads-datamanager-util 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for google_ads_datamanager_util-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by Google Cloud, verified by PyPI on Aug 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page