-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature/advertiser addition #19
Conversation
), joined as ( | ||
|
||
select | ||
report.date_day as campaign_date, | ||
advertiser.advertiser_id, |
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 couple of q's:
- Is advertiser_id meant to be similar to account_id in other ad sources?
- If yes, do you think it'd be beneficial to add advertiser_id & advertiser_name to the other two intermediate tables (ad_group_ad_report & campaign_ad_report)? I notice that we are currently doing that for a couple of other packages e.g. facebook_ads, snapchat.
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.
That's a great point. I think it would be beneficial to bring the advertiser information into these other models. I just added these fields to the other models.
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! Thanks for adding the addtl columns in the other tables!
@fivetran-sheringuyen your above comment got me thinking some more... Before merging this I want to 100% confirm that Advertisers share the same functionality as Accounts in the other ad platforms. With the data we have tested this seems to be the case. However, I want to confirm this is before we move forward with this PR. |
This will be integrated into PR #21 |
Are you a current Fivetran customer?
Fivetran created PR
What change(s) does this PR introduce?
This PR adds the
advertiser_history
model into thead_adapter
final. This allows for the advertiser name to be carried through. Thisadvertiser_name
will then be used to provide theaccount_name
to the final roll up report in thead_reporting
package.Does this PR introduce a breaking change?
This should not be a breaking change. 96% of Fivetran Pinterest customers have the
advertiser_history
model. As such, it would be safe to keep this as a patch upgrade.Is this PR in response to a previously created Issue
How did you test the PR changes?
Select which warehouse(s) were used to test the PR
Provide an emoji that best describes your current mood
🩹
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.