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

set_mediaSpendName when having multiple features for one channel but only one spend #137

Closed
Jakobhenningjensen opened this issue Aug 18, 2021 · 2 comments

Comments

@Jakobhenningjensen
Copy link

Expected Behavior

Say I have records for Facebook_clicks,Facebook_impresisons,google_clicks and google_impressions i.e

set_mediaVarName <- c("facebook_clicks","facebook_impressions","google_clicks","google_impressions").

As far as I understand, set_mediaSpendName is the spend for each record in mediaVarName, but since we get only one bill for each channel i.e one for Facebook and one for Google, we cannot divide our spend for facebook into spend for clicks and spend for impressions. Do we then just set
set_mediaSpendName <- c("facebook_spend", "facebook_spend", "google_spend","google_spend")

or how is this issue handled?

@gufengzhou
Copy link
Contributor

gufengzhou commented Aug 18, 2021

Hi, you should pick either imps or clicks, not both. They're both caused by the same spend, thus it's probably impossible or makes no sense to split the spend towards imps and clicks.

Regarding how to choose between imps and clicks, a simple correlation matrix against your dependant variable helps

@Jakobhenningjensen
Copy link
Author

Thanks a bunch

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

No branches or pull requests

2 participants