Features of migrating to the new Partner interface

Warning.

This is an archived version of the documentation. Actual documentation for all platforms can be found here.

The Yandex Advertising Network will update the partner interface for working with mobile apps by the end of April 2022.

Note.

You may need to adjust the ad unit creation code due to the limit on the allowed height of ad units.

Along with migrating to the new interface, there will be some changes designed to help you more flexibly manage banner display on devices with different screen sizes:
  • During migration, “adaptive sticky banner” and “standard banner” ad units will be automatically replaced with “banner” units.
  • You won't be able to set the sizes of “banner” units in the interface. However, you can do this using the API.
The maximum height of a “banner” ad unit will be determined based on the method of integrating it in the app:
  • For stickySize methods, this is done automatically: banners can't take up more than 15% of the screen height.
  • For flexibleSize methods that are called with no height set, the height limit is 100 logical (density-independent) pixels.

Supported methods