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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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