|
| ||||||||||||||||||||||
|
|
API versionsStable and development versions of the API.
Stable versions of the API are released once or twice a year, and do not change after they have been released. The stable version is used to create a separate version with the “Live” label, such as “Live 4”. It is developed in step with new Yandex.Direct features, so changes are introduced in the Live version about once a month. ![]() It is safe to move from the stable version to the Live version, since the Live version supports all the formats of the stable version, but the opposite is not true. After a stable version has been released, the previous stable version remains available for several months, after which it is deprecated together with its Live version. The GetAvailableVersions
Choosing between Live and stable versionsIn most cases, we recommend using the last stable version (with the highest number) and moving to this version from previous versions. The Live version is intended for users who are interested in accessing new Yandex.Direct features via the API as soon as possible, and who can adapt their software to the changing format of requests and responses. It is not difficult to move from the stable version to Live, since the format of the stable version can be used for interacting with the Live version. The API automatically determines which version the client is using, and selects the appropriate algorithm for handling data. Responses in the Live version use the newest relevant format. However, Live maintains a strict policy of "the response should be clear to stable version clients". This means that any changes to the Live response format enhance the stable version format but do not break it. This is a guarantee that a client of the stable version will get the expected parameters, although their values might be unknown to it. Similarly, responses in Live may contain new parameters that a stable version client can ignore. Recommendations for using the Live versionChanges are introduced in the Live version without notifying users. The main source of information about changes is the newsletter (you can subscribe in the Yandex.Direct interface on the "Direct API access management" page). Below are listed typical changes in the Live version along with recommendations for improving adaptability of client programs.
|
| Работайте в Яндексе |
© 2008—2012 «Yandex»
|