inmobi landscape interstitial ads for android
-
21-07-2021 - |
Question
Does anybody know how to make inmobi interstitial ads only landscape orientation for Android? I tried to send post request with parameter "d-orientation", but nothing happened.
Map<String, String> map = new HashMap<String, String>();
map.put("d-orientation", "3");
request.setRequestParams(map);
Solution 2
Answer from inmobi helpcenter: We currently do not support landscape orientation for interstitial ads.
OTHER TIPS
You can use android:ScreenOrientation="landscape"
for your respective activity.So that your activity is visible only in landscape mode.Hope this will be helpful to you.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow