Git Product home page Git Product logo

applovin-max-defold's Introduction

AppLovin-MAX-Defold

AppLovin MAX Defold Plugin for Android and iOS

Documentation

Please check out our documentation to get started on integrating and enabling mediated networks using our guides.

Demo App

To get started with the demo app, follow the instructions below:

  1. Clone this repository and open the game.project file in Defold editor.

  2. For iOS, update the Bundle Identifier with the unique identifier associated with the app you will create or have already created in the MAX dashboard. Also update the extension property ios_user_tracking_usage_description for tracking authorization prompt in iOS 14+.

    [ios]  
    bundle_identifier = YOUR_BUNDLE_IDENTIFIER  
      
    [applovin]  
    ios_user_tracking_usage_description = YOUR_USAGE_DESCRIPTION
    
  3. For Android, Update the Package Name with the unique identifier associated with the app you will create or have already created in the MAX dashboard.

    [android]  
    package = YOUR_PACKAGE_NAME
    
  4. Open the example/main.gui_script file and update the SDK_KEY value with the AppLovin SDK key associated with your account.

    local SDK_KEY = "YOUR_SDK_KEY_HERE"
  5. Open the example/ads.lua file and update the MAX ad unit IDs for the ad formats you would like to test. Each ad format will correspond to a unique MAX ad unit ID you created in the AppLovin dashboard for the bundle ID used before.

    local ios_ad_units = { 
    	Interstitial = "ENTER_IOS_INTERSTITIAL_AD_UNIT_ID_HERE",
    	Rewarded = "ENTER_IOS_REWARDED_AD_UNIT_ID_HERE",
    	Banner = "ENTER_IOS_BANNER_AD_UNIT_ID_HERE",
    	MRec = "ENTER_IOS_MREC_AD_UNIT_ID_HERE"
    }
    
    local android_ad_units = {
    	Interstitial = "ENTER_ANDROID_INTERSTITIAL_AD_UNIT_ID_HERE",
    	Rewarded = "ENTER_ANDROID_REWARDED_AD_UNIT_ID_HERE",
    	Banner = "ENTER_ANDROID_BANNER_AD_UNIT_ID_HERE",
    	MRec = "ENTER_ANDROID_MREC_AD_UNIT_ID_HERE"
    }
  6. Deploy the demo app to a platform by selecting Project > Bundle.

License

MIT

applovin-max-defold's People

Contributors

wootaejeon avatar dr-klaus avatar thomasmso 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.