Changes to data structures

On April 25 2016, the following changes were made in data structures:

  • The type for BannerID, AdID, and AdGroupID changed to long.
  • The type for Banner, BannerIDS, and AdIDS changed to ArrayOfLong.
  • The type for the Banners structure changed to GetChangesLongData.
The data types were changed in the WSDL description. SOAP and JSON requests accept and return the new data types for the fields specified above.
Affected API structures and methods
Structure Methods (version 4) Methods (version Live 4)
BannerPhraseInfo

GetBanners

GetBannerPhrases

GetBannerPhrasesFilter

CreateOrUpdateBanners

GetBanners (Live)

GetBannerPhrases (Live)

GetBannerPhrasesFilter (Live)

CreateOrUpdateBanners (Live)

BannerInfo

GetBanners

CreateOrUpdateBanners

GetBanners (Live)

CreateOrUpdateBanners (Live)

GetBannersInfo

GetBanners GetBanners (Live)
BannerPhrasesFilterRequestInfo GetBannerPhrasesFilter GetBannerPhrasesFilter (Live)
CampaignBidsInfo

ArchiveBanners

DeleteBanners

ModerateBanners

ResumeBanners

StopBanners

UnArchiveBanners

ArchiveBanners (Live)

DeleteBanners (Live)

ModerateBanners (Live)

ResumeBanners (Live)

StopBanners (Live)

UnArchiveBanners (Live)

PhrasePriceInfo SetAutoPrice

UpdatePrices

SetAutoPrice (Live)

UpdatePrices (Live)

AutoPriceInfo SetAutoPrice (Live)
NewReportFilterInfo CreateNewReport CreateNewReport (Live)
BannersStatItem GetBannersStat (Live)

BannersRequestInfo

GetBannersTags (Live)
BannerTagsInfo

GetBannersTags (Live)

UpdateBannersTags (Live)

GetEventsLogFilter

EventsLogItem

GetEventsLog (Live)

GetChangesRequest

GetChangesResponse

GetChanges

Retargeting

RetargetingSelectionCriteria

Retargeting (Live)

AdImageAssociation

AdImageAssociationSelectionCriteria

AdImageAssociationActionResult

AdImageAssociation (Live)

Recommendations for developers

If your application was developed using a strictly typed programming language (such as Java, C/C++, C#) and accesses the Yandex Direct API over the SOAP protocol, download the new WSDL description and regenerate data structures.

The data types were changed in advance in the following addresses:

Version 4 Live 4 version

WSDL address:

https://api.direct.yandex.ru/v4/wsdl/2/

Address for SOAP requests:

https://api.direct.yandex.ru/v4/soap/2/

WSDL address:

https://api.direct.yandex.ru/live/v4/wsdl/2/

Address for SOAP requests:

https://api.direct.yandex.ru/live/v4/soap/2/
Version 4 Live 4 version

WSDL address:

https://api.direct.yandex.ru/v4/wsdl/2/

Address for SOAP requests:

https://api.direct.yandex.ru/v4/soap/2/

WSDL address:

https://api.direct.yandex.ru/live/v4/wsdl/2/

Address for SOAP requests:

https://api.direct.yandex.ru/live/v4/soap/2/

At this time, these addresses work exactly the same way as the main addresses.