Overview of the Yandex Direct API version 5
The Yandex Direct application programming interface (API) automates management of advertising campaigns. External applications use the API to add and edit campaigns, ads and keywords, set bids, and get statistics on impressions and clicks.
Structure of the API
The Yandex Direct API consists of web services. Each service has its URL.
Each service is intended for a particular class of object: for example, AdGroups
manages ad groups, Ads
manages ads, and so on.
A service provides a set of methods for performing various operations with objects. A service typically includes the following methods:
add
: Adding objects.update
: Changing object parameters.delete
: Deleting objects.get
: Retrieving object parameters.
Services can also include other object-specific methods. For example, the moderate
method in the Ads
service is for submitting ads for review.
Access to the API
You can connect to and use the Yandex Direct API for free.
API requests are made by an app on behalf of Yandex Direct users: advertisers and advertising agencies. The API uses the OAuth 2.0 protocol for authentication. The access token must be included in requests.
The developer of an app that makes API requests must register the app beforehand.
Learn more about managing access
Interaction format
API requests are made over the HTTPS protocol using the POST method. The access token and other special parameters are passed in the HTTP header. Input and output data structures are passed in the body of the request and response.
The Yandex Direct API supports two formats: JSON and SOAP/XML.