Hi,
Thank you for reaching out to the Google Ads Scripts Support team.
Search campaigns will be different from pmax campaigns, in order to retrieve pmax campaigns you can refer to the
documentation for sample examples. If you have any existing scripts, you can share the below details to check further.
- Google Ads account ID/CID
- Name of the script
You can share the requested details via Reply privately to the author option or a direct private reply to this email.
Thanks,