This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Repository navigation
v0.11.0 dbt_pinterest_source
·
4 commits
to main
since this release
PR #33 includes the following BREAKING CHANGE updates:
Feature Updates: Native Conversion Support
- We have added the following source fields to each
stg_pinterest_ads__<entity>_reportmodel:total_conversions: The sum of all website conversion events.total_conversions_quantity: The total count of items or units involved in conversions.total_conversions_value(converted fromtotal_conversions_value_in_micro_dollar) Total order value associated with conversions.
- In the event that you were already passing the above fields in via our passthrough columns, the package will dynamically avoid "duplicate column" errors.
The above new field additions are breaking changes for users who were not already bringing in conversion fields via passthrough columns.
Under the Hood
- Created
pinterest_ads_fill_pass_through_columnsandpinterest_ads_add_pass_through_columnsmacros to ensure that the new conversion fields are backwards compatible with users who have already included them via passthrough fields. - Explicitly casts
<entity>_idfields as strings in:stg_pinterest_ads__ad_group_historystg_pinterest_ads__ad_group_reportstg_pinterest_ads__advertiser_historystg_pinterest_ads__advertiser_reportstg_pinterest_ads__campaign_historystg_pinterest_ads__campaign_reportstg_pinterest_ads__keyword_historystg_pinterest_ads__keyword_reportstg_pinterest_ads__pin_promotion_historystg_pinterest_ads__pin_promotion_report
- Updated seed data to represent an e-commerce customer scenario.
- Coalesces
spendwith 0 to ensure proper downstream aggregations.
Documentation
- Updates the DECISIONLOG to clarify why there exist differences among aggregations across different grains.
Contributors
Full Changelog: v0.10.1...v0.11.0