---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://appmetrica.yandex.by/docs/en/sdk/android/off-adrevenue.md
  - https://appmetrica.yandex.by/docs/ru/sdk/android/off-adrevenue.md
  - href: en/sdk/android/off-adrevenue.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.by/docs/en/llms.txt

# Disabling automatic collection of Ad Revenue data

{% note alert "" %}

Automatic Ad Revenue data collection is not supported for Fyber. If you enable it in versions 6.4.0 to 7.0.0, you encounter a [conflict in the code](https://appmetrica.yandex.by/docs/en/sdk/android/analytics/android-errors.md#fyber-unsupport-adrevenue).

{% endnote %}

Automatic collection of Ad Revenue data is moved to the `io.appmetrica.analytics:analytics-ad-revenue` dependency. The `io.appmetrica.analytics:analytics-ad-revenue` library version should correspond to the `io.appmetrica.analytics:analytics` library version.

To disable automatic collection of Ad Revenue data, exclude the following module from the list of dependencies:

{% list tabs %}

- build.gradle.kts

  ```kotlin translate=no
  configurations.configureEach {
      exclude(group = "io.appmetrica.analytics", module = "analytics-ad-revenue")
  }
  ```

- build.gradle

  ```groovy translate=no
  configurations.configureEach {
      exclude group: 'io.appmetrica.analytics', module: 'analytics-ad-revenue'
  }
  ```

{% endlist %}

Automatic collection is currently supported for ironSource. To disable automatic collection of Ad Revenue data from ironSource, exclude the `io.appmetrica.analytics:ad-revenue-ironsource-v7` module.

<!-- source: en/_includes/feedback-button-2.md -->
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

<a href="../../troubleshooting/feedback-new">
  <span class="button">Contact support</span>
</a>

<a href="../../troubleshooting/feedback-docs">
  <span class="button">Suggest an improvement for documentation</span>
</a>
<!-- endsource: en/_includes/feedback-button-2.md -->
