Skip to main content

garf for Bid Manager API

PyPI Downloads PyPI

garf-bid-manager simplifies fetching data from Bid Manager API using SQL-like queries.

Prerequisites

Installation

pip install garf-bid-manager

Usage

Run as a library

from garf.community.google.bid_manager import BidManagerApiReportFetcher
from garf.io import writer

# Fetch report
query = """
  SELECT
    advertiser_name,
    metric_clicks AS clicks
  FROM standard
  WHERE advertiser = 1
    AND dataRange IN (2025-01-01, 2025-12-31)
"""
fetched_report = BidManagerApiReportFetcher() .fetch(query, query=query)

# Write report to console
console_writer = writer.create_writer('console')
console_writer.write(fetched_report, 'output')

Run via CLI

Install garf-executors package to run queries via CLI (pip install garf-executors).

garf <PATH_TO_QUERIES> --source bid-manager \
  --output <OUTPUT_TYPE> \
  --source.<SOURCE_PARAMETER=VALUE>

where:

Available source parameters

name values comments
credentials_file File with Oauth or service account credentials You can expose credentials_file as GARF_BID_MANAGER_CREDENTIALS_FILE ENV variable
auth_mode Type of authentication: oauth or service_account oauth is the default mode

Metadata

Release files for garf-bid-manager 1.1.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 garf-bid-manager 1.1.0
File Size Uploaded Provenance Actions
garf_bid_manager-1.1.0.tar.gz 8.8 kB Without provenance Details for garf_bid_manager-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for garf-bid-manager 1.1.0
File Interpreter ABI Platform Actions
garf_bid_manager-1.1.0-py3-none-any.whl Python 3 none any Details for garf_bid_manager-1.1.0-py3-none-any.whl

Total release size: 22.3 kB

Release files / garf_bid_manager-1.1.0.tar.gz

Download URL garf_bid_manager-1.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
30b04201e2147f81223f4496c9490bd5fce2452ce766e81640559c7fe395e8a3
BLAKE2b-256 checksum
How to use checksums
9421458179b81de5e8ccd9a7c80aeaba80e89ed1e03dc470f114aa0b87342cdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / garf_bid_manager-1.1.0-py3-none-any.whl

Download URL garf_bid_manager-1.1.0-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc80589223ab6e4a6b9571739c51f56eca5f01b78fbc4e214c4ccee44a56d0cd
BLAKE2b-256 checksum
How to use checksums
dfcf39a339102ce7476f657260fc726e1322d74753ef79d5e378d45090952671
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for garf-bid-manager 1.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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