Re: Google Ads script Bulk upload fails for Targeting CPM

186 views
Skip to first unread message
Message has been deleted

Google Ads Scripts Forum

unread,
Apr 15, 2025, 12:20:00 PM4/15/25
to Google Ads Scripts Forum


Hi,

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

In order to investigate your issue further, could you please provide us with the following details?
  • Google Ads account ID/CID
  • Name of the affected script
  • Screenshot of the error
You can share the requested details via Reply privately to the author option or a direct private reply to this email.

Thanks,
Google Ads Scripts team

On Tuesday, April 15, 2025 at 6:33:04 PM UTC+5:30 sac...@skills-agency.com wrote:
Hi...
I am using my working model script since many months for creating video campaigns  of bid strategy Manual CPV and Targeting CPM.

Recently observed the script is not working anymore for Targeting CPM bid strategy. But it works for Manual CPV bid strategy. I use bulk CSV upload AdsScript feature.

I see the similar conversation happened here but I don't have any idea about the solutions. https://groups.google.com/g/adwords-scripts/c/QDJHgjtfWTY/m/oaxLQ_ctCAAJ

This is my sample script

const columns = [
"Campaign",
"Campaign start date",
"Campaign end date",
"Campaign status",
"Budget type",
"Budget",
"Campaign type",
"Campaign subtype",
"Bid Strategy type",
"Action",
"Networks",
"Customer ID"
];

const upload = AdsApp.bulkUploads().newCsvUpload(columns);
upload.append({
"Campaign": "My Video Bumper Campaign",
"Campaign start date": "2025-04-20",
"Campaign end date": "2025-04-25",
"Campaign status": "PAUSED",
"Budget type": "Campaign Total",
"Budget": 500,
"Campaign type": "Video",
"Campaign subtype": "",
"Bid Strategy type": "Target CPM",
"Networks": "YouTube videos",
"Customer ID": AdsApp.currentAccount().getCustomerId(),
"Action": 'add'
});
upload.forCampaignManagement();
upload.apply();

Sachin C

unread,
Apr 16, 2025, 3:39:30 AM4/16/25
to Google Ads Scripts Forum
Hello Team

Thanks for the response,

Here is the details:

Google Ads account ID: Believe Digital Group (119-789-0634)
Name of the affected script: TEST-ADS-REVAMP-STG in this set I stuck at campaignScript.gs
Screenshot of the error:  I am not really getting any error.
The actual scenario is when requesting campaign creation with all columns as I specified in my first mail using upload.forCampaignManagement(); upload.apply(); 
I used to search for 60 attempts to find the created campaign each attempts will have 3seconds of wait time in the beginning.
 I used to get the campaign result during these attempts. But for Targeting_CPM now I am not receiving any response hence I declare the campaign creation failed. And campaign is not even created at admanager too. 

I used try{}catch(err){} too but no use

image.png

Google Ads Scripts Forum

unread,
Apr 16, 2025, 3:33:08 PM4/16/25
to Google Ads Scripts Forum
Hi

I have raised your concern with the rest of our team and one of my teammates will reach out to you once we have an update. Meanwhile, your patience is highly appreciated.

Thanks,
Google Ads Scripts team 

Sachin C

unread,
Apr 22, 2025, 4:02:53 AM4/22/25
to Google Ads Scripts Forum
Hello Team,

I would like to hear the follow-ups if you have any for this query.

Thank you



--
-- 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 a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/9FhTxVR_TvY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/adwords-scripts/64de30cd-313f-49c9-b060-8c8c17575922n%40googlegroups.com.

Google Ads Scripts Forum

unread,
Apr 22, 2025, 3:31:00 PM4/22/25
to Google Ads Scripts Forum
Hi,

I would like to inform you that we have no updates at the moment. However, allow me to follow up on this with the rest of the team, and one of my team members will reach out to you. Thank you for your patience.

Thanks,
Google Ads Scripts team

Rahul

unread,
Apr 23, 2025, 4:47:07 AM4/23/25
to Google Ads Scripts Forum
Can you pls help me regarding Google ads campaign error (Compromised Website). Kindly resolve the issue as I already contacted many account handler & support team also. Could you help me out?

Google Ads Scripts Forum

unread,
Apr 23, 2025, 7:00:11 PM4/23/25
to Google Ads Scripts Forum
Hi,

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

In order to assist further on the issue, could you please share the following details:
  • Uncropped error screenshot
  • Google Ads account ID/CID
  • Name of the script
Thanks,
Google Ads Scripts team

Reply all
Reply to author
Forward
0 new messages