> For the complete documentation index, see [llms.txt](https://growingio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://growingio.gitbook.io/docs/product-manual/growing/ads/advance/anti-cheating.md).

# 反作弊规则

在移动端 App 推广中，提供异常数据标识功能，通过反作弊规则定义，GrowingIO 会根据已定义的规则来标记异常点击和异常激活，异常数据可以在【应用级数据】下的反作弊数据报表中来查看。

### 原理介绍 <a href="#fan-zuo-bi-yuan-li-jie-shao" id="fan-zuo-bi-yuan-li-jie-shao"></a>

目前反作弊功能是基于 IP 地址信息来判断，GrowingIO 会通过行业合作、历史行为数据、机器学习等方式来维护一套公共的 IP 地址黑名单样本库，当广告流量点击数据或设备激活信息来自该 IP 地址样本库，则该点击数据或设备激活数据，将会被统计到异常数据当中。

在此基础上，GrowingIO 提供用户自定义规则配置，用户可以定义在一段连续时间内当 IP 超过多少次时，将被记为异常数据。

{% hint style="warning" %}
该异常数据仅作为数据参考，不做为实际业务指导。
{% endhint %}

### 自定义规则 <a href="#gui-ze-ding-yi" id="gui-ze-ding-yi"></a>

一. 在顶部导航栏选择“**获客分析 > 广告监测”**，进入广告监测模块。

二. 在左侧导航栏选择“**高级设置 > 反作弊规则”**，进入反作弊规则管理页面。

![](/files/-LuGAmCiIcVl7IFlSJ2i)

三. 单击页面上方的新建规则，弹出自定义反作弊配置页面。

![](/files/-LuGBPTvR6KUSXnO7uTd)

异常点击/激活：可定义【时间窗】在多少小时内，当前【IP 点击上限】超过多少次时，该数据将标记为异常点击/激活。

* 时间窗（小时）可选值有：6、12、24、48
* IP点击上限（此）可选值有：30、50、100、200

四. 配置完成单击确定。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://growingio.gitbook.io/docs/product-manual/growing/ads/advance/anti-cheating.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
