Giter VIP home page Giter VIP logo

cgadmob's Introduction

As I have done with my other extensions: Since Marmalade has an official version, I will no longer be updating this version. I want to thank all the people that helped me get this running originally.

CGAdMob

Extremely simplistic implementation of the AdMob Api.

Platform Support: Android, iOS (Library 7.0).

Built with Marmalade version: 7.5 and iOS 8 SDK

Instructions (test project demonstrates other options):

  1. Add the project CGAdMob

  2. Add the extra string value to deployment section. If you are using a function that needs an Id you need to replace the 0 with your id. Otherwise 0 is fine for AdMob.

deployment{ android-extra-strings='(gps_app_id,0)' }

  1. Set the a banner ad unit and an interstitial ad unitId:

SetGoogleAppKey("banner ad unit id", "interstitial ad unit idโ€);

  1. Initialize the entire thing:

InitAdView()

  1. Show banner ad:

BannerAdLoad();

  1. Show interstitial:

ShowInterstitialAd();

  1. Make sure to release it before your app closes.

Release();

cgadmob's People

Contributors

agramonte avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.