Google Ads

ExpandedToggleIcon        Connection Dialog

To connect to Google Ads, you need to specify the following parameters:

1.Refresh Token - an access token to log in to. Click Sign In and sign in to Google Ads in the opened login page in the browser. The token is generated automatically.
2.Customer Id - a unique number used to identify your Google Ads account. You can find it in your Google Ads account. For this, click the help icon in the top right corner of the account and copy the Customer Id at the bottom of the menu.

 

In addition to the required options, Advanced connection options may be set for more fine connection tuning.

 

ExpandedToggleIcon        Advanced Connection Options

The following table describes the options that you can include in the Connection String using the Advanced Connection Editor dialog box:

 

Option

Description

Client Id

Specifies the ID of the registered Google Ads app.

Client Secret

Specifies the password of the registered Google Ads app.

Connection Lifetime

Specifies the maximum lifetime (in seconds) of a connection. When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span exceeds the value specified by Connection Lifetime. The default value is 0 (connection always returns to pool).

Connection Timeout

Specifies the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. The default value is 60.

CustomerId

Specifies a unique number used to identify the Google Ads account.

Default Command Timeout

Specifies the time in seconds to wait while trying to execute a command before terminating the attempt and generating an error. The default value is 60.

Developer Token

Specifies a developer token from Google to connect to the Google Ads API.

Failover Retries

Specifies the number of retries to perform a command if it fails because of the exception, which indicates that the reason of a failure may be temporary. The default value is 7.

Fetch Removed Records

Determines whether to fetch records that have been removed in Google Ads.

Initialization Command

Specifies a data source-specific command to execute immediately after the connection is established.

Local SQL Engine

Determines whether to enable local SQL processing (enabled by default). Local SQL processing allows performing complex SELECT statements that cannot be directly compiled to Google Ads API calls. In this case the data from the mentioned cloud objects is queried to the local cache, and then the query is performed against the cache.

If local SQL processing is disabled, only simple SELECT statements that can be directly translated into Google Ads API calls can be used. More complex SELECT statements will fail.

Login CustomerId

Specifies the customer ID of the manager account used to access a client customer account.

Max Pool Size

Specifies the maximum number of connections allowed in the pool. Setting the Max Pool Size value in the connection string can affect performance. The default value is 100.

Min Pool Size

Specifies the minimum number of connections allowed in the pool. The default value is 0.

NormalizeDbNames

Determines whether database object names are normalized when retrieved from the database.

Persist Security Info

Indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.

Pooling

Specifies whether, by default, the connection is drawn from the appropriate pool or is created and added to the appropriate pool.

Proxy Host

Specifies the host name or IP address of the proxy server.

Proxy Password

Specifies the password for the proxy server account.

Proxy Port

Specifies the port number of the proxy server. The default value is 3128.

Proxy User

Specifies the proxy server account name.

Readonly

Indicates whether the connection is read-only (allows only SELECT statements).

Refresh Token

Specifies the OAuth refresh token.

Reports Start Date

Specifies the start date to retrieve Google Ads report data.

Run Once Command

Specifies a command to execute immediately after establishing the connection. Unlike Initialization Command, it is not executed for connections obtained from the connection pool.

Token Server

Specifies the location to store new refresh tokens between sessions, such as a file or a registry key. SSIS Data Flow Components for Google Ads can query new refresh tokens automatically when the current one expires and store them between sessions if you set this parameter. For example, "file://D:\temp\oauth_token_1234.txt" or "reg://HKEY_CURRENT_USER\Software\Devart\dotConnect\OAuth_12345"

UTC Dates

Converts dates to UTC format during import if set to True, and treats the date values entered by the user (in SELECT statements, etc.) as UTC dates when sending them to the data source.