Skip to content

API access using own credentials (server to server flow)

Daniel Rodriguez edited this page Feb 16, 2023 · 4 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.

Step 1 - Creating OAuth2 credentials

Follow the steps for the product you're using to generate a *service account ID and a JSON key file, then come back to this page.

Step 2 - Setting up the client library

Under the authentication section of your ad_manager_api.yml file, set the full path to your JSON keyfile.

:oauth2_keyfile: INSERT_OAUTH2_KEYFILE_HERE