Set Up Authorization

  • The Search Ads 360 API requires OAuth 2.0 access tokens for authentication, obtainable through standard OAuth 2.0 workflows or the recommended workflow outlined in the document.

  • The recommended workflow involves obtaining a refresh token using the provided utility script and storing it securely along with the client ID and secret.

  • Applications should be designed to use the stored credentials to obtain fresh access tokens for API requests, as detailed in the "Set Up Your Application" section or relevant OAuth 2.0 documentation.

  • Alternative workflows for installed or server-to-server applications are available with specific scope requirements and user management considerations.

The Search Ads 360 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 Search Ads 360 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 Search Ads 360 user.