Channel Priority Manager
Sets Google's new channel prioritization and budget allocation for Search, Shopping, Performance Max and Demand Gen: High or Low priority for Google channels, Search partners and the Display Network, plus daily budget caps on Low priority channels. Account-level defaults come from the config, per-campaign overrides from a Google Sheet, and a Stats tab shows 30-day spend and conversions per channel with recommendations where Search partners or Display burn budget.
by Dmytro Tonkikh·chiliad.io
Overview
Google's October 2026 channel controls replace the on/off switch for Search partners and Display with a waterfall: High priority channels spend first, Low priority channels get what is left, optionally capped at a share of the daily budget. This script manages both levels. The DEFAULT_* config becomes the account default for the campaign types you list; a Google Sheet adds per-campaign (or per-type) overrides and a Current tab that shows what every campaign uses today, its source, eligibility and 30-day cost per channel. Only budgets whose settings differ are touched, so a daily run is quiet. Every run also pulls the last 30 days of cost, clicks and conversions per network (Google Search, Search partners, Display, YouTube, Discover, Maps and so on) at account and campaign level into a Stats tab, and recommends LOW plus a cap when Search partners or Display take a meaningful share of spend with no conversions or a CPA well above Google channels. YouTube and Discover are part of Google channels and cannot be split by this feature, so heavy spend there is flagged for review only. From February 2027 Google migrates Search campaigns with Display Expansion to this system; Display LOW with a 50% cap keeps today's behaviour.
Setup
- 1Install the script and paste the loader into Google Ads (Tools > Scripts).
- 2Decide the account default in the config: DEFAULT_CAMPAIGN_TYPES and the DEFAULT_* priorities and caps. Set MANAGE_ACCOUNT_DEFAULTS = false if you only want per-campaign control from the sheet.
- 3Optional: create an empty Google Sheet and set SPREADSHEET_URL. The first run creates the Settings tab with one row per enabled campaign holding its current values (Action = SKIP), plus Current and Stats tabs.
- 4Preview once. Preview logs every intended change, writes [PREVIEW] statuses to the sheet and changes nothing.
- 5To change a campaign, edit its HIGH/LOW and cap cells in the Settings tab and clear the Action (or set APPLY). RESET removes a campaign-level override, SKIP rows are refreshed with live values every run. Add ACCOUNT DEFAULT rows with a campaign type to steer the account default from the sheet.
- 6Run for real, check the Status column, then schedule daily.
- 7MCC: assign accounts in chiliad. Use the Account ID column or a per-account SPREADSHEET_URL in chiliad config to keep accounts apart.
Configuration Variables
| Variable | Default |
|---|---|
SPREADSHEET_URL | (empty) |
MANAGE_ACCOUNT_DEFAULTS | true |
DEFAULT_CAMPAIGN_TYPES | SEARCH, SHOPPING, PERFORMANCE_MAX |
DEFAULT_GOOGLE_PRIORITY | HIGH |
Expected Output
=== Channel Priority Manager - LIVE === Account: My Store (123-456-7890) Campaigns: 14 in 12 budget(s). Account default set for: Search, Shopping, Performance Max Settings rows for this account: 6 Channel stats: last 30 days (2026-10-10 to 2026-11-08), 2 recommendation(s) RECOMMENDATION Campaign "PMax | Launch": Display Network took 24% of spend (9000.00) with no conversions - set Display Network to LOW with a 0% cap RECOMMENDATION Account default for Search campaigns: Search partners took 18% of spend (4000.00) with CPA 5.0x Google channels - set Search partners to LOW with a 5% cap Updated Account default - Search: Google channels HIGH | Search partners LOW cap 10% | Display Network LOW cap 0% No change for campaign "PMax | Core": Google channels HIGH | Search partners LOW cap 5% | Display Network LOW cap 2% Updated campaign "PMax | Launch": account default -> Google channels HIGH | Search partners LOW cap 10% | Display Network LOW cap 0% Updated shared budget "Brand Search" (2 campaigns): account default -> Google channels HIGH | Search partners LOW | Display Network LOW cap 50% Row 9 (Search | Promo) ERROR: budget is not eligible: HAS_ENABLED_TRIALS Current state written to the "Current 123-456-7890" tab (18 rows). Channel stats written to the "Stats 123-456-7890" tab (26 rows). --- Summary: 3 change(s), 1 unchanged, 0 skipped, 1 error(s) ---
Notes
Rollout is progressive. Where Google has not enabled the feature yet the Current tab shows "Not reported yet" and Google rejects the change with a clear error in the Status column. Demand Gen supports priorities but not caps, and Shopping has no Display channel; the sheet is validated before the API is called. Caps are only allowed on LOW channels and 0% stops spend on that channel. Settings cannot be set from a manager account itself, only in each client account. MANAGE_ACCOUNT_DEFAULTS = true makes the config the source of truth: on an account where defaults were set in the Google Ads UI, the first live run replaces them with the config values. Preview shows this first. Recommendations are advice only: nothing is applied until you put the suggested values into the config or a sheet row. A row with a blank Action whose values merely match the account default creates no campaign-level override; set APPLY to pin values at campaign level.