-
Notifications
You must be signed in to change notification settings - Fork 3
Feature update/geo reports #10
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
Conversation
fivetran-reneeli
left a comment
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.
Just had few comments! Can also make the README alignment and LICENSE updates
| description: '{{ doc("impressions") }}' | ||
| - name: region | ||
| description: '{{ doc("region") }}' | ||
| - name: spend |
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.
note that spend in the src.yml is the preconverted amount so still in millis, since I noticed the definition in the doc is post converted
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.
oops disregard this
Co-authored-by: Renee Li <91097070+fivetran-reneeli@users.noreply.github.com>
fivetran-reneeli
left a comment
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.
LGTM
fivetran-joemarkiewicz
left a comment
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.
A few requests before approval
| {"name": "campaign_id", "datatype": dbt.type_string()}, | ||
| {"name": "clicks", "datatype": dbt.type_int()}, | ||
| {"name": "country", "datatype": dbt.type_string()}, | ||
| {"name": "date", "datatype": "date"}, |
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.
Is there a reason we still have this date field if we're doing the conditional below to alias?
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.
It looks like when we've done this before, we don't include the original column in the first set (ref)
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.
I was following the format of the other existing models in this package (example). Should they all be updated?
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.
Huh, let's leave for now since it doesn't seem to be causing any issues. I imagine this is some code that's just not being used. We can keep this as is to adhere to the approach used in the existing models. However, can you create a FR for us to investigate in a future update.
CHANGELOG.md
Outdated
|
|
||
| ## Features | ||
| - Added the following vars to enable/disable the new sources. See the [README](https://github.com/fivetran/dbt_reddit_ads_source/blob/main/README.md#Step-4-Enable-disable-models-and-sources) for more details. | ||
| - `reddit_ads_campaign_country_report_enabled` |
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.
All the other ad reporting packages follow the following format for enable/disable variables:
<platform_name>__using_<table_name>In order to ensure consistency across packages, we should update the campaign_country_conversions and campaign_country variables to be the following:
vars:
reddit_ads__using_campaign_country_report: true
reddit_ads__using_campaign_country_conversions_report: trueThere 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.
I was following the format of ad_reporting__reddit_ads_enabled, but I can update.
fivetran-joemarkiewicz
left a comment
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.
LGTM
PR Overview
Package version introduced in this PR:
This PR addresses the following Issue/Feature(s):
Summary of changes:
Submission Checklist
Changelog