Script for Pmax

83 views
Skip to first unread message

Sandeep

unread,
Apr 21, 2025, 6:12:46 AM4/21/25
to Google Ads Scripts Forum
How to Create script for Pmax to see the Keywords, Search terms, and placement of my own ads ?

Google Ads Scripts Forum Advisor

unread,
Apr 21, 2025, 8:34:05 AM4/21/25
to adwords...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads Scripts support team.

Please be informed that there is no direct script available to view the keywords, search terms, and placements of PMax campaigns via the Google Ads Scripts. You may check the AdsApp.​PerformanceMaxCampaign to know more about the supported methods in the performance max campaign. Kindly check out this Reporting guide to know how reports are fetched in the Google Ads Scripts. Also, I would suggest you refer to example codes to perform operations such as retrieving, pausing, etc.

I hope this helps! Feel free to get back to us in case of any further queries.


Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-21 12:33:30Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUPXp:ref" (ADR-00300534)



Nils Rooijmans

unread,
Apr 22, 2025, 2:16:59 AM4/22/25
to Google Ads Scripts Forum
Pmax does not have keywords.
It is possible to sort of get some data on search terms and placements via script though.

Here are a few scripts to help you with that:

Hope this helps,

Nils Rooijmans
https://nilsrooijmans.com
See my Google Ads Scripts FAQ to avoid the same mistakes I made: https://nilsrooijmans.com/google-ads-scripts-faq/

Reply all
Reply to author
Forward
0 new messages