#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))