diff --git a/airbyte-integrations/connectors/source-google-ads/setup.py b/airbyte-integrations/connectors/source-google-ads/setup.py index a3dc1bd13ad4..677fbed1a88c 100644 --- a/airbyte-integrations/connectors/source-google-ads/setup.py +++ b/airbyte-integrations/connectors/source-google-ads/setup.py @@ -7,7 +7,7 @@ # pin protobuf==3.20.0 as other versions may cause problems on different architectures # (see https://github.com/airbytehq/airbyte/issues/13580) -MAIN_REQUIREMENTS = ["airbyte-cdk>=0.2.2", "google-ads==22.1.0", "protobuf", "pendulum"] +MAIN_REQUIREMENTS = ["airbyte-cdk==0.67", "google-ads==22.1.0", "protobuf", "pendulum"] TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock", "freezegun", "requests-mock"] diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py b/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py index f91ecdd9d454..1f7a880c7942 100644 --- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py +++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py @@ -296,7 +296,7 @@ class Campaigns(IncrementalGoogleAdsStream): """ transformer = TypeTransformer(TransformConfig.DefaultSchemaNormalization) - primary_key = ["campaign.id", "segments.date", "segments.hour"] + primary_key = ["campaign.id", "segments.date", "segments.hour", "segments.ad_network_type"] class CampaignLabels(GoogleAdsStream):