-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 Snapchat Marketing: Add ability to break-down the Stats streams by report_dimensions query parameter #30761
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
Hello @pabloescoder, sorry the missing update about your contribution here. I added it to our team backlog and probably they'll return to you in next couple days. I didn't validate the contribution or the method your suggesting to implement the feature. |
Hey @marcosmarxm. Alright sure, no worries! |
Any updates on this @marcosmarxm? |
airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/spec.json
Show resolved
Hide resolved
Connector has migrated to low code - #39507 |
What
Resolves #29948
Added functionality to break down the reports generated by the Snapchat Marketing API by the
report_dimensions
query parameter by fields such as geo (country, region), demographic (gender, age) and so on. This is supported only for thestats
streams (and not the basic streams - see thesource.py
bottom lines for a list of basic vs stats streams).Refer: https://marketingapi.snapchat.com/docs/#reporting-insights-and-dimensions
How
Currently we are fetching all the metrics that are available for a particular stats stream. Different
report_dimensions
parameters support different metrics. Some only support delivery metrics, while others support both delivery and conversion metrics. (See the above link for more info, including delivery vs. conversion metrics).I added a new (optional) field in
spec.json
for specifying thereport_dimension
. When adding a source, users can specify a report_dimension or leave it empty. If users specify a report_dimension, then only the metrics supported by that report_dimension will be added to the query parameter, if the user leaves it blank then all the metrics will be added to the query parameter (same behaviour as before).Recommended reading order
airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/source.py
airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/spec.json
airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/schemas/basic_stats.json
🚨 User Impact 🚨
No breaking changes.
Pre-merge Actions
Updating a connector
### Community member or AirbyterAll 14 unit tests passed.
Need help with credentials for running integration tests.