AdMob with Cocos2d v3

I am trying to integrate an AdMob banner with a Cocos2d v3 project, but no luck :(

All documentation samples and tutorials are for the old version of coconut and are not compiled.

Any samples or successful experience?

+3
source share
1 answer

Here is my Cocos2d 3.0 Admob Baner Example .

In AppDelegate.h, define the type of banner based on needs.

typedef enum _bannerType
{
    kBanner_Portrait_Top,
    kBanner_Portrait_Bottom,
    kBanner_Landscape_Top,
    kBanner_Landscape_Bottom,
}CocosBannerType;

#define BANNER_TYPE kBanner_Portrait_Top

enter image description hereenter image description here

+4
source

All Articles