Ad behavior when changing device orientation

Warning.

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

  1. General guidelines for changing ad sizes
  2. Android
  3. iOS

General guidelines for changing ad sizes

  1. The size of an ad in the Banner format is set when creating an ad request and matches the size of banners displayed in the ad.
  2. The size of an ad in the Interstitial and Rewarded formats is determined automatically depending on the size of the screen where the ad will be shown.
  3. The size of Native ads is defined by the app developer.

Android

Display ads
Ad behavior when the screen is rotated:
Banner
The publisher is responsible for the rotation activity. The publisher can use one of the following options:
  • Save the previously received ad and display it with new or old sizes.
  • Repeat the ad request after the screen is rotated.
Interstitial
Ad rotation is disabled. After the screen is rotated, the ad remains in its original position.
Videos in display advertising
Ad behavior when the screen is rotated:
Banner
The publisher is responsible for the rotation activity. The publisher can use one of the following options:
  • Save the previously received ad and display it with new or old sizes.
  • Repeat the ad request after the screen is rotated.
Interstitial
Ad rotation is enabled. After the screen is rotated, the ad changes its position.
Rewarded
The SDK is responsible for the rotation activity. After the screen is rotated, the SDK changes the ad size based on the view.

iOS

Display ads
Ad behavior when the screen is rotated:
Banner
The publisher can use one of the following options:
  • Save the previously received ad and display it with new or old sizes.
  • Repeat the ad request after the screen is rotated.
Note.

In SDK versions below 5.0.1, the SDK handles ad rotation. After the screen is rotated, the SDK reloads the ad.

Interstitial
Ad rotation is disabled. After the screen is rotated, the ad is closed.
Videos in display advertising
Ad behavior when the screen is rotated:
Banner
The publisher can use one of the following options:
  • Save the previously received ad and display it with new or old sizes.
  • Repeat the ad request after the screen is rotated.
Note.

In SDK versions below 5.0.1, the SDK handles ad rotation. After the screen is rotated, the SDK reloads the ad.

Interstitial
The SDK is responsible for ad rotation. After the screen is rotated, the SDK changes the ad size based on the screen size.
Rewarded
The SDK is responsible for ad rotation. After the screen is rotated, the SDK changes the ad size based on the screen size.