Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8164149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:15:07+00:00 2026-06-06T19:15:07+00:00

I have a admob banner in my app and I’ve implemented it with the

  • 0

I have a admob banner in my app and I’ve implemented it with the documentation AdMob provided, the only thing wrong with it is that it does not show at the bottom of the screen but in the top instead. Now I’ve been looking for a long time But I can’t find how to change it and I can’t find anyone one the net solving this problem.

Someone knows 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's "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]];

been looking for numbers on all the admob scripts but Can’t find any to edit..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:15:08+00:00Added an answer on June 6, 2026 at 7:15 pm

    Have you tried changing the frame of the view (GADBannerView I think?) to position it at the bottom instead of the top?

    Here’s an example (you should replace the placeholders with the correct attributes:
    bannerView.frame = CGRectMake(0.0, 460 – bannerheight, bannerwidth, bannerheight);


    edit:

    All you need to do is replace this:

    bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
    

    With all of this:

    // Initialize the banner at the bottom of the screen.
    CGPoint origin = CGPointMake(0.0,
                                   self.view.frame.size.height -
                                   CGSizeFromGADAdSize(kGADAdSizeBanner).height);
    
    // Use predefined GADAdSize constants to define the GADBannerView.
    bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner
                                                      origin:origin];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Admob ads are not appearing in my android app.. I have implemented admob code
i have an app that runs perfectly on android 1.6+, but admob ads are
I have implemented admob in my iPhone app, but the view which was created
I have programmed a simple app for testing some things. One thing is AdMob.
I'm trying to integrate an admob banner into my Android game. I have a
If Android app with AdMob banner has site URL market://details?id=<com.example.app> Will it work for
i have some troubles on layout on displaying ads from admob. When the app
I have an iPhone app that uses an iAd, with a fallback to an
I have implemented admob code as given in google site (http://code.google.com/mobile/ads/docs/android/fundamentals.html) as described in
Does anybody have a suggestion to use Admob's iOS ads without using the iPhone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.