Assign a Campaign to a Strategy

The script automatically assigns a campaign to a strategy based on recent performance of the campaign

What can I do with this?

This script helps advertisers ensure their campaigns are mapped to the correct strategy based on their business goals.

How it works

The script compares current performance metrics to user-defined campaign performance targets and assigns the campaign to the appropriate strategy.



  • You must define your KPIs to attain your business goals and align strategies to them
  • You have to create strategy assignment logic


  • Campaign report with conversions, pub. cost, ROAS columns


  • Adjust business rules
  • Change lookback period
  • Add logic using the campaign name



Written by Wes MacLaggan

Last published at: May 3rd, 2024