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.



  • User must define strategy assignment logic in code


  • 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: March 25th, 2024