From 216413efe98b14154c531b289ae41486e224dd91 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Thu, 25 Jan 2024 13:45:04 +0000 Subject: [PATCH] source-facebook-marketing: update keys for ads_insights breakdowns --- .../ads_insights_age_and_gender.patch.json | 28 +++++++------- .../ads_insights_age_and_gender.pk.json | 2 +- .../streams/ads_insights_country.patch.json | 23 ++++++------ .../streams/ads_insights_country.pk.json | 2 +- .../streams/ads_insights_dma.patch.json | 23 ++++++------ .../streams/ads_insights_dma.pk.json | 2 +- ...ds_insights_platform_and_device.patch.json | 37 ++++++++++--------- .../ads_insights_platform_and_device.pk.json | 2 +- .../streams/ads_insights_region.patch.json | 23 ++++++------ .../streams/ads_insights_region.pk.json | 2 +- 10 files changed, 76 insertions(+), 68 deletions(-) diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.patch.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.patch.json index a965325a2b0f..24d066819cf5 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.patch.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.patch.json @@ -1,15 +1,17 @@ { - "properties": { - "age": { - "type":["string", "null"] - }, - "gender": { - "type":["string", "null"] - } - }, - "required": [ - "date_start", - "account_id", - "ad_id" + "properties": { + "age": { + "type":["string"] + }, + "gender": { + "type":["string"] + } + }, + "required": [ + "date_start", + "account_id", + "ad_id", + "age", + "gender" ] - } \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.pk.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.pk.json index a63555b57d32..f8ca1cda2b43 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.pk.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_age_and_gender.pk.json @@ -1 +1 @@ -["date_start", "account_id", "ad_id"] \ No newline at end of file +["date_start", "account_id", "ad_id", "age", "gender"] diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.patch.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.patch.json index 6dc7ee3a075f..1c3119ca8651 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.patch.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.patch.json @@ -1,12 +1,13 @@ { - "properties": { - "country": { - "type":["string", "null"] - } - }, - "required": [ - "date_start", - "account_id", - "ad_id" - ] - } \ No newline at end of file + "properties": { + "country": { + "type":["string"] + } + }, + "required": [ + "date_start", + "account_id", + "ad_id" , + "country" + ] +} diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.pk.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.pk.json index a63555b57d32..4f3a59d30c9d 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.pk.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_country.pk.json @@ -1 +1 @@ -["date_start", "account_id", "ad_id"] \ No newline at end of file +["date_start", "account_id", "ad_id", "country"] diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.patch.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.patch.json index d5ad96c5b27d..87d099781c36 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.patch.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.patch.json @@ -1,12 +1,13 @@ { - "properties": { - "dma": { - "type":["string", "null"] - } - }, - "required": [ - "date_start", - "account_id", - "ad_id" - ] - } \ No newline at end of file + "properties": { + "dma": { + "type":["string"] + } + }, + "required": [ + "date_start", + "account_id", + "ad_id" , + "dma" + ] +} diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.pk.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.pk.json index a63555b57d32..6b4052abe129 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.pk.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_dma.pk.json @@ -1 +1 @@ -["date_start", "account_id", "ad_id"] \ No newline at end of file +["date_start", "account_id", "ad_id", "dma"] diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.patch.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.patch.json index c6ff4b863887..9ae62b3bfbc2 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.patch.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.patch.json @@ -1,18 +1,21 @@ { - "properties": { - "publisher_platform": { - "type":["string", "null"] - }, - "platform_position": { - "type":["string", "null"] - }, - "impression_device": { - "type":["string", "null"] - } - }, - "required": [ - "date_start", - "account_id", - "ad_id" - ] - } \ No newline at end of file + "properties": { + "publisher_platform": { + "type":["string"] + }, + "platform_position": { + "type":["string"] + }, + "impression_device": { + "type":["string"] + } + }, + "required": [ + "date_start", + "account_id", + "ad_id" , + "publisher_platform", + "platform_position", + "impression_device" + ] +} diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.pk.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.pk.json index a63555b57d32..30993d77f504 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.pk.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_platform_and_device.pk.json @@ -1 +1 @@ -["date_start", "account_id", "ad_id"] \ No newline at end of file +["date_start", "account_id", "ad_id", "publisher_platform", "platform_position", "impression_device"] diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.patch.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.patch.json index 9e2381dd83cc..804dfea829ad 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.patch.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.patch.json @@ -1,12 +1,13 @@ { - "properties": { - "region": { - "type":["string", "null"] - } - }, - "required": [ - "date_start", - "account_id", - "ad_id" - ] -} \ No newline at end of file + "properties": { + "region": { + "type":["string"] + } + }, + "required": [ + "date_start", + "account_id", + "ad_id", + "region" + ] +} diff --git a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.pk.json b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.pk.json index a63555b57d32..93b061d1ab7b 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.pk.json +++ b/airbyte-integrations/connectors/source-facebook-marketing/streams/ads_insights_region.pk.json @@ -1 +1 @@ -["date_start", "account_id", "ad_id"] \ No newline at end of file +["date_start", "account_id", "ad_id", "region"]