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
+27-29Lines changed: 27 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,23 +67,23 @@ The following sections provide details about properties that are used to define
67
67
## Linked service properties
68
68
69
69
> [!Important]
70
-
> Due to the sunset of Google Ads API by **April 27, 2022**, the service has upgraded to the new Google Ads API. Please refer this [document](connector-troubleshoot-google-adwords.md#migrate-to-the-new-version-of-google-ads-api) for detailed migration steps and recommendations. Please make sure the migration to be done before **April 27, 2022**.
70
+
> Due to the sunset of Google AdWords API by **April 27, 2022**, the service has upgraded to the new Google Ads API. Please recreate the linked service with the latest Google Ads API if you use the legacy version.
71
71
72
72
The following properties are supported for Google Ads linked service:
73
73
74
74
| Property | Description | Required |
75
75
|:--- |:--- |:--- |
76
76
| type | The type property must be set to: **GoogleAdWords**| Yes |
77
77
| googleAdsApiVersion | The Google Ads API version that you use.| Yes |
78
-
| clientCustomerID | The Client customer ID of the AdWords account that you want to fetch report data for. | Yes |
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
-
| developerToken | The developer token associated with the manager account that you use to grant access to the AdWords 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 |
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
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 |
82
-
| refreshToken | The refresh token obtained from Google for authorizing access to AdWords 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 |
82
+
| 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
83
| 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
84
| 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 |
85
85
| email | The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. | No |
86
-
| privateKey | The service private key that is used for ServiceAuthentication for recommended driver version (Google Ads API version v14). 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
+
| 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
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
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
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 |
@@ -96,28 +96,26 @@ The following properties are supported for Google Ads linked service:
96
96
"properties": {
97
97
"type": "GoogleAdWords",
98
98
"typeProperties": {
99
-
"connectionProperties": {
100
-
"clientCustomerID": "<clientCustomerID>",
101
-
"loginCustomerID": "<loginCustomerID>",
102
-
"developerToken": {
103
-
"type": "SecureString",
104
-
"value": "<developerToken>"
105
-
},
106
-
"authenticationType": "UserAuthentication",
107
-
"refreshToken": {
108
-
"type": "SecureString",
109
-
"value": "<refreshToken>"
110
-
},
111
-
"clientId": {
112
-
"type": "SecureString",
113
-
"value": "<clientId>"
114
-
},
115
-
"clientSecret": {
116
-
"type": "SecureString",
117
-
"value": "<clientSecret>"
118
-
},
119
-
"googleAdsApiVersion": "v14"
120
-
}
99
+
"clientCustomerID": "<clientCustomerID>",
100
+
"loginCustomerID": "<loginCustomerID>",
101
+
"developerToken": {
102
+
"type": "SecureString",
103
+
"value": "<developerToken>"
104
+
},
105
+
"authenticationType": "UserAuthentication",
106
+
"refreshToken": {
107
+
"type": "SecureString",
108
+
"value": "<refreshToken>"
109
+
},
110
+
"clientId": {
111
+
"type": "SecureString",
112
+
"value": "<clientId>"
113
+
},
114
+
"clientSecret": {
115
+
"type": "SecureString",
116
+
"value": "<clientSecret>"
117
+
},
118
+
"googleAdsApiVersion": "v14"
121
119
}
122
120
}
123
121
}
@@ -163,7 +161,7 @@ To copy data from Google Ads set the source type in the copy activity to **Googl
163
161
| Property | Description | Required |
164
162
|:--- |:--- |:--- |
165
163
| type | The type property of the copy activity source must be set to: **GoogleAdWordsSource**| Yes |
166
-
| query | Use the custom SQL query to read data. For example: `"SELECT * FROM MyTable"`. | No (if "tableName" in dataset is specified) |
164
+
| query | Use the GAQL query to read data. For example: `SELECT campaign.id FROM campaign`. | No (if "tableName" in dataset is specified) |
167
165
168
166
**Example:**
169
167
@@ -187,7 +185,7 @@ To copy data from Google Ads set the source type in the copy activity to **Googl
0 commit comments