Skip to content

Releases: fivetran/dbt_ad_reporting

v1.11.0 dbt_ad_reporting

18 Dec 18:31
e3cc112
Compare
Choose a tag to compare

Breaking Changes

LinkedIn Ads

  • The dbt_linkedin dependency has been updated to [">=0.10.0", "<0.11.0"], and the dbt_linkedin_source dependency has been updated to [">=0.10.0", "<0.11.0"]. These upstream versions introduce breaking changes. For details, refer to the dbt_linkedin_source v0.10.0 and dbt_linkedin v0.10.0 release notes. (PR #120)
    • Added the click_uri_type field to the following models. This field allows users to differentiate which click uri type (text_ad or spotlight) was used to populate the click_uri field.
      • stg_linkedin_ads__creative_history
      • linkedin_ads__creative_report
      • linkedin_ads__url_report
      • Note: Only text_ad and spotlight click URI types are supported. To request support for additional types, submit a Feature Request.
    • The click_uri field now populates values using a COALESCE of text_ad_landing_page, spotlight_landing_page, and click_uri. For details, refer to the dbt_linkedin_source v0.10.0 release notes. (PR #120)

TikTok Ads

  • The dbt_tiktok_ads dependency has been updated to [">=0.7.0", "<0.8.0"], and the dbt_tiktok_source dependency has been updated to [">=0.7.0", "<0.8.0"]. These upstream versions introduce breaking changes. For details, refer to the dbt_tiktok_ads_source v0.7.0 and dbt_tiktok_ads v0.7.0 release notes. (PR #127)
  • The age column in the ADGROUP_HISTORY table was renamed to age_groups in the July 2023 TikTok update. (PR #127)
    • Previously, the stg_tiktok_ads__ad_group_history model coalesced age and age_groups to handle legacy data. Due to incompatible data types (string and JSON), this coalesced field has been removed in favor of solely the age_groups column.
    • To populate historical data in the age_groups column, perform a resync of the ADGROUP_HISTORY table. TikTok provides all data regardless of the previous sync state.
    • For more details, see the Tiktok Ads DECISIONLOG.

Documentation Changes

  • Improved README structure by moving the Ad Reporting heading above the README tags and aligning it to the left. (PR #124)

Under the Hood

  • Added consistency validation tests for the following models to enhance integration testing (used internally by Fivetran maintainers) (PR #127):
    • ad_reporting__ad_report
    • ad_reporting__url_report

Contributors

Full Changelog: v1.10.0...v1.11.0

v1.10.0 dbt_ad_reporting

20 Nov 16:25
ab30c27
Compare
Choose a tag to compare

PR #122 introduces the following BREAKING CHANGES:

Feature Updates: Native Conversion Support

  • Added conversions and conversions_value fields to each Ad Reporting end model.
    • BREAKING: In the event that you were already including conversions through passthrough variables and called your field(s) conversions and/or conversions_value, your old fields will still be included, but they will be suffixed with a _c, while the new default conversion fields will take precedence as conversions and conversions_value
    • For some platforms, conversions data is sent along with the type of event the metrics are attributed to (ie purchases, leads, sign ups). We have largely chosen to consider purchases, leads, and custom-defined events to be conversions. However, you may configure this at each individual platform level for the following packages:
Platform Variable Default Values How to Use
Facebook Ads facebook_ads__conversion_action_types offsite_conversion.fb_pixel_custom + offsite_conversion.fb_pixel_lead + onsite_conversion.lead_grouped + offsite_conversion.fb_pixel_purchase + onsite_conversion.purchase Configuring Conversion Action Types
LinkedIn Ad Analytics linkedin_ads__conversion_fields external_website_conversions + one_click_leads Adding in Conversion Fields
Reddit Ads reddit_ads__conversion_event_types lead + purchase + custom Configure Conversion Event Types
Snapchat Ads snapchat_ads__conversion_fields conversion_purchases Configuring Conversion Fields
Twitter Ads twitter_ads__conversion_fields AND twitter_ads__conversion_sale_amount_fields conversion_purchases_metric + conversion_custom_metric AND conversion_purchases_sale_amount + conversion_custom_sale_amount Customizing Types of Conversions

Under the Hood

  • Created data validation tests to be used by package maintainers to verify this and future releases.

Contributors

Full Changelog: v1.9.0...v1.10.0

v1.9.0 dbt_ad_reporting

30 Jul 20:25
8a6da2f
Compare
Choose a tag to compare

Under the Hood

  • Addition of an blank line between the quoted line and the comment.

Under the Hood

  • Addition of a section tag within the README so the model descriptions may be accessible within the Fivetran UI for Quickstart. (PR #113)
  • Upticked the google_ads and linkedin_ads dependencies following major releases in both packages in which conversion metrics have been added. Refer to the individual package release notes for more details (Google Ads, Linkedin Ads). (PR #115)
    • Note: Default conversions have not been added to ad_reporting models yet, as we are rolling out conversion support to all upstream Ad packages first.

Contributors

Full Changelog: v1.8.0...v1.9.0

v1.8.0 dbt_ad_reporting

15 Jul 16:27
c7f24aa
Compare
Choose a tag to compare

PR #112 includes the following update:

Dependency Updates

  • Tiny update which upticks the microsoft_ads dependency following a recent major release. Refer to the Microsoft Ads v0.8.0 release notes for what exact updates have been included.

Full Changelog: v1.7.1...v1.8.0

v1.7.1 dbt_ad_reporting

30 Apr 20:14
f880560
Compare
Choose a tag to compare

Bug Fixes

  • Adjust the severity of the account_id test in ad_reporting__account_report to warn. This is required since Snapchat can hard-delete records from the history tables, but not from the reporting tables. This ensures that accurate statistics are being reported and production pipelines aren't failing (PR #110).

Under the Hood

  • Updated the pull request templates (PR #110).
  • Included auto-releaser GitHub Actions workflow to automate future releases (PR #110).

Contributors

Full Changelog: v1.7.0...v1.7.1

v1.7.0 dbt_ad_reporting

13 Oct 14:37
200e4f3
Compare
Choose a tag to compare

PR #103 includes the following update.

Breaking changes

  • Identifiers for the following packages have been updated for consistency with the source name and compatibility with the union schema feature. See the package's changelog for a full list of changes.

  • Linkedin ads updates:

    • Updated materializations of dbt_linkedin non-tmp staging models from views to tables. This is to bring the materializations into alignment with other ad reporting packages and eliminate errors in Redshift.
    • Updated the name of the source created by dbt_linkedin_source from linkedin to linkedin_ads. This was to bring the naming used in this package in alignment with our other ad packages and for compatibility with the union schema feature. If you are using this source, you will need to update the name.

Feature update 🎉

Full Changelog: v1.6.1...v1.7.0

v1.6.1 dbt_ad_reporting

09 Oct 14:29
81c1010
Compare
Choose a tag to compare

Updates

  • Renames the semantic model from ad_reporting__ad_report --> ad_report in order to avoid the dunder(__) keyword. (PR #105)

Contributors

Full Changelog: v1.6.0...v1.6.1

v1.6.0 dbt_ad_reporting

10 Aug 18:27
a8c6acc
Compare
Choose a tag to compare

PR #100 includes the following updates:

🚨 New dbt-core version requirement 🚨

  • Updated the metrics spec to reflect the new spec in dbt-core 1.6.0. As a result, the new required dbt version is [">=1.6.0", "<2.0.0"]. Be sure to upgrade your dbt-core version when upgrading this package to avoid dbt version compatibility errors.

Feature Updates

  • Added ad_reporting__ad_report.yml semantic model which is required to define metrics.
  • Included metricflow_time_spine.sql which is required by Metricflow. This will be deprecated in future releases. If you have already created a metricflow_time_spine.sql model in your project, you will need to disable it for this package by setting the variable ad_reporting__metricflow_time_spine_enabled to false in your project.
## root dbt_project.yml
vars:
  ad_reporting__metricflow_time_spine_enabled: false ## true by default

Under the Hood

  • Added a new variable dbt_date:time_zone which is used by the dbt_date.get_base_dates macro within the metricflow_time_spine model. This variable is nested under the ad_reporting hierarchy in the variables config and should not affect any global declarations if you leverage the dbt_date package in your own environment.
    • The default value of this variable is America/Los_Angeles, but you may be able override this in your own root project.
## root dbt_project.yml
vars:
  "dbt_date:time_zone": "America/Chicago" # Default is "America/Los_Angeles"

Documentation

  • Please be aware that due to a bug in dbt-core v1.6.0 the docs were not regenerated as part of this release. You can expect a new release in the future with the regenerated docs that contain these updates.

Contributors

Full Changelog: v1.5.0...v1.6.0

v1.5.0 dbt_ad_reporting

26 Jul 22:11
736eb67
Compare
Choose a tag to compare

🚨 Breaking Changes 🚨

PR #98 includes the following changes based on the underlying individual package upgrades:

Bug Fixes

  • Adding the correct variable name in ad_reporting__url_report for passthrough metrics. (PR #96)

Contributors

Full Changelog: v1.4.0...v1.5.0

v1.4.0 dbt_ad_reporting

13 Jun 14:26
cb0738c
Compare
Choose a tag to compare

🎉 Feature Enhancement 🎉

  • Added ad_reporting__<report>_passthrough_metrics variables to easily add common metrics across all platforms into the ad_reporting models! This allows metrics other than the standard clicks, impressions, and cost to be included in the final ad reporting models. See below for a full list of new variables and example metrics to passthrough. (PR #85)
    • It is important to call out that this is only possible if the relevant upstream Ad platform variables have the same metric to be unioned in the roll up model. Please see the README section for details around how to configure the passthrough metrics.
    • Please ensure you exercised due diligence when adding metrics to these models. The metrics added by default (clicks, impressions, and cost) have been vetted by the Fivetran team maintaining this package for accuracy. There are metrics included within the source reports, for example metric averages, which may be inaccurately represented at the grain for reports created in this package. You will want to ensure whichever metrics you pass through are indeed appropriate to aggregate at the respective reporting levels provided in this package.
vars:
  ad_reporting__account_passthrough_metrics:
    - name: conversions
    - name: view_through_conversions
  ad_reporting__campaign_passthrough_metrics: 
    - name: total_shares
    - name: conversions
  ad_reporting__ad_group_passthrough_metrics:
    - name: conversions
    - name: interactions
  ad_reporting__ad_passthrough_metrics: ## For both Ad and URL reports
    - name: conversions
    - name: video_views_captured
  ad_reporting__keyword_passthrough_metrics:
    - name: interactions
  ad_reporting__search_passthrough_metrics:
    - name: conversions
    - name: local_spend_amount
  • Addition of the pinterest__using_keywords (default=true) variable that allows users to disable the relevant keyword reports in the downstream Pinterest models if they are not used. (PR #89)

Under the Hood:

  • Incorporated the new fivetran_utils.drop_schemas_automation macro into the end of each Buildkite integration test job. (PR #86)
  • Updated the pull request templates. (PR #86)

Contributors

Full Changelog: v1.3.1...v1.4.0