|
29 | 29 | from uploaders.google_ads.customer_match.user_id_uploader import GoogleAdsCustomerMatchUserIdUploaderDoFn |
30 | 30 | from uploaders.google_ads.conversions.google_ads_offline_conversions_uploader import GoogleAdsOfflineUploaderDoFn |
31 | 31 | from uploaders.google_ads.conversions.google_ads_ssd_uploader import GoogleAdsSSDUploaderDoFn |
32 | | -from uploaders.google_ads.conversions.google_ads_enhanced_conversions_uploader import GoogleAdsEnhancedConversionsUploaderDoFn |
33 | 32 | from uploaders.google_analytics.google_analytics_data_import_uploader import GoogleAnalyticsDataImportUploaderDoFn |
34 | 33 | from uploaders.google_analytics.google_analytics_measurement_protocol import GoogleAnalyticsMeasurementProtocolUploaderDoFn |
35 | 34 | from uploaders.google_analytics.google_analytics_user_list_uploader import GoogleAnalyticsUserListUploaderDoFn |
@@ -59,15 +58,6 @@ def __init__(self, oauth_credentials, dataflow_options=None, hasher=None): |
59 | 58 | def expand(self, executions): |
60 | 59 | pass |
61 | 60 |
|
62 | | -class GoogleAdsEnhancedConversionsStep(MegalistaStep): |
63 | | - def expand(self, executions): |
64 | | - return ( |
65 | | - executions |
66 | | - | 'Load Data - Google Ads Enhanced Conversions' >> BatchesFromExecutions(DestinationType.ADS_ENHANCED_CONVERSION) |
67 | | - | 'Hash Users - Google Ads Enhanced Conversions' >> beam.Map(self._hasher.hash_users) |
68 | | - | 'Upload - Google Ads Enhanced Conversions' >> beam.ParDo(GoogleAdsEnhancedConversionsUploaderDoFn(self._oauth_credentials)) |
69 | | - ) |
70 | | - |
71 | 61 | class GoogleAdsSSDStep(MegalistaStep): |
72 | 62 | def expand(self, executions): |
73 | 63 | return ( |
@@ -217,7 +207,6 @@ def run(argv=None): |
217 | 207 | oauth_credentials, dataflow_options) |
218 | 208 | executions | CampaignManagerConversionStep(oauth_credentials, dataflow_options) |
219 | 209 | executions | AppsFlyerEventsStep(oauth_credentials, dataflow_options) |
220 | | - executions | GoogleAdsEnhancedConversionsStep(oauth_credentials, dataflow_options, AdsUserListPIIHashingMapper()) |
221 | 210 |
|
222 | 211 | # todo: update trix at the end |
223 | 212 |
|
|
0 commit comments