Coder Social home page Coder Social logo

adsdk's Introduction

#聚合SDK说明 ##sdk特点

  1. 聚合sdk聚合了admob、facebook、adx、百度、mopub、俄罗斯VK等平台的banner、插屏、原生广告。

  2. APP可根据自己的需求集成需要的平台,不需要的平台,则不继承对应SDK,也可以自由新增新的平台,扩展方便。

  3. 可以自由设置平台的优先级、超时时间,确保最大可能拉取到广告,APP可以自己按照demo中的格式配置,如果有自己的server与sdk结合使用、 加入分国家运营,则能使收益更加最大化。

  4. ##一、banner使用说明(支持3中尺寸的banner(高度50、90、250方型))

    '/**

    • 不自动刷新
    • @param context
    • @param placementId 广告位ID
    • @param adSize banner尺寸 / public AdView(Context context,String placementId,AdSize adSize) /*
    • @param context
    • @param placementId 广告位ID
    • @param adSize banner尺寸
    • @param refreshInterval 刷新间隔时间 / public AdView(Context context,String placementId,AdSize adSize,int refreshInterval) /*
    • 设置监听
    • @param adListener / public void setAdListener(AdListener adListener) /*
    • 触发广告load / public void loadAd() /*
    • 释放资源、停止刷新 */ public void destory()’
  5. ##二、插屏使用说明 见InterstitialAd

  6. ##三、原生使用说明

见NativeAd

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.