after immigrating my Admob to Google Play Services. I always get this error code
AdRequest.ERROR_CODE_NO_FILL
Here is explanation:
ERROR_CODE_NO_FILL The ad request was successful, but no ad was returned due to lack of ad inventory.
And I think it was implemented successful and I waited so long time (3 days) but no Ads return instead of empty space T.T
Here are my code details:
<LinearLayout
android:id="@+id/ad_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
</LinearLayout>adLayout = (LinearLayout) view.findViewById(R.id.ad_layout);
adView = new AdView(getActivity());
adView.setAdUnitId(Config.AD_PUBLISH_KEY);
adView.setAdSize(AdSize.SMART_BANNER);
adLayout.addView(adView);
AdRequest adRequest = new AdRequest.Builder()
.build();
adView.loadAd(adRequest);It 's looked good but no Ads return, any helps are highly appreciated :D
Thank for your reading
Tai Tran
Hi Tai,Are you able to see test ads? If you're having trouble with fill, you can add in mediation.Amy Quispe
02-28 12:37:09.168: I/Ads(4208): Use AdRequest.Builder.addTestDevice("3ADD408CE1872D48D4BB4C78DE50A59E") to get test ads on this device.02-28 12:37:09.198: I/Ads(4208): Starting ad request.02-28 12:37:13.262: I/Ads(4208): No fill from ad server.02-28 12:37:13.302: W/Ads(4208): Failed to load ad: 3
--
---
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/gYJvowaI4_k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

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

