Skip to main content

C++ extension Ads for 3D and 2D games.

Project description

igeAds

C++ extension Ads for 3D and 2D games.

Before running this tutorial, you have to install igeAds

[pip install igeAds]

Available libraries

  • Admob [ Android / iOS ] (do not recommend)
  • Applovin [ Android / iOS ] (recommend)
  • Facebook [ Android / iOS ] (do not recommend)

Functions

Applovin

  • First, you need to import and init the module

     import igeAds
     ads_applovin = igeAds.applovin()
     ads_applovin.init(android=("50781ce08cccd9e5", "5ad29e98a6ed623c", "1a61c958e699b07a"), ios=("543b53f89be58d39", "ded4ed1fe2aa54e0", "3602eab376c95aa3"))
    
  • Showing the ads

    • Banner
    Position MoveTo Enum
    Top of the screen, horizontally centered. kPositionTop = 0,
    Bottom of the screen, horizontally centered. kPositionBottom,
    Top-left corner of the screen. kPositionTopLeft,
    Top-right corner of the screen. kPositionTopRight,
    Bottom-left corner of the screen. kPositionBottomLeft,
    Bottom-right corner of the screen. kPositionBottomRight,
     // default (position = 0, left = 0, top = 0)
     ads_applovin.showBanner(position, left, top)
     ads_applovin.hideBanner()
    
    • Interstitial
     ads_applovin.showInterstitial()
    
    • RewardedVideo
     ads_applovin.showRewardedVideo()
     ads_applovin.pauseRewardedVideo()
     ads_applovin.resumeRewardedVideo()
    
  • Release it when everything is done

     ads_applovin.release()
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

igeAds-0.0.4-cp39-cp39-win_amd64.whl (212.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

igeAds-0.0.4-cp39-cp39-macosx_11_0_x86_64.whl (234.4 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ x86-64

igeAds-0.0.4-cp37-cp37m-win32.whl (175.3 kB view hashes)

Uploaded CPython 3.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page