Device Bid Modifier Adjustment Script

124 views
Skip to first unread message

Rich Hogg

unread,
May 30, 2022, 12:56:41 PM5/30/22
to Google Ads Scripts Forum
Hi All, 

Been some time since i was last here and there has been big change in the process (new experience) - which I'm not familiar with so looking for some help.  

I'm looking for a script to run through each shopping campaign and ad group and if the desktop/mobile or tablet bid adjustment is set higher than a defined value, reduce it by X. 

Alternatively, record in a GSheet and email those that are (or a link with result value), with the campaign/ad group details - so we can manually look and adjust. 

Can anyone throw something together that will accomplish this? - I cant find anything else online that is remotely useful.  

Cheers.
 

Google Ads Scripts Forum Advisor

unread,
Jun 1, 2022, 4:17:49 AM6/1/22
to adwords...@googlegroups.com

Hello Rich,

I’m James from the Google Ads scripts support team. Thank you for reaching out to us.

I believe that to achieve the stated result, you need to implement ShoppingCampaignTargeting along with the platform method to select the platform criteria such as desktop, mobile, or tablet. Within your iterator, you may need to utilize getBidModifier() and getResourceName() to satisfy the stated condition on your end.

Now, to record those retrieved data into a spreadsheet, you may need to use SpreadsheetApp. While to send email of those recorded data, you may include MailAppSee sample code implementation below.

Regards,

Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2bF5mp:ref
Reply all
Reply to author
Forward
0 new messages