# Ads

![Config.swift file](/files/-M9YTta0agy16VF7M5d-)

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

```swift
var ADMOB_REWARD = "ca-app-pub-6041813634434181/7847720450" // Admob reward ads id
```

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

![info.plist file](/files/-M9YUbyF0rFVv3Pmy_2I)

### 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
//Admob

var IS_AD_ENABLE = true //set it false if you dont want display ads
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://berk-birkan.gitbook.io/document-scanner/ads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
