From 28c52d404aaf363327b8761131dc61ef900bc9ef Mon Sep 17 00:00:00 2001 From: Alex Bair Date: Mon, 20 Oct 2025 12:04:38 -0400 Subject: [PATCH] source-bing-ads: patch `accounts` and `ad_groups` streams The schema the connector uses for these streams aren't quite right, and we've had to make changes to the `accounts.LinkedAgencies` and `ad_groups.UrlCustomParameters` schemas to match the data sent back by the API. --- .../streams/accounts.patch.json | 3 ++ .../streams/ad_groups.patch.json | 44 ++++++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-bing-ads/streams/accounts.patch.json b/airbyte-integrations/connectors/source-bing-ads/streams/accounts.patch.json index 734b895d2ef7..cdb7d725ada3 100644 --- a/airbyte-integrations/connectors/source-bing-ads/streams/accounts.patch.json +++ b/airbyte-integrations/connectors/source-bing-ads/streams/accounts.patch.json @@ -2,6 +2,9 @@ "properties": { "Id": { "type": ["null", "integer"] + }, + "LinkedAgencies": { + "type": ["null", "object"] } } } diff --git a/airbyte-integrations/connectors/source-bing-ads/streams/ad_groups.patch.json b/airbyte-integrations/connectors/source-bing-ads/streams/ad_groups.patch.json index e116f88b0f48..c9540b8425cf 100644 --- a/airbyte-integrations/connectors/source-bing-ads/streams/ad_groups.patch.json +++ b/airbyte-integrations/connectors/source-bing-ads/streams/ad_groups.patch.json @@ -38,6 +38,48 @@ } } } - } + }, + "UrlCustomParameters": { + "properties": { + "Parameters": { + "properties": { + "CustomParameter": { + "items": { + "properties": { + "key": { + "type": [ + "null", + "string" + ] + }, + "value": { + "type": [ + "null", + "string" + ] + } + }, + "type": [ + "null", + "object" + ] + }, + "type": [ + "null", + "array" + ] + } + }, + "type": [ + "null", + "object" + ] + } + }, + "type": [ + "null", + "object" + ] + } } }