Guest User

Untitled

a guest
Nov 23rd, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. FIRApp.configure()
  2. GADMobileAds.configure(withApplicationID: "MY_AD_ID")
  3.  
  4. func loadAd() {
  5. if !GADRewardBasedVideoAd.sharedInstance().isReady {
  6. let request = GADRequest()
  7. GADRewardBasedVideoAd.sharedInstance().load(request, withAdUnitID: "MY_AD_UNIT_ID")
  8. }
  9. }
  10.  
  11. <Google> Cannot find an ad network adapter with the name(s): GADMAdapterVungleRewardBasedVideoAd. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
  12.  
  13. <Google> Cannot find an ad network adapter with the name(s): GADMAdapterAdColony. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
Add Comment
Please, Sign In to add comment