title: Admobs integration is always showing "No ad config found"
body: <p>I have implements google admobs in my app and trying to test it.
  These are the steps I have followed : <a href="https://firebase.google.com/docs/admob/android/quick-start" rel="noreferrer">https://firebase.google.com/docs/admob/android/quick-start</a></p>
  <p>This is my manifest :</p>
  <pre><code>&lt;application
  .
  .
  .&gt;
  .
  .
      &lt;meta-data
              android:name=&quot;com.google.android.gms.ads.APPLICATION_ID&quot;
              android:value=&quot;ca-app-pub-**********~**********&quot;/&gt;
  &lt;application/&gt;
  </code></pre>
  <p>This is my dependency added to the gradle :</p>
  <pre><code>implementation 'com.google.android.gms:play-services-ads:19.5.0'
  </code></pre>
  <p>Added this line to my application file :</p>
  <pre><code>MobileAds.initialize(this);
  </code></pre>
  <p>This is my layout file with the admob view :</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:background=&quot;@color/grey_f2&quot;
      tools:ignore=&quot;UnusedAttribute&quot;&gt;
  
      &lt;androidx.core.widget.NestedScrollView
          android:id=&quot;@+id/workout_layout&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:fillViewport=&quot;true&quot;
          &gt;
  
          &lt;LinearLayout
              android:id=&quot;@+id/ll_profile_stats&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:orientation=&quot;vertical&quot;
              android:visibility=&quot;visible&quot;
              android:descendantFocusability=&quot;blocksDescendants&quot;&gt;
  
              &lt;LinearLayout
                  android:id=&quot;@+id/stats_sharable_container&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:orientation=&quot;vertical&quot;&gt;
  
                  &lt;LinearLayout
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;wrap_content&quot;
                      android:layout_marginBottom=&quot;6dp&quot;
                      android:background=&quot;@color/white&quot;
                      android:orientation=&quot;vertical&quot;
                      android:paddingBottom=&quot;15dp&quot;
                      android:paddingTop=&quot;25dp&quot;&gt;
  
                      &lt;LinearLayout
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:layout_marginLeft=&quot;13dp&quot;
                          android:layout_marginRight=&quot;13dp&quot;&gt;
  
                          &lt;androidx.constraintlayout.widget.ConstraintLayout
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;&gt;
  
                              &lt;de.hdodenhof.circleimageview.CircleImageView
                                  android:id=&quot;@+id/img_profile_stats&quot;
                                  android:layout_width=&quot;75dp&quot;
                                  android:layout_height=&quot;75dp&quot;
                                  android:layout_centerInParent=&quot;true&quot;
                                  android:layout_marginBottom=&quot;8dp&quot;
                                  android:src=&quot;@drawable/placeholder_profile&quot;
                                  app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
                                  app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                                  android:transitionName=&quot;profile&quot; /&gt;
  
                              &lt;de.hdodenhof.circleimageview.CircleImageView
                                  android:id=&quot;@+id/img_profile_stats_dup&quot;
                                  android:layout_width=&quot;75dp&quot;
                                  android:layout_height=&quot;75dp&quot;
                                  android:layout_centerInParent=&quot;true&quot;
                                  android:layout_marginBottom=&quot;8dp&quot;
                                  android:src=&quot;@drawable/placeholder_profile&quot;
                                  app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
                                  app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                                  android:transitionName=&quot;profile&quot; /&gt;
                              &lt;ImageView
                                  android:id=&quot;@+id/imageView2&quot;
                                  android:layout_width=&quot;96dp&quot;
                                  android:layout_height=&quot;24dp&quot;
                                  android:layout_alignParentBottom=&quot;true&quot;
                                  android:src=&quot;@drawable/max_streak_bg&quot;
                                  app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
                                  app:layout_constraintLeft_toLeftOf=&quot;parent&quot;
                                  app:layout_constraintRight_toRightOf=&quot;parent&quot;
                                  /&gt;
  
                              &lt;TextView
                                  android:id=&quot;@+id/tv_level_num&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:layout_alignParentBottom=&quot;true&quot;
                                  android:layout_alignParentTop=&quot;true&quot;
                                  android:layout_centerHorizontal=&quot;true&quot;
                                  android:layout_marginEnd=&quot;8dp&quot;
                                  android:layout_marginLeft=&quot;8dp&quot;
                                  android:layout_marginRight=&quot;8dp&quot;
                                  android:layout_marginStart=&quot;8dp&quot;
                                  android:fontFamily=&quot;@font/lato_bold&quot;
                                  android:letterSpacing=&quot;0.01&quot;
                                  android:textColor=&quot;@color/white&quot;
                                  android:textSize=&quot;11sp&quot;
                                  app:layout_constraintBottom_toBottomOf=&quot;@+id/imageView2&quot;
                                  app:layout_constraintEnd_toEndOf=&quot;@+id/imageView2&quot;
                                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                                  app:layout_constraintTop_toTopOf=&quot;@+id/imageView2&quot;
                                  app:layout_constraintVertical_bias=&quot;0.3&quot;
                                  tools:text=&quot;LEVEL  7 &quot; /&gt;
                          &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  
                          &lt;LinearLayout
                              android:layout_width=&quot;match_parent&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:layout_marginLeft=&quot;12dp&quot;
                              android:orientation=&quot;vertical&quot;&gt;
  
                              &lt;com.sharesmile.share.views.LBKTextView
                                  android:id=&quot;@+id/tv_profile_name&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:maxLines=&quot;1&quot;
                                  android:textColor=&quot;@color/black_a3&quot;
                                  android:textSize=&quot;20sp&quot;
                                  tools:text=&quot;Ankit Maheshwari&quot;
                                  android:letterSpacing=&quot;0.01&quot; /&gt;
  
                              &lt;com.sharesmile.share.views.LBTextView
                                  android:id=&quot;@+id/tv_profile_title&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:maxLines=&quot;1&quot;
                                  android:textColor=&quot;@color/black_a5&quot;
                                  android:textSize=&quot;12sp&quot;
                                  tools:text=&quot;EDUCATION MASTER&quot;
                                  android:letterSpacing=&quot;0.01&quot;
                                  /&gt;
  
                              &lt;TextView
                                  android:id=&quot;@+id/user_bio_tv&quot;
                                  android:layout_width=&quot;match_parent&quot;
                                  android:layout_height=&quot;match_parent&quot;
                                  android:maxLength=&quot;140&quot;
                                  android:ellipsize=&quot;end&quot;
                                  android:gravity=&quot;center_vertical&quot;
                                  android:text=&quot;@string/def_about_me&quot;
                                  android:textColor=&quot;@color/black_64&quot;
                                  android:textSize=&quot;11sp&quot; /&gt;
  
                          &lt;/LinearLayout&gt;
                      &lt;/LinearLayout&gt;
  
                      &lt;LinearLayout
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:layout_marginLeft=&quot;22dp&quot;
                          android:layout_marginRight=&quot;22dp&quot;
                          android:layout_marginTop=&quot;15dp&quot;&gt;
  
                          &lt;com.sharesmile.share.views.LBTextView
                              android:id=&quot;@+id/tv_impact&quot;
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:layout_weight=&quot;1&quot;
                              android:maxLines=&quot;1&quot;
                              android:text=&quot;\u20B9 657&quot;
                              android:textColor=&quot;@color/clr_6e&quot;
                              android:textSize=&quot;30sp&quot; /&gt;
  
                          &lt;LinearLayout
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:layout_gravity=&quot;center&quot;
                              android:layout_marginLeft=&quot;5dp&quot;
                              android:orientation=&quot;vertical&quot;&gt;
  
                              &lt;TextView
                                  android:id=&quot;@+id/total_workouts_tv&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:fontFamily=&quot;@font/lato_bold&quot;
                                  android:gravity=&quot;bottom&quot;
                                  android:textColor=&quot;@color/black_57&quot;
                                  android:textSize=&quot;16sp&quot;
                                  tools:text=&quot;1563&quot; /&gt;
  
                              &lt;TextView
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:fontFamily=&quot;@font/lato_regular&quot;
                                  android:gravity=&quot;top&quot;
                                  android:text=&quot;@string/profile_workouts&quot;
                                  android:textColor=&quot;@color/black_5e&quot;
                                  android:textSize=&quot;10sp&quot; /&gt;
                          &lt;/LinearLayout&gt;
  
                          &lt;LinearLayout
                              android:id=&quot;@+id/non_impact_distance_layout&quot;
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:layout_gravity=&quot;center&quot;
                              android:layout_marginLeft=&quot;25dp&quot;
                              android:orientation=&quot;vertical&quot;&gt;
  
                              &lt;LinearLayout
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;&gt;
  
                                  &lt;TextView
                                      android:id=&quot;@+id/total_distance_tv&quot;
                                      android:layout_width=&quot;wrap_content&quot;
                                      android:layout_height=&quot;wrap_content&quot;
                                      android:fontFamily=&quot;@font/lato_bold&quot;
                                      android:gravity=&quot;bottom&quot;
                                      android:textColor=&quot;@color/black_57&quot;
                                      android:textSize=&quot;16sp&quot;
                                      tools:text=&quot;1563&quot; /&gt;
  
                                  &lt;TextView
                                      android:id=&quot;@+id/total_distance_unit_tv&quot;
                                      android:layout_width=&quot;wrap_content&quot;
                                      android:layout_height=&quot;wrap_content&quot;
                                      android:layout_marginLeft=&quot;2dp&quot;
                                      android:fontFamily=&quot;@font/lato_bold&quot;
                                      android:gravity=&quot;bottom&quot;
                                      android:text=&quot;km&quot;
                                      android:textColor=&quot;@color/black_37&quot;
                                      android:textSize=&quot;11.4sp&quot; /&gt;
                              &lt;/LinearLayout&gt;
  
                              &lt;TextView
                                  android:id=&quot;@+id/distance_label_tv&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:fontFamily=&quot;@font/lato_regular&quot;
                                  android:gravity=&quot;top&quot;
                                  android:text=&quot;@string/profile_distance&quot;
                                  android:textColor=&quot;@color/black_5e&quot;
                                  android:textSize=&quot;10sp&quot; /&gt;
                          &lt;/LinearLayout&gt;
                      &lt;/LinearLayout&gt;
  
                      &lt;View
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;1dp&quot;
                          android:layout_marginBottom=&quot;13dp&quot;
                          android:layout_marginLeft=&quot;24dp&quot;
                          android:layout_marginRight=&quot;24dp&quot;
                          android:layout_marginTop=&quot;13dp&quot;
                          android:background=&quot;@color/grey_f2&quot; /&gt;
  
                      &lt;RelativeLayout
                          android:id=&quot;@+id/streak_layout&quot;
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:layout_marginLeft=&quot;24dp&quot;
                          android:layout_marginRight=&quot;24dp&quot;&gt;
  
                          &lt;LinearLayout
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;&gt;
  
                              &lt;ImageView
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:src=&quot;@drawable/shoe_streak_icon&quot; /&gt;
  
                              &lt;LinearLayout
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;match_parent&quot;
                                  android:gravity=&quot;center_vertical&quot;
                                  android:orientation=&quot;vertical&quot;&gt;
  
                                  &lt;TextView
                                      android:id=&quot;@+id/tv_streak&quot;
                                      android:layout_width=&quot;wrap_content&quot;
                                      android:layout_height=&quot;wrap_content&quot;
                                      android:fontFamily=&quot;@font/lato_bold&quot;
                                      android:gravity=&quot;top&quot;
                                      android:textColor=&quot;@color/black_57&quot;
                                      android:textSize=&quot;16sp&quot;
                                      tools:text=&quot;63&quot; /&gt;
  
                                  &lt;TextView
                                      android:layout_width=&quot;wrap_content&quot;
                                      android:layout_height=&quot;wrap_content&quot;
                                      android:layout_marginTop=&quot;-2dp&quot;
                                      android:fontFamily=&quot;@font/lato_regular&quot;
                                      android:gravity=&quot;top&quot;
                                      android:text=&quot;@string/profile_streak&quot;
                                      android:textColor=&quot;@color/black_5e&quot;
                                      android:textSize=&quot;10sp&quot; /&gt;
                              &lt;/LinearLayout&gt;
                          &lt;/LinearLayout&gt;
  
                          &lt;LinearLayout
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:layout_alignParentRight=&quot;true&quot;&gt;
  
                              &lt;ImageView
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:src=&quot;@drawable/shoe_max_streak_icon&quot; /&gt;
  
                              &lt;LinearLayout
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;match_parent&quot;
                                  android:gravity=&quot;center_vertical&quot;
                                  android:orientation=&quot;vertical&quot;&gt;
  
                                  &lt;TextView
                                      android:id=&quot;@+id/tv_max_streak&quot;
                                      android:layout_width=&quot;wrap_content&quot;
                                      android:layout_height=&quot;wrap_content&quot;
                                      android:fontFamily=&quot;@font/lato_bold&quot;
                                      android:gravity=&quot;top&quot;
                                      android:textColor=&quot;@color/black_57&quot;
                                      android:textSize=&quot;16sp&quot;
                                      tools:text=&quot;63&quot; /&gt;
  
                                  &lt;TextView
                                      android:layout_width=&quot;wrap_content&quot;
                                      android:layout_height=&quot;wrap_content&quot;
                                      android:layout_marginTop=&quot;-2dp&quot;
                                      android:fontFamily=&quot;@font/lato_regular&quot;
                                      android:gravity=&quot;top&quot;
                                      android:text=&quot;@string/profile_max_streak&quot;
                                      android:textColor=&quot;@color/black_5e&quot;
                                      android:textSize=&quot;10sp&quot; /&gt;
                              &lt;/LinearLayout&gt;
                          &lt;/LinearLayout&gt;
                      &lt;/RelativeLayout&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/meals_shared_linear_layout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;56dp&quot;
                      android:background=&quot;@color/clr_328f6c&quot;
                      android:paddingLeft=&quot;27dp&quot;
                      android:paddingRight=&quot;29dp&quot;
                      android:layout_marginBottom=&quot;6dp&quot;
                      android:gravity=&quot;center_vertical&quot;
                      android:orientation=&quot;horizontal&quot;&gt;
  
                      &lt;com.sharesmile.share.views.LBTextView
                          android:id=&quot;@+id/tv_meal_count&quot;
                          android:text=&quot;0 &quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:layout_weight=&quot;1&quot;
                          android:textColor=&quot;@color/white&quot;
  
                          /&gt;
                      &lt;com.sharesmile.share.views.LBTextView
                          android:id=&quot;@+id/right_arrow&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:textColor=&quot;@color/white&quot;
                          android:gravity=&quot;center&quot;
                          android:text=&quot;&gt;&quot;/&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;wrap_content&quot;
                      &gt;
                      &lt;com.google.android.gms.ads.AdView
                          xmlns:ads=&quot;http://schemas.android.com/apk/res-auto&quot;
                          android:id=&quot;@+id/adView&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:layout_centerHorizontal=&quot;true&quot;
                          android:layout_alignParentBottom=&quot;true&quot;
                          ads:adSize=&quot;BANNER&quot;
                          ads:adUnitId=&quot;ca-app-pub-8172285899785286/**********&quot;&gt;
                      &lt;/com.google.android.gms.ads.AdView&gt;
                  &lt;/LinearLayout&gt;
                  &lt;LinearLayout
                      android:id=&quot;@+id/achievements_layout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;wrap_content&quot;
                      android:background=&quot;@color/white&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;RelativeLayout
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;wrap_content&quot;
                          android:layout_marginLeft=&quot;25dp&quot;
                          android:layout_marginRight=&quot;23dp&quot;
                          android:layout_marginTop=&quot;45dp&quot;&gt;
  
                          &lt;com.sharesmile.share.views.LBTextView
                              style=&quot;@style/profile_stats_header&quot;
                              android:layout_width=&quot;wrap_content&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:text=&quot;@string/profile_stats_achievements&quot; /&gt;
  
                      &lt;/RelativeLayout&gt;
          &lt;/androidx.core.widget.NestedScrollView&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  <p>This is my fragment code where I use the admob :</p>
  <pre><code>AdRequest adRequest = new AdRequest.Builder()
                .build();
          Timber.d(&quot;TEST123 : &quot;+adRequest.isTestDevice(getContext()));
          adView.loadAd(adRequest);
          adView.setAdListener(new AdListener(){
              @Override
              public void onAdClosed() {
                  super.onAdClosed();
                  Timber.d(&quot;TEST123 : AdClosed&quot;);
              }
  
              @Override
              public void onAdFailedToLoad(int i) {
                  super.onAdFailedToLoad(i);
                  Timber.d(&quot;TEST123 : onAdFailedToLoad&quot;);
              }
  
              @Override
              public void onAdFailedToLoad(LoadAdError loadAdError) {
                  super.onAdFailedToLoad(loadAdError);
                  Timber.d(&quot;TEST123 : onAdFailedToLoad : &quot;+loadAdError.toString());
              }
  
              @Override
              public void onAdLeftApplication() {
                  super.onAdLeftApplication();
                  Timber.d(&quot;TEST123 : onAdLeftApplication&quot;);
              }
  
              @Override
              public void onAdOpened() {
                  super.onAdOpened();
                  Timber.d(&quot;TEST123 : onAdOpened&quot;);
              }
  
              @Override
              public void onAdLoaded() {
                  super.onAdLoaded();
                  Timber.d(&quot;TEST123 : onAdLoaded&quot;);
              }
  
              @Override
              public void onAdClicked() {
                  super.onAdClicked();
                  Timber.d(&quot;TEST123 : onAdClicked&quot;);
              }
  
              @Override
              public void onAdImpression() {
                  super.onAdImpression();
                  Timber.d(&quot;TEST123 : onAdImpression&quot;);
              }
          });
  </code></pre>
  <p>And this is always displaying this :</p>
  <pre><code>onAdFailedToLoad : {
        &quot;Code&quot;: 3,
        &quot;Message&quot;: &quot;No ad config.&quot;,
        &quot;Domain&quot;: &quot;com.google.android.gms.ads&quot;,
        &quot;Cause&quot;: &quot;null&quot;,
        &quot;Response Info&quot;: {
          &quot;Response ID&quot;: &quot;null&quot;,
          &quot;Mediation Adapter Class Name&quot;: &quot;&quot;,
          &quot;Adapter Responses&quot;: []
        }
      }
  </code></pre>