A
A
Anton Shelestov2016-01-15 20:08:36
Yandex
Anton Shelestov, 2016-01-15 20:08:36

How to create a company in Yandex.Direct via the API?

Hello.
Already 3 hours I can not understand what's wrong, I hope you can help me.
I want to create a campaign via the API using the CreateOrUpdateCampaign method, I do everything exactly the same as in the documentation in the example, but for some reason it returns an error with the text that the Strategy field is not filled in
joxi.ru/p27919lu0L1Nxr
Although everything is filled in correctly :
joxi.ru/v29PDP0sG4opJm
Anyone have any guesses as to what's going on?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Ozeransky, 2016-01-15
@KREGI

where is the code?

A
Anton Shelestov, 2016-01-15
@ShelestovAnt

Damn it, it's all over, that's how it usually happens, the whole brain has taken people out to help, but it turns out everything is simple.
It turned out that all the parameters were wrapped in an array...
Everything worked)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question