I have an admob banner in my application, and I implemented it using the AdMob documentation, the only error of which is that it does not appear at the bottom of the screen, but at the top. Now I have been looking for a long time, But I can not find how to change it, and I can not find anyone on the network, solving this problem.
Does anyone know how to fix this?
thanks
EDIT
// Create a view of the standard size at the bottom of the screen. // Available AdSize constants are explained in GADAdSize.h. bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner]; // Specify the ad "unit identifier." This is your AdMob Publisher ID. bannerView_.adUnitID = @"MYID"; // Let the runtime know which UIViewController to restore after taking // the user wherever the ad goes and add it to the view hierarchy. bannerView_.rootViewController = self; [self.view addSubview:bannerView_]; // Initiate a generic request to load it with an ad. [bannerView_ loadRequest:[GADRequest request]];
I looked for numbers on all admob scripts, but could not find them for editing ..
Kevin source share