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 817521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:00:24+00:00 2026-05-15T02:00:24+00:00

I want to integrate AdMob ads in my iPhone app. I’m using IB way

  • 0

I want to integrate AdMob ads in my iPhone app. I’m using IB way to add the view and follow AdMob’s pdf guide:

1. Add AdMob group(AdMobView.h,AdMobDelegateProtocol.h,libAdMob.a)
2. Add required frameworks(AudioToolbox,MediaPlayer,MessageUI,QuartzCore)
3. Add TouchJSON group
4. Add IBSupport group(AdViewController.h,AdViewController.m)
5. Add a 320*48 UIView in IB, add NSObject and change its class to AdViewController,
link AdViewController's view to the 320*48 UIView and link AdViewController's viewController to current view controller.

Now the iPhone simulator can show ads from AdMob, but when I test it on real device, I get the error “AdMob: Did fail to receive ad“.

I’ve tried to add test device’s UDID to testDevices array, but still get the same error.

- (NSArray *)testDevices {
    return [NSArray arrayWithObjects: ADMOB_SIMULATOR_ID, DEVICE_UDID, nil];
}

Is there any problem in the above steps? Does anybody know why can’t I get the ads in real device? By the way, what should be changed to build for real for-sale app, not just for test?

  • 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-05-15T02:00:25+00:00Added an answer on May 15, 2026 at 2:00 am

    Setting testDevices seems not working for my test device. I’ve added a deprecated method -(BOOL)useTestAd according to AdMob wiki and it works now.

    - (BOOL)useTestAd {
        return NO;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to integrate maps using map kit in iphone, and i am successful
i want integrate admob ads to my palm pre application.can you please suggest me
I want to integrate voice detection in my iPhone app. The iPhone app allow
Does anybody have a suggestion to use Admob's iOS ads without using the iPhone
I'm using Eclipse to develop applications for android, and I want to integrate Admob
I'm trying to integrate ads (admob) into my Android app. It's mostly working, except
I am a mobile app developer, using the Cordova Framework. I want to integrate
I want to integrate Twitter in my iPhone App for getting some tweets of
I want to integrate the Twitter into my iPhone app that supports older versions
I want to integrate facebook login into my web application developed using Spring MVC.

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.