How to get started with the API: Tutorial

In this course, you will learn how to work with Yandex Direct API, even if you start from scratch. You will step through all the preliminary steps: get access to the API and configure the test environment (Sandbox). You will get familiar with the features of Yandex Direct API, details of its structure and basic request parameters. Also, you will see multiple code samples you can implement in your programming language or cURL utility.

Lesson 1. What is Yandex Direct API

In this lesson, we will explain why Yandex Direct needs an API, and introduce you to the basics of its operation.

Lesson 2. API access: how to register an app in Yandex OAuth

In this lesson, you will learn about the first step of getting access to Yandex Direct API for your app: registering your app in Yandex OAuth.

Lesson 3. API access: how to submit a request

In this lesson, we are going to discuss the second step of enabling your app with access to Yandex Direct API: submitting a request.

Lesson 4. How to get an OAuth token

In this lesson, you will learn more about OAuth tokens, how to get them and use them.

Lesson 5. How to enable Sandbox

In this lesson, you will learn how to access Yandex Direct via the API without the risk of launching a real advertising campaign with a real budget.

Lesson 6. How to make an API request

In this lesson, you will see formats of interaction with the Yandex Direct API and learn how to make your first request.

Lesson 7. How to get data via the API

In this lesson, you will learn about the API structure and look at some examples of getting data.

Lesson 8. How to make changes via the API

In this lesson, you will learn how to edit data using the API.

Lesson 9. How to get to real work

In this lesson, you will learn what you need to do to ensure that your app can run not just in Sandbox, but with real Yandex Direct user data.

Lesson 10. How to efficiently use the API: restrictions and recommendations

In this lesson, you will learn what restrictions apply to the Yandex Direct API and how you can run your app efficiently in view of those restrictions.