SwiftPress
Search…
Ads
Google Admob
Config.swift
Configure adsense, In this app you must replace your ID with your own data, at file Config.swift
static let ADMOD_UNIT_ID = "ca-app-pub-8915706349520340/1355820569"
Based on this article https://developers.google.com/admob/ios/quick-start new admob required admob app id
GADApplicationIdentifier=ca-app-pub-8915706349520340~2788515259

Disable

new we make easy way to disable or enable adsense in the app, you only need to set boolean value with TRUE or FALSE
class Config{
static let IS_AD_ENABLE = true
. . .
}
Copy link