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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:34:31+00:00 2026-06-13T01:34:31+00:00

I am implementing the ADbanner view in appdelegate.mm file in cocos2d game. The ads

  • 0

I am implementing the ADbanner view in appdelegate.mm file in cocos2d game. The ads are displaying perfectly but i would like to know where i can implement the iAd banner view delegates. I have added them to appdelegate.mm file but they do not get called.

This is the code to display the ads (they are displayed successfully)

iAdView = [[ADBannerView alloc] initWithFrame:CGRectZero];
    iAdView.currentContentSizeIdentifier = ADBannerContentSizeIdentifierLandscape;
    [[[CCDirector sharedDirector]view]addSubview:iAdView];

I now need to implement this

- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
- (void)bannerViewDidLoadAd:(ADBannerView *)banner

I am not using UIViewController as i am using cocos2d(it has scenes)

Thanks in advance for any help.

  • 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-13T01:34:32+00:00Added an answer on June 13, 2026 at 1:34 am

    You have to set the delegate of your ADBannerView to your appDelegate:

    iAdView.delegate = self;
    

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

implementing service something similar with tinyurl or bit.ly, I'm would like to expose service
Implementing Interface just provide the skeleton of the method. If we know the exact
Implementing Document-View pattern I faced the problem: standard generic collections and dictionaries ( List<T>
When implementing move constructors and move assignment operators, one often writes code like this:
Im implementing NFS and almoste done but the RFC section 3.3.8 says this in
Implementing ArrayAccess Interface in PHP , We can access Object Properties as Array Keys
When implementing HTTP services in node.js, there is a lot of sample code like
When implementing a Matrix construct using arrays, which would be more efficient? Using a
Implementing an app where the user can log in I have the following situation:
While implementing a WCF client endpoint, my config file had the following endpoint entry:

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.