Store yesterday's cost as a Dimension

Create a column that stores yesterday's spend data as a Dimension so it can be compared with today's performance.

What can I do with this?

  • Compare today's performance vs yesterday
  • Highlight significant changes in performance day-over-day
  • View multiple date ranges together in the grid


How it works

The script copies the cost from the report and uploads it as a dimension.



  • For each metric, you need a dimension to hold the benchmark


  • Account
  • Campaign
  • <<Metric>>


  • The script can be adapted to any reference any metric in Marin
  • Adjust the date range



Written by Wes MacLaggan

Last published at: June 3rd, 2024