Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- botBanner = [[GADBannerView alloc] initWithAdSize:GADAdSizeFullWidthPortraitWithHeight(50)];
- botBanner.adUnitID = kGADKey;
- botBanner.delegate = self;
- botBanner.rootViewController = self;
- [_adBannerBotView addSubview:botBanner];
- adRequest = [GADRequest request];
- // Make the request for a test ad. Put in an identifier for
- // the simulator as well as any devices you want to receive test ads.
- adRequest.testDevices = [NSArray arrayWithObjects:@"<I add my device id>", GAD_SIMULATOR_ID, nil];
- [botBanner loadRequest:adRequest];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement