-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Source Facebook Marketing: apply configured statuses to ads insight streams #39439
Merged
maxi297
merged 8 commits into
master
from
issue-36998/ensure-job-retry-have-all-the-ads
Jun 13, 2024
Merged
🐛 Source Facebook Marketing: apply configured statuses to ads insight streams #39439
maxi297
merged 8 commits into
master
from
issue-36998/ensure-job-retry-have-all-the-ads
Jun 13, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
2 tasks
bazarnov
approved these changes
Jun 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a reasonable change. LTGM.
xiaohansong
pushed a commit
that referenced
this pull request
Jun 14, 2024
… streams (#39439) Co-authored-by: williammcguinness <wmcguinness@findoctave.com>
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
connectors/source/facebook-marketing
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Branching off of #37437 to address #36998
Big kudos to @wmcguinn-octave for identifying the issue and providing an initial PR!
How
By forcing all ads statuses as part of the AdsInsights job creation request. That way, we don't rely on the default for each edge (account, campaign, ad sets and ad) but always have the same effective statuses being returned.
Review guide
airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py
airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_insight_streams.py
airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/source.py
airbyte-integrations/connectors/source-facebook-marketing/unit_tests/integration/test_ads_insights_action_product_id.py
User Impact
When the jobs are too big and ad status is deleted or archived, they should still be returned.
Can this PR be safely reverted and rolled back?
TODO