Skip to content

🚨🚨 Source Facebook Marketing: use SDK v17 - #27563

Merged
M. Marx (marcosmarxm) merged 58 commits into
masterfrom
ddavydov/source-facebook-marketing-use-sdk-v17
Jul 6, 2023
Merged

M. Marx (marcosmarxm) merged 58 commits into
masterfrom
ddavydov/source-facebook-marketing-use-sdk-v17

Conversation

@davydov-d

@davydov-d Denys Davydov (davydov-d) commented Jun 21, 2023 •

Copy link
Copy Markdown
Contributor

What

Closes #27746
Move to SDK version 17

How

  • Update SDK version in setup.py
  • Introduce default stream fields: they are not queried from facebook; instead default values should be yielded.
  • Bump version

🚨 User Impact 🚨

This is a breaking change since:

  • AdAccount stream no more exposes a has_advertiser_opted_in_odax field
  • Set of valid fields and breakdowns is changed which makes spec backwards incompatible

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-facebook-marketing test report (commit f39169dddb) - ❌

⏲️ Total pipeline duration: 100 seconds

Step Result
Validate airbyte-integrations/connectors/source-facebook-marketing/metadata.yaml βœ…
Connector version semver check. βœ…
Connector version increment check. βœ…
QA checks βœ…
Code format checks ❌
Connector package install βœ…
Build source-facebook-marketing docker image for platform linux/x86_64 βœ…
Unit tests ❌

πŸ”— View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-facebook-marketing test

@davydov-d Denys Davydov (davydov-d) changed the title ✨ Source Facebook Marketing: use SDK v17 🚨🚨 Source Facebook Marketing: use SDK v17 Jun 22, 2023
@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-facebook-marketing test report (commit 309f1816d2) - ❌

⏲️ Total pipeline duration: 3469 seconds

Step Result
Validate airbyte-integrations/connectors/source-facebook-marketing/metadata.yaml βœ…
Connector version semver check. βœ…
Connector version increment check. βœ…
QA checks βœ…
Code format checks βœ…
Connector package install βœ…
Build source-facebook-marketing docker image for platform linux/x86_64 βœ…
Unit tests βœ…
Integration tests βœ…
Acceptance tests ❌

πŸ”— View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-facebook-marketing test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-facebook-marketing test report (commit 9d5ebbe32c) - βœ…

⏲️ Total pipeline duration: 3557 seconds

Step Result
Validate airbyte-integrations/connectors/source-facebook-marketing/metadata.yaml βœ…
Connector version semver check. βœ…
Connector version increment check. βœ…
QA checks βœ…
Code format checks βœ…
Connector package install βœ…
Build source-facebook-marketing docker image for platform linux/x86_64 βœ…
Unit tests βœ…
Integration tests βœ…
Acceptance tests βœ…

πŸ”— View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-facebook-marketing test

@marcosmarxm M. Marx (marcosmarxm) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davydov-d

Copy link
Copy Markdown
Contributor Author

Thanks Denys Davydov (@davydov-d)

M. Marx (@marcosmarxm) you're welcome. Please follow the "Breaking changes" procedure to release this changes

@jnr0790

Juan (jnr0790) commented Jun 22, 2023 •

Copy link
Copy Markdown
Contributor

Lets release this on July 5th 12:00PM EST. I'm going to send comms to Facebook Marketing users on cloud.

cc Mal Hancock (@archangelic)

@brianjlai

Copy link
Copy Markdown
Contributor

changes look good, but for context, Denys Davydov (@davydov-d) how were the breaking changes that needed to be made to the source identified? did you refer to Meta's changelog, or was it just done by bumping the version and making adjustments based on the CAT tests that failed w/ the new version?

@davydov-d

Copy link
Copy Markdown
Contributor Author

changes look good, but for context, Denys Davydov (@davydov-d) how were the breaking changes that needed to be made to the source identified? did you refer to Meta's changelog, or was it just done by bumping the version and making adjustments based on the CAT tests that failed w/ the new version?

Brian Lai (@brianjlai) second option

@brianjlai Brian Lai (brianjlai) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it thanks for clarifying Denys Davydov (@davydov-d) . I was curious because I glanced through their changelog which was quite unhelpful so was curious how we identified these. lgtm!

@ysusuk

Yuriy Susuk (ysusuk) commented Jul 5, 2023 •

Copy link
Copy Markdown

Hello, is it coming out today? :)

@erica-airbyte

Copy link
Copy Markdown
Contributor

Denys Davydov (@davydov-d) did this go out today?

@davydov-d

Denys Davydov (davydov-d) commented Jul 5, 2023 •

Copy link
Copy Markdown
Contributor Author

Erica D'Souza (@erica-airbyte) looks like it did not as it is not merged. This is a follow-up to the community PR so I asked Marcos to release it

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-facebook-marketing test report (commit dd5fb5a290) - ❌

⏲️ Total pipeline duration: 66mn19s

Step Result
Validate airbyte-integrations/connectors/source-facebook-marketing/metadata.yaml βœ…
Connector version semver check βœ…
Connector version increment check βœ…
QA checks βœ…
Code format checks βœ…
Connector package install βœ…
Build source-facebook-marketing docker image for platform linux/x86_64 βœ…
Unit tests βœ…
Integration tests βœ…
Acceptance tests ❌

πŸ”— View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-facebook-marketing test

@marcosmarxm

M. Marx (marcosmarxm) commented Jul 6, 2023 •

Copy link
Copy Markdown
Contributor

Denys Davydov (@davydov-d) can you check the acceptance test failure?

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-facebook-marketing test report (commit 58ad67d4f1) - βœ…

⏲️ Total pipeline duration: 58mn14s

Step Result
Validate airbyte-integrations/connectors/source-facebook-marketing/metadata.yaml βœ…
Connector version semver check βœ…
Connector version increment check βœ…
QA checks βœ…
Code format checks βœ…
Connector package install βœ…
Build source-facebook-marketing docker image for platform linux/x86_64 βœ…
Unit tests βœ…
Integration tests βœ…
Acceptance tests βœ…

πŸ”— View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-facebook-marketing test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/connectors Connector related issues area/documentation Improvements or additions to documentation checklist-action-run connectors/source/facebook-marketing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Facebook Marketing API App now is version 17.0.0

9 participants