No description or website provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.circleci Upgrade to circleci 2 and fix pylint Jul 24, 2018
tap_adwords adding the placeholder item report (#42) Sep 7, 2018
.gitignore bump to 1.9.0 Sep 7, 2018
LICENSE adding metadata files to manifest Oct 27, 2017
circle.yml uncomment PLACEMENT_PERFORMANCE_REPORT Jan 23, 2018 bump to 1.9.0 Sep 7, 2018


This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

Quick start


We recommend using a virtualenv:

> virtualenv -p python3 venv
> source venv/bin/activate
> pip install tap-adwords

Get Access to the AdWords API

To use the AdWords API, you must request and be granted access.

Set up OAuth2 authentication

The Tap will need to access user data and contact Google services on your behalf. Authentication via OAuth2 allows your app to operate on behalf of your account. To enable your app to access the API, you need an OAuth2 client ID and client secret.

Read Google's guide on getting your OAuth2 client ID and client secret.

Create the config file

The AdWords Tap will use the developer token and OAuth properties from the previous steps. Additionally you will need:

start_date - an initial date for the Tap to extract AdWords data
user_agent - used in requests made to the AdWords API
customer_ids - A comma-separated list of AdWords account IDs to replicate data from

The following is an example of the required configuration

{"developer_token": "",
 "oauth_client_id": "",
 "oauth_client_secret": "",
 "refresh_token": "",
 "start_date": "",
 "user_agent": "",
 "customer_ids": ""}

Create a properties file

The properties file will indicate what streams and fields to replicate from the AdWords API. The Tap takes advantage of the Singer best practices for schema discovery and property selection.

[Optional] Create the initial state file

You can provide JSON file that contains a date for the streams to force the application to only fetch data newer than those dates. If you omit the file it will fetch all data for the selected streams.


Run the Tap

tap-adwords -c config.json -p properties.json -s state.json

Copyright © 2017 Stitch