# Ads

![Config.swift](https://1232235653-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4F1WW403bGCiNoXTFp%2F-M4F1aMt036YMdMlGl1A%2F-M4F7ckyAKIP0rivcfmk%2FEkran%20Resmi%202020-04-06%2018.35.59.png?alt=media\&token=be9e34ac-22ec-4937-817a-8180fddf7311)

Configure adsense, In this app you must replace your ID with your own data, at file **Config.swift**

```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

```markup
GADApplicationIdentifier=ca-app-pub-8915706349520340~2788515259
```

### Disable  <a href="#disable" id="disable"></a>

new we make easy way to disable or enable adsense in the app, you only need to set boolean value with TRUE or FALSE

```swift
class Config{

    static let IS_AD_ENABLE = true
    . . .
}
```
