Source Facebook Marketing: Add lookback window to insights streams - #12402
Conversation
|
Sherif A. Nada (@sherifnada) I made this Draft related to #9805 |
|
Vladimir remar (@vladimir-remar) this is ready to review? |
|
Serhii Lazebnyi (@lazebnyi) can you check the implementation Vladimir remar (@vladimir-remar) is doing for Facebook Marketing? |
| ), | ||
| ) | ||
|
|
||
| insights_lookback_window: Optional[PositiveInt] = Field( |
There was a problem hiding this comment.
we should make this default_insights_lookback_window and apply it only to the default insights synced by this connector, and separately we should allow configuring this on a per-insight level in the custom insights
There was a problem hiding this comment.
thanks for your patience I will work on this ASAP.
There was a problem hiding this comment.
Hey Vladimir remar (@vladimir-remar) I'm not sure you ended up implementing Sherif A. Nada (@sherifnada) suggestion. Is anything blocking you from going in the suggested direction?
There was a problem hiding this comment.
Hello Augustin (@alafanechere), maybe I'm wrong, I just replicate the same approach in the custom insight part.
| ), | ||
| ) | ||
|
|
||
| insights_lookback_window: Optional[PositiveInt] = Field( |
There was a problem hiding this comment.
Hey Vladimir remar (@vladimir-remar) I'm not sure you ended up implementing Sherif A. Nada (@sherifnada) suggestion. Is anything blocking you from going in the suggested direction?
There was a problem hiding this comment.
Vladimir remar (@vladimir-remar) I think you're right, Sherif A. Nada (@sherifnada)'s concern is addressed, 👍 I'm requesting change as I think you need to update unit tests to cover your changes. This connector is in General Availability, meaning we are quite strict in terms of coverage. Could you please bump the connector version in the Dockerfile and update the changelog in facebook-marketing.md?
|
I would also need an additional review from Sherif A. Nada (@sherifnada) or Serhii Lazebnyi (@lazebnyi) 🙏 |
|
/test connector=connectors/source-facebook-marketing
|
|
Augustin (@alafanechere) I think Serhii Chvaliuk (@grubberr) can help with review. Already discussed with him about that. He working now on FB marketing. |
|
Vladimir remar (@vladimir-remar) please also fix unit_tests |
|
/test connector=connectors/source-facebook-marketing
Build FailedTest summary info: |
|
Hey Serhii Chvaliuk (@grubberr) do you have an idea why tests are failing now after passing yesterday? Did you merge master in the branch? |
Augustin (@alafanechere) Yes I did today after see the conflict. |
|
Vladimir remar (@vladimir-remar) I think unit_tests failed because the master branch changed and you need to synchronise your code base with the latest updates in the master |
|
/test connector=connectors/source-facebook-marketing
Build PassedTest summary info: |
…d_updated and test_completed_slices_in_lookback_period
|
/test connector=connectors/source-facebook-marketing
Build PassedTest summary info: |
Augustin (alafanechere)
left a comment
There was a problem hiding this comment.
Thank you Serhii Chvaliuk (@grubberr) for the review and Vladimir remar (@vladimir-remar) for the changes! I'm now waiting for Andy (@misteryeo) approval to publish and merge.
|
/publish connector=connectors/source-facebook-marketing
|
|
Thank you Vladimir remar (@vladimir-remar) for the contribution! The new connector version is now published and I'm going to merge this PR. |
What
Bring back the possibility to set up an attribution window.
Let say the users will not use all the data retrieve from the insight stream and just use part of it (e.g., spend) in some cases
set a
looback_windowshort than 28 days would help the users by reducing the sync time.How
Set value for
insights_lookback_windowthrought config.Recommended reading order
x.javay.python🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret./gradlew :airbyte-integrations:connectors:<name>:integrationTest.README.mdbootstrap.md. See description and examplesdocs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing/publishcommand described hereTests
Unit
Put your unit tests output here.
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.