Google Ads Scripts: Environment Locked to Legacy API, Blocking new...Builder() and Programmatic Bulk Upload

21 views
Skip to first unread message

Tom Liang

unread,
Nov 3, 2025, 3:57:56 AMNov 3
to Google Ads Scripts Forum
  My Google Ads Scripts runtime environment appears to be locked to a very old AdWords API structure. All attempts to use modern Google Ads API Scripts methods (e.g., AdsApp.campaigns().newCampaignBuilder() and AdsApp.budgets().newBudgetBuilder()) result in a TypeError: is not a function error.

I attempted various debugging and patching methods, including switching to singular AdsApp.budget() and trying a brand new account, but the issue persists. Eventually, we confirmed that programmatic Bulk Upload initiation (AdsApp.bulkUploads()) also fails due to environment constraints.

I am currently forced to use the script only to generate data, which I then have to manually download as a CSV and upload. This greatly reduces automation efficiency. 

Please verify and assist in upgrading my account's Scripts runtime environment to the latest Google Ads API Scripts version, so I can utilize modern Builder syntax and achieve full programmatic bulk uploads.    

Google Ads Scripts Forum Advisor

unread,
Nov 3, 2025, 9:48:39 AMNov 3
to adwords...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads Scripts support team.
 
Note that AdsApp.campaigns().newCampaignBuilder() and AdsApp.budgets().newBudgetBuilder() are not Valid methods in Google Ads Scripts. You can access and edit campaigns and budgets, but the creation is done via the AdsApp.mutate() or AdsApp.mutateAll().
 
For more details, refer to this Mutate document. Regarding bulk upload, follow this document.
 
To analyse the issue further, please share the below details :
  • Google Ads account ID or CID
  • Name of the affected script
You can send the details via Reply privately to the author option, or direct private reply to this email.

Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-11-03 14:48:03Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vST4c:ref" (ADR-00338276)



Reply all
Reply to author
Forward
0 new messages