We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Implementation : AdView adView = new AdView(this, "271995593270465_271996219937069", AdSize.BANNER_HEIGHT_50);//438544203147216_438545493147087 AdSettings.addTestDevice(hashKey()); adViewContainer.addView(adView); adView.setAdListener(new AdListener() { @OverRide public void onError(Ad ad, AdError adError) { Toast.makeText(MainActivity.this, "Error: " + adError.getErrorMessage(), Toast .LENGTH_LONG).show(); }
@Override public void onAdLoaded(Ad ad) { Toast.makeText(MainActivity.this, "Ad loaded!", Toast.LENGTH_LONG).show(); } @Override public void onAdClicked(Ad ad) { Toast.makeText(MainActivity.this, "Ad clicked!", Toast.LENGTH_LONG).show(); } @Override public void onLoggingImpression(Ad ad) { Toast.makeText(MainActivity.this, "onLogging", Toast.LENGTH_LONG).show(); } }); adView.loadAd();
But, it's toast Unknown error
Help me to short out this issue....
The text was updated successfully, but these errors were encountered:
271995593270465_271996219937069 is not valid, it doesn't belong to a valid app.
Sorry, something went wrong.
No branches or pull requests
Code Implementation :
AdView adView = new AdView(this, "271995593270465_271996219937069", AdSize.BANNER_HEIGHT_50);//438544203147216_438545493147087
AdSettings.addTestDevice(hashKey());
adViewContainer.addView(adView);
adView.setAdListener(new AdListener() {
@OverRide
public void onError(Ad ad, AdError adError) {
Toast.makeText(MainActivity.this, "Error: " + adError.getErrorMessage(), Toast
.LENGTH_LONG).show();
}
But, it's toast Unknown error
Help me to short out this issue....
The text was updated successfully, but these errors were encountered: