Set Up Authorization

The DoubleClick Search API requires all requests to specify an OAuth 2.0 access token for authentication. You can follow any standard OAuth 2.0 authentication workflow to generate the token and pass it to the DoubleClick Search API. We recommend the workflow described below because it is suitable for fully automated conversion uploads and report downloads.

For alternatives to the workflow described below, see Using OAuth 2.0 for Installed Applications or Using OAuth 2.0 for Server to Server Applications. If you use an alternate workflow, specify the following value as the scope parameter when you request an OAuth 2.0 authorization code:
https://www.googleapis.com/auth/doubleclicksearch
If you follow the server to server route, add the service account as a DS user.

Send feedback about...

DoubleClick Search API