You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/connector-google-adwords.md
+68-8Lines changed: 68 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
8
8
ms.subservice: data-movement
9
9
ms.topic: conceptual
10
10
ms.custom: synapse
11
-
ms.date: 12/22/2023
11
+
ms.date: 01/18/2024
12
12
---
13
13
14
14
# Copy data from Google Ads using Azure Data Factory or Synapse Analytics
@@ -19,7 +19,7 @@ ms.date: 12/22/2023
19
19
This article outlines how to use the Copy Activity in an Azure Data Factory or Synapse Analytics pipeline to copy data from Google Ads. It builds on the [copy activity overview](copy-activity-overview.md) article that presents a general overview of copy activity.
20
20
21
21
> [!Important]
22
-
> It is highly recommended to [upgrade your Google Ads driver version](#upgrade-the-google-ads-driver-version).
22
+
> Please kindly [upgrade your Google Ads driver version](#upgrade-the-google-ads-driver-version) before **February 18, 2024**. If not, connection will start to fail with an [error](connector-troubleshoot-google-ads.md#error-code-deprecatedgoogleadslegacydriverversion) because of the deprecation of the legacy driver.
23
23
24
24
## Supported capabilities
25
25
@@ -74,19 +74,24 @@ The following properties are supported for Google Ads linked service:
74
74
| Property | Description | Required |
75
75
|:--- |:--- |:--- |
76
76
| type | The type property must be set to: **GoogleAdWords**| Yes |
77
-
| googleAdsApiVersion | The Google Ads API version that you use. You can refer this [article](https://developers.google.com/google-ads/api/docs/release-notes) for API version information.| Yes |
77
+
| googleAdsApiVersion | The Google Ads API version that you use when you select the recommended driver version. You can refer this [article](https://developers.google.com/google-ads/api/docs/release-notes) for API version information.| Yes |
78
78
| clientCustomerID | The Client customer ID of the Ads account that you want to fetch report data for. | Yes |
79
79
| loginCustomerID | The customer ID of the Google Ads manager account through which you want to fetch report data of specific customer.| No |
80
80
| developerToken | The developer token associated with the manager account that you use to grant access to the Ads API. You can choose to mark this field as a SecureString to store it securely, or store password in Azure Key Vault and let the copy activity pull from there when performing data copy - learn more from [Store credentials in Key Vault](store-credentials-in-key-vault.md). | Yes |
81
-
| authenticationType | The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. <br/>Allowed values are: **ServiceAuthentication**, **UserAuthentication**| Yes |
81
+
| authenticationType | The OAuth 2.0 authentication mechanism used for authentication. <br/>Allowed values are: **ServiceAuthentication**, **UserAuthentication**. <br/>ServiceAuthentication can only be used on self-hosted IR. | Yes |
82
+
|*For **UserAuthentication***:|||
82
83
| refreshToken | The refresh token obtained from Google for authorizing access to Ads for UserAuthentication. You can choose to mark this field as a SecureString to store it securely, or store password in Azure Key Vault and let the copy activity pull from there when performing data copy - learn more from [Store credentials in Key Vault](store-credentials-in-key-vault.md). | No |
83
84
| clientId | The client ID of the Google application used to acquire the refresh token. You can choose to mark this field as a SecureString to store it securely, or store password in Azure Key Vault and let the copy activity pull from there when performing data copy - learn more from [Store credentials in Key Vault](store-credentials-in-key-vault.md). | No |
84
85
| clientSecret | The client secret of the google application used to acquire the refresh token. You can choose to mark this field as a SecureString to store it securely, or store password in Azure Key Vault and let the copy activity pull from there when performing data copy - learn more from [Store credentials in Key Vault](store-credentials-in-key-vault.md). | No |
86
+
|*For **ServiceAuthentication***:|||
85
87
| email | The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. | No |
86
88
| privateKey | The service private key that is used for ServiceAuthentication for recommended driver version and can only be used on self-hosted IR. You can choose to mark this field as a SecureString to store it securely, or store password in Azure Key Vault and let the copy activity pull from there when performing data copy - learn more from [Store credentials in Key Vault](store-credentials-in-key-vault.md).| No |
87
-
| keyFilePath | The full path to the `.p12` or `.json` key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Specify this property when you use ServiceAuthentication for the legacy driver version. | No |
88
-
| trustedCertPath | The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over TLS. This property can only be set when using TLS on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Specify this property when you use ServiceAuthentication for the legacy driver version. | No |
89
-
| useSystemTrustStore | Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Specify this property when you use ServiceAuthentication for the legacy driver version. | No |
89
+
|*For **ServiceAuthentication** using the legacy driver version*:|||
90
+
| email | The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. | No |
91
+
| keyFilePath | The full path to the `.p12` or `.json` key file that is used to authenticate the service account email address and can only be used on self-hosted IR. | No |
92
+
| trustedCertPath | The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over TLS. This property can only be set when using TLS on self-hosted IR. The default value is the cacerts.pem file installed with the IR. | No |
93
+
| useSystemTrustStore | Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. | No |
94
+
90
95
91
96
**Example:**
92
97
@@ -205,7 +210,7 @@ To upgrade your Google Ads driver version, you need update your linked service a
205
210
206
211
### Update the linked service configuration
207
212
208
-
Create a new Google Ads linked service and configure it by referring to [Linked service properties](#linked-service-properties).
213
+
In **Edit linked service** page, select **Recommended** under **Driver version**and configure the linked service by referring to [Linked service properties](#linked-service-properties).
209
214
210
215
### Migrate from SQL to GAQL
211
216
@@ -259,5 +264,60 @@ Here are the concrete examples of the field name conversion:
259
264
| Segments |`DayOfWeek`|`segments.day_of_week`|
260
265
| Metrics |`VideoViews`|`metrics.video_views`|
261
266
267
+
268
+
## Upgrade Google AdWords connector to Google Ads connector
269
+
270
+
Upgrade your Google AdWords linked service to the latest Google Ads linked service following the steps below:
271
+
272
+
1. Select **Recommended** as driver version to create a new Google Ads linked service and configure it by referring to [Linked service properties](connector-google-adwords.md#linked-service-properties).
273
+
1. Update your pipelines that refer to the legacy Google AdWords linked service. Considering that the Google Ads linked service only supports using query to copy data, so:
274
+
1. If your pipeline is directly retrieving data from the report of Google AdWords, find the corresponding resource name of Google Ads in the table below and use this [tool](https://developers.google.com/google-ads/api/fields/v15/overview_query_builder) to build the query.
1. If the pipeline is using query to retrieve data from Google AdWords, use [Query Migration tool](https://developers.google.com/google-ads/scripts/docs/reference/query-migration-tool) to translate the AWQL (AdWords Query Language) into GAQL (Google Ads Query Language).
317
+
318
+
1. Be aware that there are certain limitations with this upgrade:
319
+
1. Not all report types from AWQL are supported in GAQL.
320
+
1. Not all AWQL queries are cleanly translated to GAQL queries.
321
+
262
322
## Related content
263
323
For a list of data stores supported as sources and sinks by the copy activity, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).
-**Message**: `The Google Ads connector’s legacy driver has been deprecated. To ensure your pipeline works, please upgrade the driver version of Google Ads linked service. Detailed instructions can be found in this documentation: https://learn.microsoft.com/azure/data-factory/connector-google-adwords?tabs=data-factory#upgrade-the-google-ads-driver-version`
23
+
24
+
-**Cause**: Your pipeline is still running on a legacy Google Ads connector's driver.
25
+
26
+
-**Resolution**: Upgrade your Google Ads linked service's driver version to the Recommended version. Refer to this [article](connector-google-adwords.md#upgrade-the-google-ads-driver-version).
-**Message**: `The Google AdWords connector has been deprecated. To ensure your pipeline works, please create a new Google Ads linked service. Detailed instructions can be found in this documentation: https://learn.microsoft.com/azure/data-factory/connector-google-adwords#upgrade-google-adwords-connector-to-google-ads-connector`
32
+
33
+
-**Cause**: Your pipeline is still running on a deprecated Google AdWords connector.
34
+
35
+
-**Resolution**: Create a new Google Ads linked service. Refer to this [article](connector-google-adwords.md#upgrade-google-adwords-connector-to-google-ads-connector).
36
+
37
+
## Related content
38
+
39
+
For more troubleshooting help, try these resources:
0 commit comments