Closed fivetran-jamie closed 1 week ago
@fivetran-jamie @fivetran-joemarkiewicz Now might be a good time to delete the defunct 2nd reviewer bot.
@fivetran-jamie @fivetran-joemarkiewicz Now might be a good time to delete the defunct 2nd reviewer bot.
Agreed! @fivetran-jamie would you be able to remove that from this branch.
Great effort! Looking forward to this release.
FYI for anyone subscribed here, this is currently blocked.
We are working with Engineering to ensure that the conversion monetary values (action_values
) are included in a default report and therefore accessible to the package (currently, only the raw # of conversions are supported by the basic_ad_actions
report).
I noticed I ran into a similar error from before where I run into an issue when trying to passthrough a default conversion value from this PR into the facebook_ads__basic_ad_passthrough_metrics variable. Would you be able to look into this and confirm if this is intentional or if there are some adjustments we need to make to this logic within the models.
@fivetran-joemarkiewicz Yeah this is the expected behavior, as conversions are explicitly not included in basic_ad
according to our docs. However, I suppose there is nothing stopping someone from adding conversions
as a passthrough field, even if null (especially if they were using passthrough columns to add conversions to the ad_reporting models).
To avoid duplicate column errors, we can employ the same _c
suffix method as ad_reporting, or we can just choose to select our version of conversions
since any previous field was likely null
conversions are explicitly not included in basic_ad according to our docs.
Thanks for calling this out @fivetran-jamie! I was going through and stress testing so I see how I tested something that realistically should never occur. I would recommend if the conversion fields should not exist in the BASIC_AD table, then I feel comfortable giving our default value the preference and not including the _c
field name as it will most likely be null.
Thanks for clarifying this!
PR Overview
This PR will address the following Issue/Feature: no issue made for conversions + https://github.com/fivetran/dbt_facebook_ads/issues/42
This PR will result in the following new package version:
v0.8.0
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
Feature Updates
Introducing...conversion metrics (PR #43)!
conversion_value
field to each_report
end model, representing the value of conversions (calculated using the default attribution window set in Meta) that occurred on each day for each ad/campaign/ad set/url/account.facebook_ads__basic_ad_actions_passthrough_metrics
variable to pass through additional conversion value metrics that are calculated using different attribution windows.Documentation
facebook_ads__basic_ad_passthrough_metrics
variable. See README for details (PR #43).Under the Hood
quickstart.yml
file to allow for automated Quickstart data model deployments (PR #40).PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
Before marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
Tests are passing
conversion_value
from each_report
end modelclicks
,impressions
, andspend
across dev and prod in each of the_report
modelsNo exceptions needed, just a teeny tiny buffer to account for differences in rounding