From 219d82fb9951d5624a6df41c6abf631348bf6c1d Mon Sep 17 00:00:00 2001 From: alexasteiner <93168036+alexasteiner@users.noreply.github.com> Date: Wed, 23 Aug 2023 11:35:05 -0400 Subject: [PATCH 1/2] Update the primary keys --- tap_linkedin_ads/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_linkedin_ads/streams.py b/tap_linkedin_ads/streams.py index 6bcdb0d..9625c66 100644 --- a/tap_linkedin_ads/streams.py +++ b/tap_linkedin_ads/streams.py @@ -166,7 +166,7 @@ class AdAnalyticsByCampaignInit(LinkedInAdsStream): name = "AdAnalyticsByCampaignInit" replication_keys = ["dateRange"] replication_method = "incremental" - primary_keys = ["campaign_id", "dateRange"] + primary_keys = ["campaign_id", "day"] path = "adAnalytics" schema = PropertiesList( From 4f1acf648d1a477e6a344590dc1a4d2784c92d09 Mon Sep 17 00:00:00 2001 From: alexasteiner <93168036+alexasteiner@users.noreply.github.com> Date: Thu, 7 Sep 2023 10:15:22 -0500 Subject: [PATCH 2/2] Update streams.py --- tap_linkedin_ads/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_linkedin_ads/streams.py b/tap_linkedin_ads/streams.py index 9625c66..0fc5333 100644 --- a/tap_linkedin_ads/streams.py +++ b/tap_linkedin_ads/streams.py @@ -1274,7 +1274,7 @@ class AdAnalyticsByCreativeInit(LinkedInAdsStream): name = "AdAnalyticsByCreativeInit" replication_keys = ["dateRange"] replication_method = "incremental" - primary_keys = ["creative_id", "dateRange"] + primary_keys = ["creative_id", "day"] path = "adAnalytics" schema = PropertiesList(