Admob Integration

Forum for posting sample code and examples, new posts creation is not allowed, but everybody can comment

Re: Admob Integration

Postby TailHunter » Fri Apr 23, 2010 6:49 pm

When logging into my admob account, there is a message stating that their is an update for my application. How would I go about updating admob for my app? I am using the sample code which is provided here. Thanks!
User avatar
TailHunter
 
Posts: 20
Joined: Thu Nov 12, 2009 8:07 pm

Re: Admob Integration

Postby sluggish » Fri Jul 16, 2010 4:28 pm

sunny wrote:check admobDelegate.m

Code: Select all
- (NSString *)publisherId
{
   return @"a14aa79a0967a16";
}

Replace for your id

Code: Select all
- (BOOL)useTestAd
{
   return YES;
}

change to NO for real ads, however you won't see real ads on simulator and even on device before it is in app store, they have checks for that to avoid you sitting at home and viewing/clicking your even not released app's advertisement.


m.... i downloaded admob_iphone_sdk_20100614 but...it haven't admobDelegate.m with my ID, i copied it from older version and update the ID but it don't work...i recieve this erros:

Code: Select all
  "_OBJC_CLASS_$_CATransition", referenced from:


      objc-class-ref-to-CATransition in libAdMob.a(AdMobModalViewController.o)


  "_OBJC_CLASS_$_CABasicAnimation", referenced from:


      objc-class-ref-to-CABasicAnimation in libAdMob.a(AdMobFlexAd.o)


  "_kCAMediaTimingFunctionLinear", referenced from:


      _kCAMediaTimingFunctionLinear$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAMediaTimingFunctionLinear$non_lazy_ptr)


  "_kCAFillModeBackwards", referenced from:


      _kCAFillModeBackwards$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAFillModeBackwards$non_lazy_ptr)


  "_CATransform3DIdentity", referenced from:


      _CATransform3DIdentity$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


      _CATransform3DIdentity$non_lazy_ptr in libAdMob.a(AdMobSingleAdView.o)


     (maybe you meant: _CATransform3DIdentity$non_lazy_ptr)


  "_kCATransition", referenced from:


      _kCATransition$non_lazy_ptr in libAdMob.a(AdMobModalViewController.o)


     (maybe you meant: _kCATransition$non_lazy_ptr, _kCATransitionMoveIn$non_lazy_ptr , _kCATransitionFromTop$non_lazy_ptr )


  "_kCAMediaTimingFunctionEaseInEaseOut", referenced from:


      _kCAMediaTimingFunctionEaseInEaseOut$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAMediaTimingFunctionEaseInEaseOut$non_lazy_ptr)


  "_OBJC_CLASS_$_CAAnimationGroup", referenced from:


      objc-class-ref-to-CAAnimationGroup in libAdMob.a(AdMobFlexAd.o)


  "_kCATransitionFromTop", referenced from:


      _kCATransitionFromTop$non_lazy_ptr in libAdMob.a(AdMobModalViewController.o)


     (maybe you meant: _kCATransitionFromTop$non_lazy_ptr)


  "_OBJC_CLASS_$_CATransaction", referenced from:


      objc-class-ref-to-CATransaction in libAdMob.a(AdMobFlexAdContainerView.o)


  "_CATransform3DMakeAffineTransform", referenced from:


      +[AdMobFlexAd(DictionaryParsing) valueOfType:withValue:defaultValueProvider:] in libAdMob.a(AdMobFlexAd.o)


  "_kCATransitionMoveIn", referenced from:


      _kCATransitionMoveIn$non_lazy_ptr in libAdMob.a(AdMobModalViewController.o)


     (maybe you meant: _kCATransitionMoveIn$non_lazy_ptr)


  "_kCAFillModeBoth", referenced from:


      _kCAFillModeBoth$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAFillModeBoth$non_lazy_ptr)


  "_OBJC_CLASS_$_CAKeyframeAnimation", referenced from:


      objc-class-ref-to-CAKeyframeAnimation in libAdMob.a(AdMobFlexAd.o)


      objc-class-ref-to-CAKeyframeAnimation in libAdMob.a(AdMobSingleAdView.o)


  "_kCAFillModeForwards", referenced from:


      _kCAFillModeForwards$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


      _kCAFillModeForwards$non_lazy_ptr in libAdMob.a(AdMobSingleAdView.o)


     (maybe you meant: _kCAFillModeForwards$non_lazy_ptr)


  "_kCAMediaTimingFunctionEaseOut", referenced from:


      _kCAMediaTimingFunctionEaseOut$non_lazy_ptr in libAdMob.a(AdMobModalViewController.o)


      _kCAMediaTimingFunctionEaseOut$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAMediaTimingFunctionEaseOut$non_lazy_ptr)


  "_OBJC_CLASS_$_CAMediaTimingFunction", referenced from:


      objc-class-ref-to-CAMediaTimingFunction in libAdMob.a(AdMobModalViewController.o)


      objc-class-ref-to-CAMediaTimingFunction in libAdMob.a(AdMobFlexAd.o)


  "_CATransform3DMakeScale", referenced from:


      +[AdMobSingleAdView pulseAnimationWithDelegate:] in libAdMob.a(AdMobSingleAdView.o)


      +[AdMobSingleAdView pulseAnimationWithDelegate:] in libAdMob.a(AdMobSingleAdView.o)


  "_kCAMediaTimingFunctionEaseIn", referenced from:


      _kCAMediaTimingFunctionEaseIn$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAMediaTimingFunctionEaseInEaseOut$non_lazy_ptr, _kCAMediaTimingFunctionEaseIn$non_lazy_ptr )


  "_kCAFillModeRemoved", referenced from:


      _kCAFillModeRemoved$non_lazy_ptr in libAdMob.a(AdMobFlexAd.o)


     (maybe you meant: _kCAFillModeRemoved$non_lazy_ptr)


