Join 19K+ subscribers

TPE #56: pMax search terms script

Aug 21, 2023

 Read time: 3 minutes

Welcome back to The PPC Edge!

Today’s issue is short, sweet, and powerful: we have a new script for you that allows you to export all search term categories from your Performance Max campaigns.

Let’s dive in.


We can now finally see search terms in pMax campaigns

Up until recently, it was nearly impossible to get a grip on the search terms of your Performance Max campaigns.

Google would only show search categories and not actual search terms.

But that’s going to change because of a new Google Ads update.

Google is rolling out new insights which allow us to see the search categories AND search terms in our pMax campaigns (see an example below):



Here’s how to find the new insights:

  1. Click on a pMax campaign
  2. Go to the ‘insights’ tab
  3. Scroll down to search terms insights
  4. Click on “view detailed report”
  5. Expand search categories to see search terms



Note: not every account has these insights yet. So if you can’t find them, you need to be a bit more patient until Google rolls it out to your account as well.


New script to automatically export search terms to a sheet

Thanks to Mike Rhodes (be sure to follow him on LinkedIn), we can now automatically pull the pMax search terms into a spreadsheet with a script.

Here’s an example of the script’s output:



Within a few minutes, you’ll have all of your search terms in a spreadsheet — awesome, right?!

Here’s how to set up the script:

  1. Download the script here
  2. Implement the script in your account
  3. Edit the code in 3 places (see below)


If the link above doesn’t work, then use this link as a backup to see all of Mike Rhodes’ pMax scripts.



1: Enter your spreadsheet URL (create a new one first).

2: If you want to export search categories for all campaign types, set it to false. Leave it on true if you only want to export Performance Max campaigns.

3: this line renames the title of the spreadsheet and sets it to “Mike Rhodes - Search Category Insights”. Replace that with your own custom name if you want.

And that’s how you set it up — simple as that.


Implement the script and enjoy your new search terms!

Over to you: implement the script and enjoy your new search terms :).

Big shoutout to Mike Rhodes and everyone that’s creating alterations of this script.

If you found or created an upgraded version of this script that works even better, please do reach out to us so we can update this page.

That’s all for today — see you again next week!


Bob & Miles


And whenever you're ready, here's how we can help you further:


1. Join our global community of world-class Google Ads Specialists:
Stay up to date with all developments, get trained by us all year round, and learn & grow together with like-minded PPCers.
Become a member of The PPC Hubย (1.200+ members).

1. Upgrade your Google Ads skills in 4 short weeks with our most advanced training program to date.
Sign up for theย May '24 Google Ads Masterclass
(2.700+ students // waitlist).

3. Alternatively, you might like one of these self-paced products: