-
Notifications
You must be signed in to change notification settings - Fork 977
API access using own credentials (server to server flow)
nicholaschen edited this page May 26, 2016
·
7 revisions
This guide will walk you through how to setup OAuth2 for API access using your own credentials using server to server flow. These steps only need to be done once, unless you revoke or delete your OAuth2 credentials.
Follow the steps for the product you're using to generate a *service account ID and a .p12 file, then come back to this page.
If you're an AdWords user, please note that this flow requires a Google Apps Domain.
Under the authentication section of your adwords_api.yml or dfp_api.yml file, insert your service account ID and path to your *.p12 file.
:oauth2_issuer: = INSERT_OAUTH2_SERVICE_ACCOUNT_ID_HERE
:oauth2_keyfile: INSERT_OAUTH2_PATH_TO_P12_HERE