Skip to content

Commit 1761000

Browse files
Clare Zheng (Shanghai Wicresoft Co Ltd)Clare Zheng (Shanghai Wicresoft Co Ltd)
authored andcommitted
Update according to feedback
1 parent f14c799 commit 1761000

File tree

1 file changed

+27
-29
lines changed

1 file changed

+27
-29
lines changed

articles/data-factory/connector-google-adwords.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,23 @@ The following sections provide details about properties that are used to define
6767
## Linked service properties
6868

6969
> [!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.
7171
7272
The following properties are supported for Google Ads linked service:
7373

7474
| Property | Description | Required |
7575
|:--- |:--- |:--- |
7676
| type | The type property must be set to: **GoogleAdWords** | Yes |
7777
| 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 |
7979
| 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 |
8181
| 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 |
8383
| 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 |
8484
| 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 |
8585
| 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 |
8787
| 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 |
8888
| 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 |
8989
| 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:
9696
"properties": {
9797
"type": "GoogleAdWords",
9898
"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"
121119
}
122120
}
123121
}
@@ -163,7 +161,7 @@ To copy data from Google Ads set the source type in the copy activity to **Googl
163161
| Property | Description | Required |
164162
|:--- |:--- |:--- |
165163
| 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) |
167165

168166
**Example:**
169167

@@ -187,7 +185,7 @@ To copy data from Google Ads set the source type in the copy activity to **Googl
187185
"typeProperties": {
188186
"source": {
189187
"type": "GoogleAdWordsSource",
190-
"query": "SELECT * FROM MyTable"
188+
"query": "SELECT campaign.id FROM campaign"
191189
},
192190
"sink": {
193191
"type": "<sink type>"

0 commit comments

Comments
 (0)