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

8 views
Skip to first unread message

Việt Nguyễn

unread,
Nov 27, 2025, 2:48:48 AM (2 days ago) Nov 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 AM (2 days ago) Nov 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)



Reply all
Reply to author
Forward
0 new messages