Ads in portrait mode

Hi, I have a mobile game that works on portrait mode, however when the ads show up they are always in landscape. I’ve noticed that if I turn the phone from portrait to landscape and then back to portrait, the ads switches to portrait, but I would like them to show in portrait mode right away.

Is there anyway to force this to happen?

Yes, you can enable the option to “change video orientation according to device.”

  • Log into the Unity Ads Admin
  • Select your game profile
  • Select the Monetization Settings tab
  • Select the Show Advanced Settings button
  • Select the Settings button for the zone you are using
  • Check the box under the Options section to enable

Also make sure you’re using the latest version of the Unity Ads asset package. If you need to upgrade, be sure to remove any assets from previous versions of the asset package from your project before importing the latest.

1887342--121444--Screen Shot 2014-12-15 at 10.26.50 AM.png

2 Likes

Perfect. Thanks for such a detailed answer!

1 Like

Hi
just for clarification, what folders/files do you have to delete in order to remove the old UnityAds plugin as you mentioned in your previous answer, in order to install a new UnityAds version?

Thanks

The files and locations have changed a bit between versions. With the latest version, we made an effort to make the file structure more project friendly, also making it JavaScript compatible by placing it in Standard Assets.

Through past versions, these assets were typically located within Plugins, Editor, and UnityAds directories within your project. The native libraries are still located in Plugins/iOS and Plugins/Android.

As reference, the attached screenshot shows a new Unity project containing the latest Unity Ads assets.

1888725--121524--Screen Shot 2014-12-16 at 10.34.23 AM.png

thanks men, and actualize pls!! :smile: