PR #7 includes the following BREAKING CHANGE updates:
- Introduces 4 new staging models to bring in conversion metrics (click-through conversions, view-through conversions, total value, and total items) across different dimensions:
stg_reddit_ads__account_conversions_report
stg_reddit_ads__ad_group_conversions_report
stg_reddit_ads__ad_conversions_report
stg_reddit_ads__campaign_conversions_report
Note: If you would like to include conversion metrics, please ensure you have the
account_conversions_report
,ad_group_conversions_report
,ad_conversions_report
, andcampaign_conversions_report
source tables syncing in your Reddit Ads connector(s). Otherwise, the package will run successfully but producenull
conversion metric values.
- Introduces the
<entity>_conversions_passthrough_metrics
variables to allow additional fields from the source*_conversion_report
tables. We use the maximum attribution window when considering conversions and therefore retrieve conversions metrics from theclick_through_conversion_attribution_window_month
(conversions) andview_through_conversion_attribution_window_month
(view_through_conversions) fields from the respective source tables. For information on how to configure these variables to bring in additional windows and fields into thestg_<entity>_conversions_report
models, refer to the README.
- Coalesces each pre-existing metrics (ie
clicks
,impressions
, andspend
) with0
to avoid the complications ofnull
in downstream aggregations. - Adds the respective seed data for the new models in addition to updating relevant documentation.
- Adds documentation explaining potential discrepancies across reporting grains.
PR #5 includes the following updates:
- Unioning capability! This adds the ability to union source data from multiple reddit_ads connectors. Refer to the Union Multiple Connectors README section for more details.
- Updated tmp models to union source data using the
fivetran_utils.union_data
macro. - To distinguish which source each field comes from, added
source_relation
column in each staging model and applied thefivetran_utils.source_relation
macro. - Updated tests to account for the new
source_relation
column. - Incorporated the new
fivetran_utils.drop_schemas_automation
macro into the end of each Buildkite integration test job. - Updated the pull request templates.
- This is the initial release of this package.
- Materializes Reddit Ads staging tables which leverage data in the format described by this ERD. These staging tables clean, test, and prepare your reddit_ads data from Fivetran's connector for analysis by doing the following:
- Names columns for consistency across all packages and for easier analysis
- Adds freshness tests to source data
- Adds column-level testing where applicable. For example, all primary keys are tested for uniqueness and non-null values.
- Generates a comprehensive data dictionary of your Reddit Ads data through the dbt docs site.
- These tables are designed to work simultaneously with our Reddit Ads transformation package.
For more information refer to the README.