Adx3
EN
EN
  • Introduction to Broearn Ads Operation
    • Introduction to Broearn Ads Operation(SSP)
      • Login Operation
      • Website
      • Apps-For Android
      • Withdraw
      • Advertising Statistics
      • User Center
    • Introduction to Broearn Ads Operation (DSP)
      • Login Operation
      • Top-up
      • Ad Campaign Management
      • Ad Management
      • Advertising Statistics and Data Analysis
      • User Center
    • Adx3-Agent system manual(AGENT)
      • Log In
      • Add Account
      • Capital Account
      • Data Review
  • interface documentation
    • Monitor incident escalation(DSP)
    • Monitor incident escalation(SSP)
    • CPA, CPS Event Report
    • ANDRIOD
      • Start
        • Getting Started Guide
        • Test
      • Ad formats
        • Banner
        • Interstitial
        • Rewarded
        • APP Open
        • Native
        • Multiple
    • IOS
      • Get started
        • Getting Started Guide
        • Test
      • Ad formats
        • App Open
        • Interstital
        • Banner
        • Rewarded
        • Native
        • Multiple
  • FAQ
    • FAQ
Powered by GitBook
On this page
  • Before you begin
  • Initialization
  • Set ad form orientation
  • Advertising event monitoring settings
  • LoadAd
  1. interface documentation
  2. ANDRIOD
  3. Ad formats

Rewarded

PreviousInterstitialNextAPP Open

Last updated 1 year ago

Rewarded ads are suitable for users who need to obtain rewards, complete full-screen ad viewing, guide users to continue using within the specified time, and obtain in-app rewards after the display is completed. This guide completes the user's integration and configuration of rewarded ads in the app.

Before you begin

You should finish the step of the first.

Initialization

Adx3RewardAdView view = new Adx3RewardAdView(this,"UnitID");

Set ad form orientation

0-vertical 1-horizontal; the default orientation of the ad slot is vertical; the user can configure it according to the specific business; and the user can skip the current operation.

view.setOpt(0); 

After the rewarded advertisement is displayed, the user needs to complete their own business according to the playback completion callback, such as rewarding the user after the playback is completed and it automatically recycles and closes the advertisement after completion.

Advertising event monitoring settings

view.setListener(new AdListener() {
            @Override
            public void show() {

            }

            @Override
            public void loadFaild() {

            }

            @Override
            public void loadSucces() {

            }

            @Override
            public void adClose() {
                //finish();
            }

            @Override
            public void adClick() {
            }

            @Override
            public void adComplate() {
                ToastUtil.toast(getApplicationContext(),"Reward AD is complate");
            }

            @Override
            public void adSkip() {

            }

            @Override
            public void clickUrl(String url) {

            }
        });

LoadAd

view.loadAd();

Guide
Event listener description reference