From 4833e48460562cbb03751a0a04ca23f57822f21a Mon Sep 17 00:00:00 2001 From: Artem Inzhyyants Date: Mon, 7 Aug 2023 19:58:51 +0200 Subject: [PATCH 1/2] Source LinkedIn Ads: fix empty accounts --- .../source-linkedin-ads/source_linkedin_ads/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/streams.py b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/streams.py index 3ef2937b714a2f..59581a04961115 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/streams.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/streams.py @@ -47,7 +47,7 @@ def _get_date_time_items_from_schema(self): @property def accounts(self): """Property to return the list of the user Account Ids from input""" - return ",".join(map(str, self.config.get("account_ids"))) + return ",".join(map(str, self.config.get("account_ids", []))) def path( self, From 3cbbf44ec9a827c6d5f3af17d43c40edfd838024 Mon Sep 17 00:00:00 2001 From: Artem Inzhyyants Date: Mon, 7 Aug 2023 23:20:44 +0200 Subject: [PATCH 2/2] Source LinkedIn Ads: bump version + docs update --- airbyte-integrations/connectors/source-linkedin-ads/Dockerfile | 2 +- .../connectors/source-linkedin-ads/metadata.yaml | 2 +- docs/integrations/sources/linkedin-ads.md | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/airbyte-integrations/connectors/source-linkedin-ads/Dockerfile b/airbyte-integrations/connectors/source-linkedin-ads/Dockerfile index e1d2caade2078b..6d459ca3f0d9df 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/Dockerfile +++ b/airbyte-integrations/connectors/source-linkedin-ads/Dockerfile @@ -33,5 +33,5 @@ COPY source_linkedin_ads ./source_linkedin_ads ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.3.0 +LABEL io.airbyte.version=0.3.1 LABEL io.airbyte.name=airbyte/source-linkedin-ads diff --git a/airbyte-integrations/connectors/source-linkedin-ads/metadata.yaml b/airbyte-integrations/connectors/source-linkedin-ads/metadata.yaml index 2715c7f7fb7ce3..d374fe0749c8eb 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/metadata.yaml +++ b/airbyte-integrations/connectors/source-linkedin-ads/metadata.yaml @@ -6,7 +6,7 @@ data: connectorType: source definitionId: 137ece28-5434-455c-8f34-69dc3782f451 maxSecondsBetweenMessages: 21600 - dockerImageTag: 0.3.0 + dockerImageTag: 0.3.1 dockerRepository: airbyte/source-linkedin-ads githubIssueLabel: source-linkedin-ads icon: linkedin.svg diff --git a/docs/integrations/sources/linkedin-ads.md b/docs/integrations/sources/linkedin-ads.md index 2d726e0c375119..032dab417f487e 100644 --- a/docs/integrations/sources/linkedin-ads.md +++ b/docs/integrations/sources/linkedin-ads.md @@ -182,7 +182,8 @@ After 5 unsuccessful attempts - the connector will stop the sync operation. In s | Version | Date | Pull Request | Subject | |:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------| -| 0.3.0 | 2023-05-30 | [29045](https://github.com/airbytehq/airbyte/pull/29045) | Add new fields to schemas; convert datetime fields to `rfc3339` | +| 0.3.1 | 2023-08-08 | [29189](https://github.com/airbytehq/airbyte/pull/29189) | Fix empty accounts field | +| 0.3.0 | 2023-08-07 | [29045](https://github.com/airbytehq/airbyte/pull/29045) | Add new fields to schemas; convert datetime fields to `rfc3339` | | 0.2.1 | 2023-05-30 | [26780](https://github.com/airbytehq/airbyte/pull/26780) | Reduce records limit for Creatives Stream | | 0.2.0 | 2023-05-23 | [26372](https://github.com/airbytehq/airbyte/pull/26372) | Migrate to LinkedIn API version: May 2023 | | 0.1.16 | 2023-05-24 | [26512](https://github.com/airbytehq/airbyte/pull/26512) | Removed authSpecification from spec.json in favour of advancedAuth |