Set benchmark from peer group

Create a column that stores the recent performance across the account (e.g Average CTR over last 28 days) to use a as benchmark for the current performance of individual campaigns.

What can I do with this?

  • Compare current campaign performance with a benchmark
  • Combine with other Benchmark scripts to automatically flag under and over-performing campaigns


How it works

The script calculates the average of the metric for all the campaigns that share a dimension value and sets it as the benchmark.



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


  • Account
  • Campaign
  • <<Peer Dimension>>
  • <<Metric>>


  • The script can be adapted to any reference any metric in Marin
  • Change the date range
  • Use the overall campaign average for the benchmark


Coming soon.


Written by Wes MacLaggan

Last published at: June 3rd, 2024