Price extensions end date

37 views
Skip to first unread message

Vytautas Gerulis

unread,
Jul 23, 2024, 5:30:34 AM7/23/24
to Google Ads Scripts Forum
Hi,

I see that the price extensions getEndDate() func is deprecated. Is there any possibility to get their end date somehow?

I'm asking because for other extensions like sitelinks and mobileApps this function works.

Regards,
Vytautas

Google Ads Scripts Forum Advisor

unread,
Jul 23, 2024, 10:03:58 AM7/23/24
to adwords...@googlegroups.com
Hi,

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

Yes, the Price.getEndDate() is deprecated. I would suggest you check this document to know more about the supported methods of the AdsApp.Price. Also, I would suggest you refer to example codes to perform operations such as creating price extension, log price details, etc.  

Hope this helps!. Let us know if you have any further queries.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vE2wW:ref" (ADR-00259170)

Thanks,
 
Google Logo Google Ads Scripts Team


Vytautas Gerulis

unread,
Jul 24, 2024, 11:30:31 AM7/24/24
to Google Ads Scripts Forum
Thanks, but you haven't really answered my question. Is it possible to somehow get a price extensions end date, knowing that getEndDate function is deprecated?
I do not need to create new price extensions. I just need to pull price extensions from account/adgroup/campaign with past end dates.

Google Ads Scripts Forum

unread,
Jul 24, 2024, 5:01:38 PM7/24/24
to Google Ads Scripts Forum

Hi Vytautas,


I would like to inform you that there is no alternate method currently available in the scripts document to get the end date.


Kindly get back to us if you still have any concerns.


Thanks,

Google Ads Scripts team

Reply all
Reply to author
Forward
0 new messages