Skip to content

dsteb/gaql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAQL

GAQL - The Google Ads Query Language Executor

Web UI to execute GAQL queries.

Setup

It is recommended to use Python virtual evironment. Python version greater or equal 3.6 is required.

You should have installed git, python, pip and virtualenv to proceed with the next steps.

Dependencies

git clone https://github.com/dsteb/gaql
cd gaql
python3 -m venv venv
. venv/bin/activate
venv/bin/pip install -r requirements.txt

Credentials

To authenticate your API calls, you must specify your client ID, client secret, refresh token, developer token, and, if you are authenticating with a manager account, a login customer id.

The default behavior is to load a configuration file named google-ads.yaml located in your home directory. Here you can find a template you can use.

Run

FLASK_APP=gaql FLASK_ENV=development venv/bin/flask run

Open http://localhost:5000/query

Tests

Install dependencies

venv/bin/pip install -r dev-requirements.txt

Test

venv/bin/pytest

About

GAQL - The GAQL executor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published