ld: symbol(s) not found


collect2: ld returned 1 exit status


i think that the new adMod SDK is diferent, Sunny can you update the sample code with the new adMob SDK please?

if iAds only works in 4.0 i want to use adMob in <3.1.3 iPhone's / iPod's


EDIT: i solve it adding QuartzCore Framework to the project :mrgreen: but...i think that an update of the sample code is needed, because that i do not recieve any errors i recieve warnings and the ad not show in my App...
sluggish
NimbleKit Expert
 
Posts: 74
Joined: Fri Jan 08, 2010 4:18 am
Location: Madrid / Spain

Re: Admob Integration

Postby sunny » Fri Jul 16, 2010 7:30 pm

this will be done right after 1.9.1 as it's prio #1 atm
User avatar
sunny
Staff
 
Posts: 1786
Joined: Sat May 30, 2009 5:18 am
Location: kiev, Ukraine

Re: Admob Integration

Postby sluggish » Sat Jul 17, 2010 3:11 pm

sunny wrote:this will be done right after 1.9.1 as it's prio #1 atm


ok, i wait for it, but... when you release 1.9.1? i have 3 Apps waiting for adMob and NKVideoPlayer fix to submit to Apple... :S and...NKTableView fix the problem 0000213[url http://www.nimblekit.com/bugs/view.php?id=213]0000213[/url]
sluggish
NimbleKit Expert
 
Posts: 74
Joined: Fri Jan 08, 2010 4:18 am
Location: Madrid / Spain

Re: Admob Integration

Postby sluggish » Mon Jul 26, 2010 6:36 pm

sunny wrote:this will be done right after 1.9.1 as it's prio #1 atm


hi Sunny,

1.9.1 was released, and 1.9.2 too, i need to implement ads for OS 3.0> in some projects...can you update this sample code to use AdMob please?
sluggish
NimbleKit Expert
 
Posts: 74
Joined: Fri Jan 08, 2010 4:18 am
Location: Madrid / Spain

Re: Admob Integration

Postby sunny » Mon Jul 26, 2010 6:42 pm

yes, I started working on it already
User avatar
sunny
Staff
 
Posts: 1786
Joined: Sat May 30, 2009 5:18 am
Location: kiev, Ukraine

Re: Admob Integration

Postby sluggish » Tue Jul 27, 2010 1:04 pm

sunny wrote:yes, I started working on it already


thanks Sunny, it is what I need to submit three projects to Apple :D
sluggish
NimbleKit Expert
 
Posts: 74
Joined: Fri Jan 08, 2010 4:18 am
Location: Madrid / Spain

Re: Admob Integration

Postby bsoft » Thu Jul 29, 2010 6:06 pm

Any news Sunny ?
bsoft
 
Posts: 100
Joined: Mon Jun 29, 2009 9:54 am

Re: Admob Integration

Postby sluggish » Tue Aug 03, 2010 11:54 am

Sunny, already spent a week, you have news about this?

thanks in advance
sluggish
NimbleKit Expert
 
Posts: 74
Joined: Fri Jan 08, 2010 4:18 am
Location: Madrid / Spain

Re: Admob Integration

Postby sunny » Tue Aug 03, 2010 1:23 pm

the sample code was updated :)
User avatar
sunny
Staff
 
Posts: 1786
Joined: Sat May 30, 2009 5:18 am
Location: kiev, Ukraine

PreviousNext

Return to Sample Code

Who is online

Users browsing this forum: No registered users and 1 guest