Configuring Authentication
You can configure the Simba Google Ads ODBC Connector to authenticate the connection to the database using one of several methods. For more information, see the following sections:
- Configuring Authentication With an Access Token
- Configuring Authentication With Your Ads Credentials
- Configuring Authentication With Service Authentication
Configuring Authentication With an Access Token
If you already have a valid access token, specify it in your DSN so that the connector can use it to authenticate the connection.
To configure authentication with an access token:
- Set the
Auth_Typeproperty toAccess Token. - Set the
Auth_AccessTokenproperty to the access token used for authentication. - Set the
Developer_Tokenproperty to the developer token associated with the manager account that you use to grant access to the Ads API. - Set the
Client_Customer_Idproperty to the client customer ID of the Ads account that you want to fetch report data for.
Configuring Authentication With Your Ads Credentials
You can configure the connector to use OAuth 2.0 to authenticate your connection.
To authenticate using OAuth 2.0:
- Set the
Auth_Typeproperty toAccess Token. - Set the
Auth_Scopeproperty to a comma-separated list of OAuth scopes for the access token. - Set the
Auth_Client_IDproperty to the OAuth 2.0 client ID used to generate the completed redirect URI and the authorization URL. - Set the
Auth_Client_Secretproperty to the OAuth 2.0 client secret used to generate the completed redirect URI and the authorization URL. - Set the
Developer_Tokenproperty to the developer token associated with the manager account that you use to grant access to the Ads API. - Set the
Client_Customer_Idproperty to the client customer ID of the Ads account that you want to fetch report data for.
Configuring Authentication With Service Authentication
You can configure the connector to use the Ads service account to authenticate the connection.
To configure authentication with Service Authentication:
- Set the
Auth_Typeproperty toService Authentication. - Set the
Auth_Emailproperty to the email ID associated with the service account. - Set the
Auth_KeyFilePathproperty to the full path of the plain text JSON object or.p12or.jsonkey file that is used to authenticate the service account email address. - Set the
Developer_Tokenproperty to the developer token associated with the manager account that you use to grant access to the Ads API. - Set the
Client_Customer_Idproperty to the client customer ID of the Ads account that you want to fetch report data for.