Current Ad Configuration

Array
(
    [id] => 1
    [banner_ad_unit_id] => ca-app-pub-3940256099942544/6300978111
    [interstitial_ad_unit_id] => ca-app-pub-3940256099942544/1033173712
    [native_ad_unit_id] => ca-app-pub-3940256099942544/2247696110
    [ad_frequency] => 3
    [show_banner_ads] => 1
    [show_interstitial_ads] => 1
    [created_at] => 2025-08-30 22:06:30
    [updated_at] => 2025-08-30 22:06:30
)

✓ Banner ads are ENABLED with unit ID: ca-app-pub-3940256099942544/6300978111

✓ Interstitial ads are ENABLED with unit ID: ca-app-pub-3940256099942544/1033173712
Warning: Undefined array key "interstitial_frequency" in /home/gabnsonq/yashapp.me/php_admin/check_ads.php on line 60
and frequency: 0

Testing API Endpoint

API Response:

Array
(
    [success] => 1
    [data] => Array
        (
            [bannerAdUnitId] => ca-app-pub-3940256099942544/6300978111
            [interstitialAdUnitId] => ca-app-pub-3940256099942544/1033173712
            [nativeAdUnitId] => ca-app-pub-3940256099942544/2247696110
            [adFrequency] => 3
            [showBannerAds] => 1
            [showInterstitialAds] => 1
        )

    [message] => Ad configuration retrieved successfully
)

✓ API endpoint is working correctly

Common Issues Check

⚠️ Issues Found:

Troubleshooting Tips

  1. Make sure you've added your app's package name in AdMob and created ad units.
  2. Verify that your ad unit IDs in the database match those in your AdMob account.
  3. Check your device's logcat for any ad loading errors (look for 'Ad failed to load' messages).
  4. Ensure your device is not in test mode when testing with real ad unit IDs.
  5. Check that your app is properly linked in the AdMob console and the ad units are active.