> For the complete documentation index, see [llms.txt](https://docs.ipdunar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipdunar.com/zh/ji-cheng-zhi-nan/fan-jian-ce-liu-lan-qi/adspower.md).

# AdsPower

AdsPower 可为每个浏览器画像分配不同代理——天然契合 ISP 代理（每画像一个 IP）与住宅粘性会话（每画像一个会话）。

## 单画像配置

1. **新建画像** → **代理设置**。
2. 选 **自定义**（不要选「AdsPower 自带」）。
3. 填写：

### 住宅 / 移动（网关型）

| 字段   | 值                                                                   |
| ---- | ------------------------------------------------------------------- |
| 代理类型 | HTTP、HTTPS 或 SOCKS5                                                 |
| 代理主机 | `gate.ipdunar.com`                                                  |
| 代理端口 | `7777`                                                              |
| 账号   | `ipdunar_s1a2b3c4d5e-type-res-region-us-session-prof01-sesstime-30` |
| 密码   | 子账号密码                                                               |

**每个画像用独立的 `session-XXX`**，这样每画像都有独立 IP。

### ISP

| 字段   | 值                         |
| ---- | ------------------------- |
| 代理类型 | HTTP、HTTPS 或 SOCKS5       |
| 代理主机 | `198.51.100.42`（每画像一个 IP） |
| 代理端口 | `8000`                    |
| 账号   | `ipdunar_s1a2b3c4d5e`     |
| 密码   | 子账号密码                     |

4. 点 **检测代理**——AdsPower 通过该代理调 `ipify` 并回显出口 IP。
5. **保存** → 启动画像。

\[screenshot: AdsPower 代理设置对话框]

## 批量导入（ISP）

为多个画像批量绑定 ISP IP：

1. **我的画像 → 导入 → 代理**。
2. 上传 `ip:port:user:pass` 文件——ipdunar 默认下载格式即可。
3. 把每行映射到一个画像。

AdsPower 也接受 CSV（`ip,port,user,pass,country,city,asn`）以获得更多元数据。

## 画像模板要点

* **浏览器指纹**：选与代理国/城匹配的指纹（美国 IP 用美式 UA）。AdsPower 的「匹配国家」开关会自动按代理 geo 对齐指纹。
* **时区**：设为与代理国家一致。
* **WebRTC**：设为 **替换**，避免本机 IP 泄露。

## 验证

在启动的浏览器中访问 `https://ipv4.icanhazip.com` 和 `https://browserleaks.com/ip`，确认 IP 一致且无 WebRTC 泄露。

## 常见陷阱

* **多画像共用同一 session ID** — 全部画像粘到同一 IP。每个画像必须有独立 `session-XXX`。
* **多画像共用同一 ISP IP** — 失去隔离意义。一个 IP 一个画像。
* **指纹时区不一致** — 美国 IP 配 Asia/Shanghai 时区是强 bot 信号。请用「匹配国家」。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ipdunar.com/zh/ji-cheng-zhi-nan/fan-jian-ce-liu-lan-qi/adspower.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
