-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add the new Facebook API v10.0 fields to the ads_insights schema. #3646 #3693
Conversation
…rsions" fields and add other available fields that have been tested and confirmed to work.
/test connector=source-facebook-marketing
|
/publish connector=connectors/source-facebook-marketing
|
/publish connector=connectors/source-facebook-marketing
|
8d4712c
to
590f52c
Compare
/publish connector=connectors/source-facebook-marketing
|
/publish connector=connectors/source-facebook-marketing
|
/publish connector=connectors/source-facebook-marketing
|
Unfortunately, after hours of debugging, I can only confirm that there is still a problem with Insight schemas, API simply returns an error (Job Failed) for all streams with breakdowns. This error has nothing to do with call rate handling. My other PR #3743 has fixes for call rate handling but it is blocked because of the above issues with this PR. @zestyping I can see that there is quite a big difference in requested fields between your script and this PR. |
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.
@eugene-kulak are the issues appearing for all streams? insights? insight with breakdown?
@@ -8,3 +8,6 @@ Allow configuring insights lookback window (#3396) | |||
|
|||
## 0.2.6 | |||
Fix handling call rate limit (#3525) | |||
|
|||
## 0.2.7 | |||
Add missing fields to AdInsights streams (#3693) |
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.
wrong order in the changelog. should be reverse chrono
Hey @keu, are we possibly looking at different files? Here's the Python script that I tested, that works and downloads the data quickly (for context, see #3525): Here's the JSON schema definition in this PR for the plain ads_insights stream, without segmentation: And here's how I convinced myself that the field lists are identical. Step 1. Get the list from the first file:
Step 2. Get the list from the second file:
Step 3. Compare.
Let me know if I've missed something or made an error, or if there is anything I can provide to help unblock you. Thanks! |
@zestyping you are absolutely right, I misinterpreted your scripts. I nailed the problem to the single stream - |
Interesting! Maybe Facebook just doesn't like combining those breakdowns together. Thanks so much for carrying this forward! |
/publish connector=connectors/source-facebook-marketing
|
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.
brilliant -- thanks @eugene-kulak. Great work 👍🏼
What
original PR #3646
closes #3645
all credits to @zestyping
How
Describe the solution
Pre-merge Checklist
Recommended reading order
test.java
component.ts