-
Notifications
You must be signed in to change notification settings - Fork 0
MCC Version
Script: scripts/mcc_negative_conflict_cleaner.js
Level: MCC / Manager account
What it does: Runs the Negative Keyword Conflict Cleaner across up to 50 client accounts in parallel, consolidating every conflict into one report.
Negative keyword conflicts multiply across a book of business — every account accumulates auto-applied exclusions, legacy negatives, and forgotten sculpting. Running one script from the MCC replaces logging into each account individually, and the consolidated report shows you which accounts have the biggest problems at a glance.
- Uses
executeInParallel, Google's MCC scripting framework — maximum 50 accounts per execution (a hard Google limit) - Each account gets its own 30-minute runtime budget
- Results are consolidated by a callback into a single timestamped Google Sheet tab with account name and CID on every row
Two options in CONFIG (explicit IDs win if both are set):
// Option A — run accounts carrying an MCC label:
ACCOUNT_LABEL: 'Negative Cleanup',
// Option B — explicit CID list:
ACCOUNT_IDS: ['123-456-7890', '234-567-8901'],For MCCs larger than 50 accounts: create labels in batches (e.g. NegClean-A, NegClean-B) and schedule the script multiple times, one label per schedule.
Identical guardrails to the CID version — DRY_RUN, per-level removal toggles, MAX_BLOCKED_BEFORE_SKIP threshold, shared-list removal off by default — applied uniformly across every account in the run.
- Label 5–10 representative accounts and run with
DRY_RUN: true - Review the consolidated report — you'll quickly see which accounts have stale negatives vs. deliberate sculpting
- Enable removal for the accounts you've reviewed; keep new/unreviewed accounts on a dry-run label
- Schedule weekly
Accounts with hundreds of thousands of keywords can hit the 30-minute per-account limit. For those, run the CID version directly inside the account instead.
By AHMEEGO™ / It All Started With A Idea LLC. Discuss in r/ppc_.