1. OAuth2 in the Google Ads API
Send a request to Google's OAuth 2.0 server
Last updated
Send a request to Google's OAuth 2.0 server
Last updated
To obtain user authorization, send a request to Google's authorization server at https://accounts.google.com/o/oauth2/v2/auth. This endpoint handles active session lookup, authenticates the user, and obtains user consent. The endpoint is only accessible over SSL, and it refuses HTTP (non-SSL) connections. The authorization server supports the following query string parameters for installed applications:
scope
https://www.googleapis.com/auth/adwords
Yes
access_type
offline
Yes
include_granted_scopes
true
Yes
response_type
code
Yes
state
state_parameter_passthrough_value
Yes
redirect_uri
http://localhost:3000/callback
Yes
client_id
XXX-XXX.apps.googleusercontent.com
Yes