Skip to main content

Google Ads Control CLI and Prompt

Project description

Google Ads Control CLI and Prompt

PyPI - Version PyPI - Python Version

Features:

  • Command line tool for managing Google Ads accounts. Like kubectl for Google Ads.
  • A command line tool for executing GAQL queries against the Google Ads API. Like psql for the Google Ads API.

Installation

pip install adsctl

CLI

Authentication

adsctl auth <path-to-secret.json>

Campaign Management

Update budget

adsctl -c <customer-id> campaign -i <campaign-id> budget <amount>

Prompt

An interactive shell for executing GAQL queries against the Google Ads API.

gaql -f path-to-google-ads.yaml -c <customer-id>

>>> SELECT campaign.id, campaign.name FROM campaign ORDER BY campaign.id
+--------------------------------+-------------+
|              name              |      id     |
+--------------------------------+-------------+
| campaign 1                     | 18273300000 |
| campaign 2                     | 18319200001 |
| campaign 3                     | 18319300002 |
+--------------------------------+-------------+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adsctl-0.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

adsctl-0.1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file adsctl-0.1.0.tar.gz.

File metadata

  • Download URL: adsctl-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for adsctl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ebd346dba6d99c4d92263d78b298cef58a6562a5d594f0d55f02ad33688be30
MD5 fe493d565e706d758bce8f4371c30343
BLAKE2b-256 6e1c989d72993ae532f40eb80a2e0fbbb80d375092f97c43d174b72e4b05053f

See more details on using hashes here.

Provenance

File details

Details for the file adsctl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: adsctl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for adsctl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3be125d2e9729984ed261d2816ef26c783e0ee1e664409e3d628fd7e7797905f
MD5 565a3b792524bd344b20475b118bf757
BLAKE2b-256 8089fce5a0ac3777ef43111c7870a1e1b6f4bfdaed3acf94f19f120f117c6d82

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page