Google Ads Script: Bulk Upload example not working — need correct method to create campaigns

16 views
Skip to first unread message

Việt Nguyễn

unread,
Nov 27, 2025, 2:48:48 AMNov 27
to Google Ads Scripts Forum

Hi everyone,

I’m having an issue when trying to create or update campaigns using Google Ads Scripts with the Bulk Upload method. I followed the official documentation example (AdsApp.bulkUploads().newCsvUpload(...)), but it does not work as expected.

Here is the sample code (directly from Google’s documentation) that I tested:

function createOrUpdateCampaigns() {
  // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload
  // for the list of supported bulk upload templates and their column names.
  const columns = [
    'Campaign', 'Budget', 'Bid Strategy type', 'Campaign type'
  ];

  const upload = AdsApp.bulkUploads().newCsvUpload(
      columns, {moneyInMicros: false});

  // Google Ads identify existing campaigns using its name. To create a new
  // campaign, use a campaign name that doesn't exist in your account.
  upload.append({
    'Campaign': 'Test Campaign 1',
    'Budget': 234,
    'Bid Strategy type': 'cpc',
    'Campaign type': 'Search Only'
  });
  // Use upload.apply() to make changes without previewing.
   upload.apply();
}

When I run the script:

  • No campaign is created

  • No specific error message

  • The logs do not show anything unusual

I would like to ask:

  1. Is the current documentation outdated?
    (Many Google Ads features have migrated or changed recently, so the example might no longer work.)

  2. What is the correct and up-to-date method for creating a Search Campaign via Google Ads Script?

    • Should we still use BulkUpload?

    • Or use AdsApp.newCampaignBuilder()?

    • Or has Google removed the ability to create campaigns via Ads Scripts?

  3. If possible, could someone share a working, current example of creating a Search campaign using Google Ads Script?

Thank you very much!
I need to automate campaign creation using Scripts, so any help would be greatly appreciated.


Google Ads Scripts Forum Advisor

unread,
Nov 27, 2025, 4:18:03 AMNov 27
to adwords...@googlegroups.com

Hi,

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

Please be noted that creating or updating campaigns in the Google Ads Scripts are supported. You can use either Bulk Uploads and Mutate methods to create or update campaigns. You may refer to the “AdsApp.mutate” documentation for sample scripts. Kindly note that the official scripts’ documentation is up to date and any updation or depreciation can be posted in our Blog Post. Also, please be noted that the method “AdsApp.newCampaignBuilder()” is not supported and no such methods are available in the Google Ads Scripts. You may go through the AdsApp guide for supported methods.

In order to investigate the issue further, could you please provide us with the following details.

  • Google Ads account ID/CID
  • Name of the affected script
  • Screenshot of the issue (if any)
  • Shareable spreadsheet link if you are using any in the script. You can refer to this article to share a file publicly
You can share the requested details via Reply privately to the author option or a 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-27 09:17:30Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vUWQ5:ref" (ADR-00346104)



rabbi hosen

unread,
Dec 2, 2025, 8:08:20 AMDec 2
to Việt Nguyễn qua Google Ads Scripts Forum

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/adwords-scripts/86d7513e-7ed4-4a97-a32b-4d232e43fec1n%40googlegroups.com.

Trúc Thanh

unread,
Dec 2, 2025, 8:17:41 AMDec 2
to Việt Nguyễn qua Google Ads Scripts Forum

Vào Thứ 5, 27 thg 11, 2025 vào lúc 14:48 Việt Nguyễn qua Google Ads Scripts Forum <adwords...@googlegroups.com> đã viết:

Anh Mai

unread,
Dec 3, 2025, 4:31:08 AMDec 3
to Việt Nguyễn qua Google Ads Scripts Forum
thank you so much

Vào Thứ 5, 27 thg 11, 2025 vào lúc 14:48 Việt Nguyễn qua Google Ads Scripts Forum <adwords...@googlegroups.com> đã viết:

Hi everyone,

Bakugo Katsuki

unread,
Dec 3, 2025, 4:38:50 AMDec 3
to Việt Nguyễn qua Google Ads Scripts Forum
thank you so much

Vào Thứ 5, 27 thg 11, 2025 vào lúc 14:48 Việt Nguyễn qua Google Ads Scripts Forum <adwords...@googlegroups.com> đã viết:

Hi everyone,

Reply all
Reply to author
Forward
0 new messages