For more options, visit https://groups.google.com/d/optout.To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
I have imported
import com.google.android.gms.ads.*;
public class MainActivity extends Activity {
private AdView adView;
And initialized
@Override
public void onDestroy() {
System.gc();
if(Constants.ProVersion==false)
{
if (adView != null) {
adView.destroy();
}
}
super.onDestroy();
}
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
rLayout=new RelativeLayout(this);
/......Additional content here ...../
setContentView(rLayout);
// Crear adView.
adView = new AdView(this);
adView.setAdUnitId( getString(R.string.admob_unit));
adView.setAdSize(AdSize.BANNER);
RelativeLayout.LayoutParams myparams=
new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,
RelativeLayout.LayoutParams.WRAP_CONTENT);
myparams.addRule(RelativeLayout.CENTER_HORIZONTAL ,RelativeLayout.TRUE );
myparams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM ,RelativeLayout.TRUE );
rLayout.addView(adView,myparams);
// Iniciar una solicitud genérica.
AdRequest adRequest = new AdRequest .Builder().addTestDevice("805604FB5D94D59E0F9E4CA91B95AB02").build();
// Cargar adView con la solicitud de anuncio.
adView.loadAd(adRequest);
}
05-24 19:31:30.026: D/jdwp(10201): sendBufferedRequest : len=0x43
05-24 19:31:30.142: D/ActivityThread(10201): BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{416c6dc8 com.m2sd.photodreampro}}
05-24 19:31:30.807: D/dalvikvm(10201): DexOpt: --- BEGIN 'ads-1256423132.jar' (bootstrap=0) ---
05-24 19:31:31.105: D/dalvikvm(10201): DexOpt: --- END 'ads-1256423132.jar' (success) ---
05-24 19:31:31.105: D/dalvikvm(10201): DEX prep '/data/data/com.m2sd.photodreampro/cache/ads-1256423132.jar': unzip in 2ms, rewrite 297ms
05-24 19:31:31.120: V/Provider/Setting(10201): invalidate [secure]: current 120 != cached 0
05-24 19:31:31.123: I/Ads(10201): Use AdRequest.Builder.addTestDevice("805604FB5D94D59E0F9E4CA91B95AB02") to get test ads on this device.
05-24 19:31:31.124: I/dalvikvm(10201): Could not find method android.webkit.WebSettings.getDefaultUserAgent, referenced from method aef.a
05-24 19:31:31.124: W/dalvikvm(10201): VFY: unable to resolve static method 3712: Landroid/webkit/WebSettings;.getDefaultUserAgent (Landroid/content/Context;)Ljava/lang/String;
05-24 19:31:31.124: D/dalvikvm(10201): VFY: replacing opcode 0x71 at 0x0011
05-24 19:31:31.139: I/Ads(10201): Starting ad request.
05-24 19:31:31.152: I/dalvikvm(10201): Could not find method android.webkit.WebSettings.setMediaPlaybackRequiresUserGesture, referenced from method aeq.<init>
05-24 19:31:31.153: W/dalvikvm(10201): VFY: unable to resolve virtual method 3727: Landroid/webkit/WebSettings;.setMediaPlaybackRequiresUserGesture (Z)V
05-24 19:31:31.153: D/dalvikvm(10201): VFY: replacing opcode 0x6e at 0x004b
05-24 19:31:31.181: I/webkit/webview(10201): WebView() constructor=aeq@417eb748
05-24 19:31:31.201: D/dalvikvm(10201): threadid=11: interp stack at 0x4bf89000
05-24 19:31:31.202: D/dalvikvm(10201): threadid=11: calling run()
05-24 19:31:31.225: D/webkit/webcore(10201): sWebCoreHandler.handleMessage() 0 obj=android.webkit.WebViewCore@417edd28
05-24 19:31:31.250: D/dalvikvm(10201): threadid=12: interp stack at 0x4bf91000
05-24 19:31:31.257: D/dalvikvm(10201): threadid=12: calling run()
05-24 19:31:31.261: D/dalvikvm(10201): threadid=13: interp stack at 0x4bf99000
05-24 19:31:31.264: D/dalvikvm(10201): threadid=13: calling run()
05-24 19:31:31.281: D/dalvikvm(10201): threadid=14: interp stack at 0x4c020000
05-24 19:31:31.282: D/dalvikvm(10201): threadid=14: calling run()
05-24 19:31:31.288: I/webkit/webview(10201): WebView() constructor=android.webkit.WebView@417f53a0
05-24 19:31:31.308: D/dalvikvm(10201): threadid=15: interp stack at 0x4c028000
05-24 19:31:31.309: D/dalvikvm(10201): threadid=15: calling run()
05-24 19:31:31.325: D/dalvikvm(10201): threadid=16: interp stack at 0x4c030000
05-24 19:31:31.325: D/dalvikvm(10201): threadid=16: calling run()
05-24 19:31:31.499: D/dalvikvm(10201): threadid=17: interp stack at 0x4c040000
05-24 19:31:31.499: D/dalvikvm(10201): threadid=17: calling run()
05-24 19:31:31.669: D/dalvikvm(10201): threadid=18: interp stack at 0x4c048000
05-24 19:31:31.671: D/dalvikvm(10201): threadid=18: calling run()
05-24 19:31:31.671: D/dalvikvm(10201): threadid=19: interp stack at 0x4c038000
05-24 19:31:31.672: D/dalvikvm(10201): threadid=19: calling run()
05-24 19:31:31.686: D/dalvikvm(10201): threadid=17: exiting
05-24 19:31:31.686: D/dalvikvm(10201): threadid=17: bye!
05-24 19:31:31.686: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:31.689: D/dalvikvm(10201): threadid=18: exiting
05-24 19:31:31.689: D/dalvikvm(10201): threadid=18: bye!
05-24 19:31:31.689: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:31.698: E/GooglePlayServicesUtil(10201): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
05-24 19:31:31.714: D/dalvikvm(10201): threadid=17: interp stack at 0x4c04a000
05-24 19:31:31.715: D/dalvikvm(10201): threadid=17: calling run()
05-24 19:31:31.724: D/dalvikvm(10201): threadid=18: interp stack at 0x4c8f9000
05-24 19:31:31.724: D/dalvikvm(10201): threadid=18: calling run()
05-24 19:31:31.756: D/dalvikvm(10201): threadid=18: exiting
05-24 19:31:31.756: D/dalvikvm(10201): threadid=18: bye!
05-24 19:31:31.756: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:31.793: D/ActivityThread(10201): ACT-AM_ON_RESUME_CALLED ActivityRecord{416c8358 token=android.os.BinderProxy@416c7b78 {com.m2sd.photodreampro/com.m2sd.photodreampro.MainActivity}}
05-24 19:31:31.804: D/dalvikvm(10201): threadid=12: exiting
05-24 19:31:31.804: D/dalvikvm(10201): threadid=12: bye!
05-24 19:31:31.804: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:31.846: D/ActivityThread(10201): ACT-LAUNCH_ACTIVITY handled : 0 / ActivityRecord{416c8358 token=android.os.BinderProxy@416c7b78 {com.m2sd.photodreampro/com.m2sd.photodreampro.MainActivity}}
05-24 19:31:31.846: D/ActivityThread(10201): ACT-AM_ON_PAUSE_CALLED ActivityRecord{416c8358 token=android.os.BinderProxy@416c7b78 {com.m2sd.photodreampro/com.m2sd.photodreampro.MainActivity}}
05-24 19:31:31.848: D/ActivityThread(10201): ACT-PAUSE_ACTIVITY handled : 0 / android.os.BinderProxy@416c7b78
05-24 19:31:31.849: D/ActivityThread(10201): ACT-STOP_ACTIVITY_SHOW handled : 0 / android.os.BinderProxy@416c7b78
05-24 19:31:31.849: D/ActivityThread(10201): SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@41800fc8 className=com.appbrain.AppBrainService packageName=com.m2sd.photodreampro intent=null}
05-24 19:31:31.856: D/dalvikvm(10201): threadid=12: interp stack at 0x4c901000
05-24 19:31:31.856: D/dalvikvm(10201): threadid=12: calling run()
05-24 19:31:31.865: D/ActivityThread(10201): SVC-CREATE_SERVICE handled : 0 / CreateServiceData{token=android.os.BinderProxy@41800fc8 className=com.appbrain.AppBrainService packageName=com.m2sd.photodreampro intent=null}
05-24 19:31:31.865: D/ActivityThread(10201): SVC-Calling onStartCommand: com.appbrain.AppBrainService@41842ef0, flags=2, startId=1
05-24 19:31:31.865: D/ActivityThread(10201): SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@41800fc8 startId=1 args=Intent { act=com.appbrain.CHECK cmp=com.m2sd.photodreampro/com.appbrain.AppBrainService }}
05-24 19:31:31.899: D/dalvikvm(10201): threadid=18: interp stack at 0x4c9ff000
05-24 19:31:31.899: D/dalvikvm(10201): threadid=18: calling run()
05-24 19:31:31.909: D/dalvikvm(10201): threadid=18: exiting
05-24 19:31:31.909: D/dalvikvm(10201): threadid=18: bye!
05-24 19:31:31.910: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:31.927: D/webkit/webcore(10201): sWebCoreHandler.handleMessage() done
05-24 19:31:31.927: D/webkit/webcore(10201): sWebCoreHandler.handleMessage() 0 obj=android.webkit.WebViewCore@417f6790
05-24 19:31:31.929: D/webkit/webcore(10201): sWebCoreHandler.handleMessage() done
05-24 19:31:31.939: D/dalvikvm(10201): GC_CONCURRENT freed 739K, 9% free 10119K/11015K, paused 11ms+2ms
05-24 19:31:32.110: D/dalvikvm(10201): threadid=19: exiting
05-24 19:31:32.110: D/dalvikvm(10201): threadid=19: bye!
05-24 19:31:32.110: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:32.150: D/libEGL(10201): loaded /system/lib/egl/libGLES_android.so
05-24 19:31:32.157: D/libEGL(10201): loaded /vendor/lib/egl/libEGL_mtk.so
05-24 19:31:32.183: D/libEGL(10201): loaded /vendor/lib/egl/libGLESv1_CM_mtk.so
05-24 19:31:32.190: D/libEGL(10201): loaded /vendor/lib/egl/libGLESv2_mtk.so
05-24 19:31:32.229: D/OpenGLRenderer(10201): Enabling debug mode 0
05-24 19:31:32.369: D/webviewglue(10201): WebView() constructor: 0xf0f050
05-24 19:31:32.373: D/webviewglue(10201): WebView() constructor: 0xec00d8
05-24 19:31:32.388: D/ActivityThread(10201): SVC-Destroying service: com.appbrain.AppBrainService@41842ef0
05-24 19:31:32.388: D/dalvikvm(10201): threadid=12: exiting
05-24 19:31:32.388: D/dalvikvm(10201): threadid=12: bye!
05-24 19:31:32.388: D/dalvikvm(10201): threadid=0: freeing
05-24 19:31:32.389: D/ActivityThread(10201): SVC-STOP_SERVICE handled : 0 / android.os.BinderProxy@41800fc8
05-24 19:31:32.578: D/IPCThreadState(10201): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0xf39fd8
05-24 19:31:32.656: E/GooglePlayServicesUtil(10201): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
05-24 19:31:32.681: E/GooglePlayServicesUtil(10201): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
05-24 19:31:33.634: D/dalvikvm(10201): threadid=12: interp stack at 0x4c901000
05-24 19:31:33.640: D/dalvikvm(10201): threadid=12: calling run()
05-24 19:31:36.204: I/Ads(10201): No fill from ad server.
05-24 19:31:36.207: I/webkit/webview(10201): WebView.stopLoading()
05-24 19:31:36.232: W/Ads(10201): Failed to load ad: 3
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/gYJvowaI4_k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
Andrew correct me if I am wrong, but I wouldn't have thought the Play Store had any input into Admob policy violations.
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/gYJvowaI4_k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
Andrew correct me if I am wrong, but I wouldn't have thought the Play Store had any input into Admob policy violations.
For more options, visit https://groups.google.com/d/optout.
Now that you mentioned it, I'm not sure if that's something I've actually read in an official policy or just picked up during conversation with other engineers here. I would assume, though, that if your app was blacklisted from the Play store, you'd lose access to other Google services as well.As always, we're the technical forum rather than the people who handle policy, so the contact forms on AdMob.com are a much better source for definitive answers on those kinds of questions.-Andrew
On Monday, February 2, 2015 at 12:42:11 PM UTC-8, William Ferguson wrote:
Andrew correct me if I am wrong, but I wouldn't have thought the Play Store had any input into Admob policy violations.