0

I'm trying to test a rewarded video in my Android app but I don't want to use my real id since they can close my account. Where can I get a test unit ID for this?

Edit: using admob

 private void loadAd(){

if(!mAd.isLoaded()){
  mAd.loadAd("TEST_ID",
      new AdRequest.Builder()
          .build());
}


  }
Ege Kuzubasioglu
  • 5,991
  • 12
  • 49
  • 85

2 Answers2

1

Be careful, Admob introduced their own rewarded video in early March 2017 and since this time its been enabled by default for rewarded ad units. This means that if you've set up an Admob unit to point to mediated providers using suitable test settings at the providers end it will serve live Admob rewarded videos (and revenue) depending on the mediation settings see this: admob sdk forum that provided a dummy rewarded unit ID

MStoner
  • 730
  • 4
  • 10
0

You have to go to your mediation network panel and enable test ads, is not through code when you have mediation

Martin De Simone
  • 2,108
  • 3
  • 16
  • 30