I have add "addTestDevice" and "isTestDevice", but my account still has income, how is it?

227 views
Skip to first unread message

speci...@gmail.com

unread,
Sep 9, 2017, 10:50:03 PM9/9/17
to Google Mobile Ads SDK Developers

This is my account income:


This is my code:

adRequest = new AdRequest.Builder().addTestDevice("***********").build();
adLayout.addView(adView);
if(adRequest.isTestDevice(this)) {
adView.loadAd(new AdRequest.Builder().build());


Thanks!
Liuguo


Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 10, 2017, 11:50:57 PM9/10/17
to Google Mobile Ads SDK Developers
Hi Liuguo,

Based on your code snippet, you are adding a test device to the adRequest variable, but you are creating a new Ad Request without a Test Device under your if-block. This causes your Ad View to request for a live ad rather than a test ad. Additionally, make sure that you are passing the proper Test Device ID on your Ad Request. You can read more on how to obtain this on this document.

That said, a simple fix would be to modify your code snippet to the following:

adRequest = new AdRequest.Builder().addTestDevice("***********").build();
adLayout.addView(adView);
if(adRequest.isTestDevice(this)) 
{
    // adView.loadAd(new AdRequest.Builder().build());
    adView.loadAd(adRequest);
}

Let me know if this works for you.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

刘果

unread,
Sep 11, 2017, 12:45:44 AM9/11/17
to google-adm...@googlegroups.com
Hi Joshua Lagonera:

First of all, thank you very much for answering me.

Secondly, there is no doubt that the way you say is certainly successful.

Finally, I ask you to help me clear my account income to prevent my account from being banned. Please!

Thanks A Lot,
Liuguo


--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/eADcuwJkvuQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 11, 2017, 3:02:57 AM9/11/17
to Google Mobile Ads SDK Developers
Hi Liuguo,

Glad you were able to resolve the issue!

As for your concern about removing the revenue, we do not have control over that on this forum as we only handle issues related to the Mobile Ads SDK. It would be best for you to contact our Product Support Team regarding any performance, statistics and revenue related concerns.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Monday, September 11, 2017 at 12:45:44 PM UTC+8, 刘果 wrote:
Hi Joshua Lagonera:

First of all, thank you very much for answering me.

Secondly, there is no doubt that the way you say is certainly successful.

Finally, I ask you to help me clear my account income to prevent my account from being banned. Please!

Thanks A Lot,
Liuguo

刘果

unread,
Sep 11, 2017, 4:47:07 AM9/11/17
to google-adm...@googlegroups.com
Hi,

I have a question to ask you. I need an ad that accounts for the vast majority of the screen, leaving only a small part of the place to skip the button and a tip. How should I choose and do?

To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

刘果

unread,
Sep 11, 2017, 4:50:45 AM9/11/17
to google-adm...@googlegroups.com
Hi,

I'm very poor of English, forgive me...

it's a 'skip' button, not skip the button. Damn google translation. Hahahaha!

2017-09-11 16:46 GMT+08:00 刘果 <speci...@gmail.com>:
Hi,

I have a question to ask you. I need an ad that accounts for the vast majority of the screen, leaving only a small part of the place to skip the button and a tip. How should I choose and do?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 11, 2017, 5:47:07 AM9/11/17
to Google Mobile Ads SDK Developers
Hi there,

I believe you are looking for Interstitial Ads and Rewarded Video Ads, which are full screen ads that can be skipped and closed by the user. However, Interstitial Ad Views and Rewarded Video Ads can not be customized in any way. 

That said, if you have any new issues you would like help with, then kindly create a new thread describing your issue so we may have a consistent flow of communication across threads.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/eADcuwJkvuQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages