GADMobile not identifying

Hi, first time question.

I have a game app that I am trying to include google ads on:

  • import GoogleMobileAds

I have the following bit of code:

init() { GADMobileAds.sharedInstance().start(completionHandler: { _ in print("✅ AdMob started successfully") }) }

That is throwing the following error: OliviasGameApp.swift:9:22 Cannot call value of non-function type 'MobileAds'

I have gone through countless troubleshooting, including transitioning to Pods. Is there any help on what I can do to resolve this issue?

That is throwing the following error: OliviasGameApp.swift:9:22 Cannot call value of non-function type 'MobileAds'

Since you're trying to make a function call into GoogleMobileAds and that is failing, you should inquire with Google's support resources on how to successfully use this library.

Okay cool, do you know where i could direct my question to google?

GADMobile not identifying
 
 
Q