Sunsets

This page outlines various methods, classes, and services that have been deprecated in AdWords scripts. Once a sunset date has been announced, the feature is considered deprecated, but should still be available for use until the sunset date.

During the deprecation period, we encourage you to update your scripts to use supported features. After the sunset date, the features will no longer be available or supported.

Feature Deprecation Date Sunset Date Behavior after sunset date Migration guide
Account.getLoginEmail Sep 23, 2014 Nov 5, 2014 Function will start throwing an exception. Users should switch to using getCustomerId as outlined in the sunset announcement.
Destination URL and link URL May 11, 2015 July 1, 2015 Fields will become read-only. Users should switch to using Upgraded URL fields.

See Using Upgraded URLs for more information on final URLs and other Upgraded URL fields, and our Builders Guide to learn about builders for constructing entities with these fields.

AdBuilder.withDestinationUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using AdBuilder.withFinalUrl.
AdGroup.createTextAd May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using AdGroup.newTextAdBuilder.
AdGroup.createKeyword May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using AdGroup.newKeywordBuilder.
Keyword.setDestinationUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using Keyword.urls().setFinalUrl.
KeywordBuilder.withDestinationUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using KeywordBuilder.withFinalUrl.
Sitelink.setLinkUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using Sitelink.urls().setFinalUrl.
AdGroupSitelink.setLinkUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using AdGroupSitelink.urls().setFinalUrl.
CampaignSitelink.setLinkUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using CampaignSitelink.urls().setFinalUrl.
SitelinkBuilder.withLinkUrl May 11, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using SitelinkBuilder.withFinalUrl.
PhoneNumber.isCallOnly May 20, 2015 June 24, 2015 Function will start returning null. Users should switch to using CallOnly ads.
PhoneNumber.setCallOnly May 20, 2015 June 24, 2015 Function will start throwing an exception. Users should switch to using CallOnly ads.
PhoneNumberBuilder.withCallOnly May 20, 2015 June 24, 2015 Function will start throwing an exception. Users should switch to using CallOnly ads.
MobileApp.setLinkUrl May 26, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using MobileApp.urls().setFinalUrl.
AdGroupMobileApp.setLinkUrl May 26, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using AdGroupMobileApp.urls().setFinalUrl.
CampaignMobileApp.setLinkUrl May 26, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using CampaignMobileApp.urls().setFinalUrl.
AccountMobileApp.setLinkUrl May 26, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using AccountMobileApp.urls().setFinalUrl.
MobileAppBuilder.withLinkUrl May 26, 2015 July 1, 2015 Function will start throwing an exception. Users should switch to using MobileAppBuilder.withFinalUrl.

Feedback geben zu...

AdWords Scripts
AdWords Scripts