@Hypnos has asked about adding the medium rectangle ad size.
For some reason I wasn't able to create a new post in that thread.
So the answer is here:
Add this code:
For some reason I wasn't able to create a new post in that thread.
So the answer is here:
Add this code:
B4X:
#if objc
#import <GoogleMobileAds/GoogleMobileAds.h>
- (NSObject*)SIZE_MEDIUM_RECTANGLE {
return [NSValue valueWithBytes:&kGADAdSizeMediumRectangle objCType:@encode(GADAdSize)];
}
#end if
...
Dim no As NativeObject = Me
ad.Initialize("ad", "ca-app-pub-126333333340/3333333317", Page1, no.RunMethod("SIZE_MEDIUM_RECTANGLE", Null))