Hello. This link contains documentation about connecting ads on the Yandex platform.
yandex.ru/dev/games/doc/dg/sdk/sdk-about-docpage (at the bottom of the page you can change the language to English)
I created separate plugins for C2 and for C3. Everything works in C2, but there is a problem in C3. In Yandex sdk there is a variable YaGames, which is created in a library that is connected separately, but in C3 for some reason it cannot be found and always gives an error (YaGames is not defined).
And I have a question. Are there restrictions on external variables in C3? If so, how to connect them correctly?
If not, then do I do something wrong?
The plugin was originally created for C2, then converted for C3