Skip to content
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

Closed
wants to merge 7 commits into from

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz commented Dec 29, 2021

Are you a current Fivetran customer?

Fivetran created PR

What change(s) does this PR introduce?

This PR adds the advertiser_history model into the ad_adapter final. This allows for the advertiser name to be carried through. This advertiser_name will then be used to provide the account_name to the final roll up report in the ad_reporting package.

Does this PR introduce a breaking change?

  • Yes (please provide breaking change details below.)
  • No (please provide explanation how the change is non breaking below.)

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?

  • CircleCi
  • Other (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

  • BigQuery
  • Redshift
  • Snowflake
  • Postgres
  • Databricks
  • Other (provide details below)

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.

), joined as (

select
report.date_day as campaign_date,
advertiser.advertiser_id,
Copy link
Contributor

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:

  1. Is advertiser_id meant to be similar to account_id in other ad sources?
  2. 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.

Copy link
Contributor Author

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.

@fivetran-joemarkiewicz fivetran-joemarkiewicz requested a review from a team January 4, 2022 19:51
Copy link
Contributor

@fivetran-sheringuyen fivetran-sheringuyen left a 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-joemarkiewicz
Copy link
Contributor Author

@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.

@fivetran-joemarkiewicz
Copy link
Contributor Author

This will be integrated into PR #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants