Script to automatically creates promotions extensions?

917 views
Skip to first unread message

yisroel auerbach

unread,
Jun 23, 2017, 1:49:47 AM6/23/17
to AdWords Scripts Forum
Hi, does anyone one of a script that creates promotions ad extensions (just released bt adwords) working off a google sheet? ie, client would upkeep a sheet with upcoming promotions, and the script would create the appropriate extension in the right campaign, at the right date/time

Vincent Racaza (AdWords Scripts Team)

unread,
Jun 23, 2017, 2:34:17 AM6/23/17
to AdWords Scripts Forum
Hi Yisroel,

Promotion extension is not yet supported in AdWords Scripts. You can check here for the list of supported ad extensions in AdWords Scripts currently. You can follow our blog for any future updates like new releases.

Thanks,
Vincent Racaza
AdWords Scripts Team

norisk GmbH

unread,
Jun 22, 2018, 6:50:23 AM6/22/18
to AdWords Scripts Forum
Any plans on making this available? 
201806 API Version seems to support promotion extensions: https://ads-developers.googleblog.com/2018/06/announcing-v201806-of-adwords-api.html

Also it would be great to see support for price extensions. 

Thanks!

Vincent Racaza (AdWords Scripts Team)

unread,
Jun 25, 2018, 2:33:51 AM6/25/18
to AdWords Scripts Forum
Hi,

Promotion extension and price extension are still not supported in AdWords Scripts. Kindly continue to follow our blog to receive any future updates on if and when this will be supported.

Currently, you can see from this link (in the upper part) for the supported ad extensions via the AdWords Scripts.

Thanks,
Vincent
AdWords Scripts Team

norisk GmbH

unread,
Jun 25, 2018, 8:36:53 AM6/25/18
to AdWords Scripts Forum
Thanks Vincent. 

Just noticed that price extensions can be added via bulk upload, that solves that. I'll ask in the main AdWords forum if bulk upload support for promotion extensions is planned.


Mitchell Alomar

unread,
Jun 25, 2018, 9:01:26 AM6/25/18
to norisk GmbH via AdWords Scripts Forum
What is the link to download these templates?

--
-- 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 "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scripts+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/50de2b83-9950-4fbc-a555-1ccaaa3f1d11%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Mitchell Alomar. | Digital Marketing Manager
beMarketing
Office: (484)-351-8820 ext 202

#37 fastest growing company in Philly in 2016 & 2017 by #Philly100

Vincent Racaza (AdWords Scripts Team)

unread,
Jun 25, 2018, 9:23:20 AM6/25/18
to AdWords Scripts Forum
Hi,

Thanks for pointing this out. Yes, I can confirm that price extensions can be added via bulk upload. I have tested this on my end and it worked successfully. For the promotion extension, I also could not see that there is an available template for this. Yes, you can ask the AdWords Product Team via the AdWords Community Forum on the availability of the promotion extension template for bulk uploads.

@Mitchell, you can check this link on how to download an extension template specifically a price extension template. Once you have the template already, you can then use it in your bulk uploads via AdWords Scripts.

Dmytro Tonkikh

unread,
Jun 25, 2018, 4:50:18 PM6/25/18
to AdWords Scripts Forum
Hi 

Did you try to use BulkUpload?

Vincent Racaza (AdWords Scripts Team)

unread,
Jun 26, 2018, 3:01:14 AM6/26/18
to AdWords Scripts Forum
Hi Dmytro,

Yes, price extensions are supported in bulk uploads. I have tried this on my end and it worked successfully.

thao...@luxola.com

unread,
Jul 23, 2018, 7:06:54 AM7/23/18
to AdWords Scripts Forum
Hi Dmytro,

Is there a way to extract the extensions from the account? Eg. report of the existing price extensions so we know which one to pause?

Vincent Racaza (AdWords Scripts Team)

unread,
Jul 23, 2018, 11:56:07 PM7/23/18
to AdWords Scripts Forum
Hi,

Since price extensions are not supported in AdWords Scripts as objects, then you can instead use the Placeholder Feed Item Report and filter it by PlaceholderType = 35 (Price extensions) to get the price extensions in your account. Once you have the list of price extensions, you can then use the price extensions template to update your price extensions based on the supported fields in the template, and then use the bulk upload functionality.

Thanks,
Vincent
AdWords Scripts Team

Thao Pham

unread,
Sep 4, 2018, 5:20:10 AM9/4/18
to AdWords Scripts Forum
In terms of Bulk Upload, under the Action column, I only see "Add" & "Remove" as 2 options. Can we use bulk upload to edit existing price extension? Eg. if the price of one of the item is incorrect, we can simply edit it instead of removing everything.


On Tuesday, June 26, 2018 at 3:01:14 PM UTC+8, Vincent Racaza (AdWords Scripts Team) wrote:

thao...@luxola.com

unread,
Sep 4, 2018, 5:20:10 AM9/4/18
to AdWords Scripts Forum
Hi Vincent,
In terms of Bulk Upload functionality, there seems to be only 2 functions: add or remove. If let's say I found that the price is wrong in 1 of the extension, is there a way to EDIT the extension, instead of removing?

Vincent Racaza (AdWords Scripts Team)

unread,
Sep 4, 2018, 6:23:02 AM9/4/18
to AdWords Scripts Forum
Hi Thao,

For the other bulk upload entities, you can actually edit them as you can see in this section for the bulk uploads. However, for price extensions specifically, "Edit" action is not yet supported as you can see in this guide. For now, you really need to remove and then add them again if there are changes in the values of your price extensions.

Thanks,
Vincent
AdWords Scripts Team

Thao Pham

unread,
Sep 22, 2018, 5:17:36 AM9/22/18
to AdWords Scripts Forum
I cannot remove the price extension by script! :(
I tried following everything, but the error was "No matching item to remove" when I use script.
When I use exactly the same sheet, but download and upload manually as csv, then the bulksheet works normally. What is going on?

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Sep 24, 2018, 4:03:03 AM9/24/18
to AdWords Scripts Forum
Hello Thao,

Could you please provide your CID, script name, and spreadsheet access via Reply privately to author so I can further investigate?

Regards,
Hiroyuki
AdWords Scripts Team

Jiří Franěk

unread,
Apr 1, 2020, 2:50:15 AM4/1/20
to Google Ads Scripts Forum
Now it is supported. Is there somebody who could write script with these specifications?

1. Update ending of price extension every day?
2. Set up % or X currency sale?
3. URL 404 checker?

2chainz

unread,
Apr 1, 2020, 4:15:46 AM4/1/20
to Google Ads Scripts Forum
Also I'm interested in checking the URL's of the scripts and if the url's dont exist, remove the association or remove the sitelink ? Do you think it would be possşble :)?

Abhishek sood

unread,
Apr 1, 2020, 4:39:17 AM4/1/20
to 2chainz via Google Ads Scripts Forum
Can you tell me the script for language conversion 

--
-- 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 on the web visit https://groups.google.com/d/msgid/adwords-scripts/777ba30c-e03b-49f5-97b6-f4c304d666a5%40googlegroups.com.

Google Ads Scripts Forum Advisor

unread,
Apr 1, 2020, 5:57:44 AM4/1/20
to adwords-scripts+apn2wqe1dtcwpo5k...@googlegroups.com, adwords-scripts+apn2wqe1dtcwpo5k...@googlegroups.co, adwords...@googlegroups.com
Hi Jiří,

Thank you for bumping this old thread. However, for better tracking, I would recommend that you create a new thread for future concerns related to the Google Ads Scripts and its features.

Moving forward, my apologies as our team cannot provide implementation for customers, we can however, provide the relevant documentation and information that customers can use to implement their requirements.

As for your concern, could you confirm whether you are referring to promotion extensions or price extensions? I asked because promotion extensions are currently not yet supported. You may follow our blog for updates.

Regarding the items you listed, please provide additional details on some of the items so I can better assist you :
  1. Update ending of price extension every day? - could you confirm which attribute of the price extension you are referring to?
  2. Set up % or X currency sale? - could you confirm if what you want is to set the % or X currency sale from somewhere to the amount field of price item. If yes, you could set it via the withAmount(amount) method of the price item builder upon creation.
  3. URL 404 checker? - could you confirm if you are looking for a 404 error checker for price extensions URLs? If yes, then we currently do not have a Script for this, however, you can implement the UrlFetchApp.fetch() and supply the price extension URL. You can then use the getResponseCode() to retrieve the return code for the URLs that you specified.
Best regards,
Peter
Google Ads Scripts Team

ref:_00D1U1174p._5001UZVWQj:ref

Google Ads Scripts Forum Advisor

unread,
Apr 1, 2020, 5:59:48 AM4/1/20
to adwords...@googlegroups.com, adwords-scripts+apn2wqe1dtcwpo5k...@googlegroups.com, adwords-scripts+apn2wqe1dtcwpo5k...@googlegroups.co
Hi 2Chainz and Abhishek,

As your concerns appear to be outside of what is being discussed in this thread and for better tracking, please create a new thread instead and our team would be happy to assist you from there.

Thanks,
Reply all
Reply to author
Forward
0 new messages