Join 13K+ 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. Master Google Ads Conversion Tracking and unlock your biggest edge for 2023 and beyond.
    Enroll in our new Conversion Tracking Mastery course. (475+ students).
  2. New update: learn how to launch, optimize & scale pMax campaigns.
    Enroll in Performance Max Mastery (2.200+ students)
  3. Join our free Google Ads Discord community here (7.200+ members).
  4. Upgrade your Google Ads skills in 14 days.
    Sign up for the Google Ads Masterclass waitlist (1.250+ students).




Final note: The PPC Hub opens on September 28th!


We want to help you be the best Google Ads Specialist you can possibly be.


We're building an exclusive membership for experienced Google Ads specialists that want to be and stay on the cutting edge of PPC.


We secretly launched our new PPC platform with 50 Founding Members.


Join the waitlist to receive a special offer before the public launch on September 28th (900+ on the waitlist).

Receive 1 advanced Google Ads strategy every Monday morning

Subscribe to 'The PPC Edge' newsletter. Every Monday morning, you'll get 1 actionable tip to scale your campaigns to the next level and stay ahead of your competition.

Your information is safe with us. We will never sell it, for any reason.