Code Monkey home page Code Monkey logo

ios-admob-mediation's Introduction

ios-admob-mediation

Enables you to serve Start.io (formerly StartApp) Ads in your iOS application using Google's AdMob mediation network

1. Getting Started

The following instructions assume you are already familiar with the AdMob mediation network and have already integrated the AdMob iOS SDK into your application. Otherwise, please start by visiting AdMob site and reading the instructions on how to add AdMob mediation code into your app.

2. Adding Your Application to Your Start.io Developer's Account

  1. Login into your Start.io developer's account
  2. Add your application and get its App ID

3. Integrating the Start.io <-> AdMob Mediation Adapter

The easiest way is to use CocoaPods, just add to your Podfile the dependency

pod 'startio-admob-mediation'

But you might as well use this source code from Github and add it to your project

4. Adding a Custom Event

  1. Login into your Admob account
  2. From the left menu select "Mediation"
  3. Press "CREATE MEDIATION GROUP" unless you already have prepared one
  4. Fill out all the fields regarding to your ad parameters
  5. Select your previously created ad unit pressing "ADD AD UNITS"
  6. On the "Waterfall" panel press "ADD CUSTOM EVENT"
  7. Fill in "Label" and "eCPM" as you need
  8. Fill in the appeared fields "Class Name" and "Parameter" regarding to your ad type:
Ad Type Class Name Parameter Options
Interstitial StartioAdmobFullscreenAdapter {"startioAppId":"your_id_from_portal", "adTag":"any_your_tag", "interstitialMode":"OVERLAY", "minCPM":0.02} interstitialMode can be OVERLAY or VIDEO
Banner/Medium Rectangle StartioAdmobInlineAdapter {"startioAppId":"your_id_from_portal", "adTag":"any_your_tag", "minCPM":0.02}
Rewarded StartioAdmobRewardedAdapter {"startioAppId":"your_id_from_portal", "adTag":"any_your_tag", "minCPM":0.02}
Native StartioAdmobNativeAdapter {"startioAppId":"your_id_from_portal", "adTag":"any_your_tag", "minCPM":0.02, "nativeImageSize":"SIZE150X150", "nativeSecondaryImageSize":"SIZE100X100"} nativeImageSize and nativeSecondaryImageSize can be any of SIZE72X72, SIZE100X100, SIZE150X150, SIZE340X340, SIZE1200X628(for main image only)

All parameters in the "Parameter" field are optional except the "startioAppId" which you must provide in any case.

If you need additional assistance you can take a look on our app example which works with this mediation adapter here

ios-admob-mediation's People

Contributors

bryanbartow avatar ihor-startio avatar pavlokurliandskyi avatar startapp-sdk 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.