File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
android/src/main/java/io/invertase/googlemobileads Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ class ReactNativeGoogleMobileAdsNativeModule(
145
145
val mediaAspectRatio = if (requestOptions.hasKey(" aspectRatio" )) {
146
146
when (requestOptions.getInt(" aspectRatio" )) {
147
147
1 -> MediaAspectRatio .ANY
148
- 2 -> MediaAspectRatio .PORTRAIT
149
- 3 -> MediaAspectRatio .LANDSCAPE
148
+ 2 -> MediaAspectRatio .LANDSCAPE
149
+ 3 -> MediaAspectRatio .PORTRAIT
150
150
4 -> MediaAspectRatio .SQUARE
151
151
else -> MediaAspectRatio .UNKNOWN
152
152
}
@@ -155,8 +155,8 @@ class ReactNativeGoogleMobileAdsNativeModule(
155
155
}
156
156
val adChoicesPlacement = if (requestOptions.hasKey(" adChoicesPlacement" )) {
157
157
when (requestOptions.getInt(" adChoicesPlacement" )) {
158
- 0 -> NativeAdOptions .ADCHOICES_TOP_RIGHT
159
- 1 -> NativeAdOptions .ADCHOICES_TOP_LEFT
158
+ 0 -> NativeAdOptions .ADCHOICES_TOP_LEFT
159
+ 1 -> NativeAdOptions .ADCHOICES_TOP_RIGHT
160
160
2 -> NativeAdOptions .ADCHOICES_BOTTOM_RIGHT
161
161
3 -> NativeAdOptions .ADCHOICES_BOTTOM_LEFT
162
162
else -> NativeAdOptions .ADCHOICES_TOP_RIGHT
You can’t perform that action at this time.
0 commit comments