Skip to content

Commit e144964

Browse files
authored
Merge pull request #263615 from Clare-Zheng82/0118-Update_Google_Ads_doc
[Doc update] Update Google Ads doc and add TSG
2 parents 22830fe + bd7c08f commit e144964

File tree

4 files changed

+119
-9
lines changed

4 files changed

+119
-9
lines changed

articles/data-factory/.openpublishing.redirection.data-factory.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
},
10741074
{
10751075
"source_path_from_root": "/articles/data-factory/connector-troubleshoot-google-adwords.md",
1076-
"redirect_url": "/azure/data-factory/connector-google-adwords",
1076+
"redirect_url": "/azure/data-factory/connector-troubleshoot-google-ads",
10771077
"redirect_document_id": false
10781078
}
10791079
]

articles/data-factory/TOC.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,9 @@ items:
12291229
- name: FTP, SFTP, and HTTP
12301230
href: connector-troubleshoot-ftp-sftp-http.md
12311231
displayName: troubleshooting
1232+
- name: Google Ads
1233+
href: connector-troubleshoot-google-ads.md
1234+
displayName: troubleshooting
12321235
- name: Hive
12331236
href: connector-troubleshoot-hive.md
12341237
displayName: troubleshooting

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

Lines changed: 68 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-movement
99
ms.topic: conceptual
1010
ms.custom: synapse
11-
ms.date: 12/22/2023
11+
ms.date: 01/18/2024
1212
---
1313

1414
# Copy data from Google Ads using Azure Data Factory or Synapse Analytics
@@ -19,7 +19,7 @@ ms.date: 12/22/2023
1919
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.
2020

2121
> [!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.
2323
2424
## Supported capabilities
2525

@@ -74,19 +74,24 @@ The following properties are supported for Google Ads linked service:
7474
| Property | Description | Required |
7575
|:--- |:--- |:--- |
7676
| 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 |
7878
| 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 |
8080
| 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***:|||
8283
| 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 |
8384
| 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 |
8485
| 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***:|||
8587
| email | The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. | No |
8688
| 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+
9095

9196
**Example:**
9297

@@ -205,7 +210,7 @@ To upgrade your Google Ads driver version, you need update your linked service a
205210

206211
### Update the linked service configuration
207212

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).
209214

210215
### Migrate from SQL to GAQL
211216

@@ -259,5 +264,60 @@ Here are the concrete examples of the field name conversion:
259264
| Segments | `DayOfWeek` | `segments.day_of_week` |
260265
| Metrics | `VideoViews` | `metrics.video_views` |
261266

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.
275+
276+
| Google AdWords report| Google Ads resource |
277+
|---------| --------|
278+
| ACCOUNT_PERFORMANCE_REPORT | customer |
279+
| AD_PERFORMANCE_REPORT | ad_group_ad |
280+
| ADGROUP_PERFORMANCE_REPORT | ad_group |
281+
| AGE_RANGE_PERFORMANCE_REPORT | age_range_view |
282+
| AUDIENCE_PERFORMANCE_REPORT | campaign_audience_view,ad_group_audience_view |
283+
| AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT | group_placement_view |
284+
| BID_GOAL_PERFORMANCE_REPORT | bidding_strategy |
285+
| BUDGET_PERFORMANCE_REPORT | campaign_budget |
286+
| CALL_METRICS_CALL_DETAILS_REPORT | call_view |
287+
| CAMPAIGN_AD_SCHEDULE_TARGET_REPORT | ad_schedule_view |
288+
| CAMPAIGN_CRITERIA_REPORT | campaign_criterion |
289+
| CAMPAIGN_PERFORMANCE_REPORT | campaign |
290+
| CAMPAIGN_SHARED_SET_REPORT | campaign_shared_set |
291+
| CAMPAIGN_LOCATION_TARGET_REPORT | location_view |
292+
| CLICK_PERFORMANCE_REPORT | click_view |
293+
| DISPLAY_KEYWORD_PERFORMANCE_REPORT | display_keyword_view |
294+
| DISPLAY_TOPICS_PERFORMANCE_REPORT | topic_view |
295+
| GENDER_PERFORMANCE_REPORT | gender_view |
296+
| GEO_PERFORMANCE_REPORT | geographic_view,user_location_view |
297+
| KEYWORDLESS_QUERY_REPORT | dynamic_search_ads_search_term_view |
298+
| KEYWORDS_PERFORMANCE_REPORT | keyword_view |
299+
| LABEL_REPORT | label |
300+
| LANDING_PAGE_REPORT | landing_page_view,expanded_landing_page_view |
301+
| PAID_ORGANIC_QUERY_REPORT | paid_organic_search_term_view |
302+
| PARENTAL_STATUS_PERFORMANCE_REPORT | parental_status_view |
303+
| PLACEHOLDER_FEED_ITEM_REPORT | feed_item,feed_item_target |
304+
| PLACEHOLDER_REPORT | feed_placeholder_view |
305+
| PLACEMENT_PERFORMANCE_REPORT | managed_placement_view |
306+
| PRODUCT_PARTITION_REPORT | product_group_view |
307+
| SEARCH_QUERY_PERFORMANCE_REPORT | search_term_view |
308+
| SHARED_SET_CRITERIA_REPORT | shared_criterion |
309+
| SHARED_SET_REPORT | shared_set |
310+
| SHOPPING_PERFORMANCE_REPORT | shopping_performance_view |
311+
| TOP_CONTENT_PERFORMANCE_REPORT | No longer available in the Google Ads API. |
312+
| URL_PERFORMANCE_REPORT | detail_placement_view |
313+
| USER_AD_DISTANCE_REPORT | distance_view |
314+
| VIDEO_PERFORMANCE_REPORT | video |
315+
316+
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+
262322
## Related content
263323
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).
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Troubleshoot the Google Ads connector
3+
titleSuffix: Azure Data Factory & Azure Synapse
4+
description: Learn how to troubleshoot issues with the Google Ads connector in Azure Data Factory and Azure Synapse Analytics.
5+
author: jianleishen
6+
ms.service: data-factory
7+
ms.subservice: data-movement
8+
ms.topic: troubleshooting
9+
ms.date: 01/19/2024
10+
ms.author: jianleishen
11+
ms.custom: has-adal-ref, synapse
12+
---
13+
14+
# Troubleshoot the Google Ads connector in Azure Data Factory and Azure Synapse
15+
16+
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
17+
18+
This article provides suggestions to troubleshoot common problems with the Google Ads connector in Azure Data Factory and Azure Synapse.
19+
20+
## Error code: DeprecatedGoogleAdsLegacyDriverVersion
21+
22+
- **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).
27+
28+
29+
## Error code: DeprecatedGoogleAdWordsOdbcConnector
30+
31+
- **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:
40+
41+
- [Connector troubleshooting guide](connector-troubleshoot-guide.md)
42+
- [Data Factory blog](https://techcommunity.microsoft.com/t5/azure-data-factory-blog/bg-p/AzureDataFactoryBlog)
43+
- [Data Factory feature requests](/answers/topics/azure-data-factory.html)
44+
- [Azure videos](https://azure.microsoft.com/resources/videos/index/?sort=newest&services=data-factory)
45+
- [Microsoft Q&A page](/answers/topics/azure-data-factory.html)
46+
- [Stack Overflow forum for Data Factory](https://stackoverflow.com/questions/tagged/azure-data-factory)
47+
- [Twitter information about Data Factory](https://twitter.com/hashtag/DataFactory)

0 commit comments

Comments
 (0)