AdMob doesn't#t work in IOS App

846 views
Skip to first unread message

Hergen Lehmann

unread,
Sep 6, 2018, 10:06:53 AM9/6/18
to google-adm...@googlegroups.com

I'm quite sure I've done everything as described on the AdMob page, but when I start my App the console tells me this:

WF: === Starting WebFilter logging for process wizzz

WF: _userSettingsForUser mobile: {

    filterBlacklist =     (

    );

    filterWhitelist =     (

    );

    restrictWeb = 1;

    useContentFilter = 0;

    useContentFilterOverrides = 0;

    whitelistEnabled = 0;

}

WF: _WebFilterIsActive returning: NO



This is my ViewController.swift:


      import GoogleMobileAds

    @IBOutlet weak var myBanner: GADBannerView!


    override func viewDidLoad() {

        super.viewDidLoad()

        

        //request

        let request = GADRequest()

        //request.testDevices = [kGADSimulatorID]

        request.testDevices = [ (mytestDeviceID) ]

  

        

        //set up ad

        myBanner.adUnitID = (myAdUnitID)

        myBanner.rootViewController = self

        myBanner.delegate = self

        myBanner.load(request)

 

This is my AppDelegate:


import GoogleMobileAds

    @UIApplicationMain

    class AppDelegate: UIResponder, UIApplicationDelegate {


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        // Override point for customization after application launch.

        GADMobileAds.configure(withApplicationID: (myAppIDfromAdMob))

        

        return true

    }

    }




I also have added the Google Framework and the GoogleService-Info.plist

Thank you in advance!

mobileadssdk-a...@google.com

unread,
Sep 6, 2018, 3:54:22 PM9/6/18
to Hergen Lehmann, Google Mobile Ads SDK Developers
Hello Hergen, 

Your implementation looks fine. If your concern is about the WebFilter logs, those logs seem to be iOS10+ specific and should not have any impact with ad serving in any way. You may refer to this StackOverflow post for a relevant discussion. If you're having trouble loading the ads, could you please elaborate and share the complete device logs, so I can take a look?

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/4eedc32f-859f-488a-be42-68442fc834d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hergen Lehmann

unread,
Sep 7, 2018, 7:21:47 AM9/7/18
to Google Mobile Ads SDK Developers

Hello Bharani Cherukuri.

Thank you for your quick answer.

Here are the logs:



[DYMTLInitPlatform] platform initialization successful

[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

[MC] Reading from public effective user settings.

Metal GPU Frame Capture Enabled

Metal API Validation Enabled

Google Mobile Ads SDK version: afma-sdk-i-v7.32.0

[DYMTLInitPlatform] platform initialization successful


+ the stuff from above 

mobileadssdk-a...@google.com

unread,
Sep 7, 2018, 3:05:41 PM9/7/18
to Hergen Lehmann, Google Mobile Ads SDK Developers
Hello Hergen, 

We only handle technical Mobile Ads SDK related queries on this forum. If you're having trouble loading the ads or have concerns implementing using the Google Mobile Ads SDK, could you please elaborate and I'll be happy to assist you. If your concern is about the WebFilter logs, we suggest that you post this on the iOS developer forums. 

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

Hergen Lehmann

unread,
Sep 10, 2018, 9:41:17 AM9/10/18
to Google Mobile Ads SDK Developers
Hello Bharani,

Sorry, I thought the WebFilter was what was keeping my ads from loading.
How can I elaborate? What else should I send you? I thought I had done everything right (I am new to AdMob though).

Thank you
Sincerly Hergen

mobileadssdk-a...@google.com

unread,
Sep 10, 2018, 2:55:58 PM9/10/18
to Hergen Lehmann, Google Mobile Ads SDK Developers
Hello Hergen, 

Thank you for clarifying this. Could you please share the Ad Unit Id and share the complete device logs by enabling the Ad events, so I can take a look? You can reply back via Reply privately to author option. Also, can you make sure that you have the Limit Ad Tracking (Settings > Privacy > Advertising) is disabled while loading the ads? If this is a newly created Ad Unit ID this might take few hours to start loading the ads.


Regards,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, 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.

mobileadssdk-a...@google.com

unread,
Sep 12, 2018, 4:07:10 PM9/12/18
to Hergen Lehmann, Google Mobile Ads SDK Developers
Hello Hergen, 

Thank you for sharing the details privately. I was not able to load the ads by testing with the Ad unit Ids from this account with our sample apps. Can you make sure to update the Billing and Payments details on your account? Please note that it might take few hours for the changes to reflect on your account. I'd suggest that you wait for few hours and try loading the ads again. If you continue to have an issue with this, do provide us the complete device logs, so I can take a look and assist you further. You can share logs privately via Reply privately to author option.

Regards,
Bharani Cherukuri
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages