Michael DeWulf
05/12/2023, 3:54 PMMoises Morales
05/12/2023, 4:49 PMMichael DeWulf
05/12/2023, 5:18 PMMichael DeWulf
05/12/2023, 5:19 PMMoises Morales
05/12/2023, 5:19 PMMichael DeWulf
05/12/2023, 5:20 PMMichael DeWulf
05/12/2023, 5:20 PMMoises Morales
05/12/2023, 5:21 PMJake Marcotte
05/12/2023, 5:57 PMEvent Name
, and if you look at the LDM the spend, and converted_total_conversions are on two separate tables, but essentially we only cant about daily FB Ad Spend here, and then divided by the total conversions by Event Name
These serve as sort of "rates" for us that we can see, but on the DB level spend is only broken down by day so it needs to be on a separate such table. The idea was a composite index here, but I suppose the larger question is if with metrics there is anyway to make the Cost Per Conversion
Metric work?Tomas Muchka
05/12/2023, 7:47 PMMichal Hauzírek
05/12/2023, 8:04 PMJakub Sterba
05/12/2023, 10:59 PMsum(FB Ad Spend)
by Event Name. I see two options how to combine such data:
1. use Event Name only to filter Converted) total conversions. For example select sum(FB Ad Spend) / (select sum(Converted Total Conversions) where Event Name = "Event name 1")
2. Repeat the same value of FB Ad Spend for each event name because Facebook insights daily dataset does not have Event Name detail: select (select sum(FB Ad Spend) by all Event Name) / sum(Converted Total Conversions)
Please note that I have used simplified MAQL notation. You have to use {fact/fact_identifier} in GD.CN instead of only fact title.