> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/integrations/cn/proxy-integrations/adspower.md).

# AdsPower

使用 Oxylabs 代理设置 AdsPower，以进行多登录浏览器管理——包括地理定位、会话控制和连接测试。

[**AdsPower**](https://www.adspower.com/pricing?source=oxylabs) 是适用于 Windows、macOS 和 Linux 的多登录浏览器管理应用程序。

观看下面的视频，或按照分步指南了解如何在 AdsPower 中配置以下 Oxylabs 代理：

* [**住宅代理和移动代理**](#residential-and-mobile-proxies)
* [**数据中心代理**](#datacenter-proxies)
* [**ISP代理**](#isp-proxies)
* [**独享ISP代理**](#dedicated-isp-proxies)

{% embed url="<https://youtu.be/urt5p0W8bCQ?si=IR7RvluNbfTxa82H>" %}

{% stepper %}
{% step %}

## 下载 AdsPower

[**下载**](https://www.adspower.com/download?source=oxylabs)，安装并打开应用。
{% endstep %}

{% step %}

## 创建新的配置文件

点击 **新建配置文件** 按钮。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-32eedf3cc8c6a469ae64abdc3aaead3810b4c156%2Fadspower_profile.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## 添加代理信息 <a href="#id-2.-add-proxies" id="id-2.-add-proxies"></a>

向下滚动或选择 **代理** 选项卡，以查看代理设置部分，并根据下方示例为你的代理类型填写表单：

### 住宅代理和移动代理

**代理类型**: `HTTP`, `HTTPS`，或 `SOCKS5`

**主机**: `pr.oxylabs.io`

**端口**: `7777`

**代理用户名：** `customer-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="success" %}
将 `customer-` 文本添加到你的用户名前面。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-e657bd59476ca0a21acc213ed3e9061d8cfca423%2Fresi-mobile.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

你还可以将 **附加参数** 与住宅代理和移动代理一起使用，以设置地理位置（国家、州、城市等）并控制会话。查看 [住宅代理文档](/products/cn/proxies/residential-proxies.md) 了解更多。下表概述了可用参数及其示例值。

<table><thead><tr><th width="155.90625">代理参数</th><th width="431.73828125">示例</th><th>协议</th></tr></thead><tbody><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#country-specific-entry-nodes">国家入口节点</a></td><td><p><strong>主机：</strong> <code>us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10000</code></p></td><td>HTTPS</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#country">国家</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cc-DE</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#city">城市</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cc-US-city-los_angeles</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#state">州</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-st-us_california</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#continent">大洲</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cn-NA</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#zip-postal-code">ZIP/邮政编码</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cc-US-postalcode-90012</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings.md#asn-targeting">ASN 定向</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-ASN-21928</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/session-control.md">会话</a> （最长 10 分钟）</td><td><strong>用户名：</strong> <code>customer-USERNAME-sessid-abcde12345</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/session-control.md#session-time">会话时间</a> （最长 1440 分钟）</td><td><strong>用户名：</strong> <code>customer-USERNAME-sessid-abcde12345-sesstime-1440</code></td><td>HTTPS、SOCKS5</td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/session-control.md#sticky-proxy-entry-nodes">粘性代理入口节点</a></td><td><p><strong>主机：</strong> <code>us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10001</code></p></td><td>HTTPS</td></tr></tbody></table>

### 数据中心代理

**代理类型**: `HTTP`, `HTTPS`，或 `SOCKS5`

**主机**: `dc.oxylabs.io`

**端口**: `8001`

**代理用户名：** `user-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="success" %}
将 `user-` 部分添加到你的用户名前面。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-4c8ed693063187b0f34fa3eb39a2d31dc92643a3%2Fdc.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="按 IP 付费订阅" %}
端口是分配给 IP 地址的顺序编号，来自 [代理列表](/products/cn/proxies/datacenter-proxies/proxy-list.md)。因此，端口 `8001` 会使用你列表中的第一个 IP 地址。你还可以启用 [代理 IP 轮换](/products/cn/proxies/datacenter-proxies/ip-control.md) ，通过将端口设置为 `8000`.

此外，你还可以指定 [地理位置](/products/cn/proxies/datacenter-proxies/select-country.md)，例如美国，通过设置 **代理用户名** 为 `user-USERNAME-country-US`.
{% endtab %}

{% tab title="按流量付费订阅" %}
端口 `8001` 会随机选择一个 IP 地址，但在会话期间保持一致。或者，你可以 [轮换代理 IP](/products/cn/proxies/datacenter-proxies/ip-control.md) ，通过使用端口 `8000`.

如果你想使用特定的地理位置 [地理位置](/products/cn/proxies/datacenter-proxies/select-country.md)，例如美国，请将 **代理用户名** 为 `user-USERNAME-country-US`.
{% endtab %}
{% endtabs %}

### ISP代理

**代理类型**: `HTTP`, `HTTPS`，或 `SOCKS5`

**主机**: `isp.oxylabs.io`

**端口**: `8001`

**代理用户名：** `user-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="success" %}
将 `user-` 部分添加到你的用户名前面。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-ea7dcfcb6de65ea8adb8d8682f0b7bbc8eb06171%2Fisp.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

对于 ISP代理，端口会分配给特定的 IP 地址及其位置。因此，端口 `8001` 将始终选择你 [代理列表](/products/cn/proxies/isp-proxies/proxy-list.md)列表中的第一个 IP 地址。你可以启用 [代理轮换](/products/cn/proxies/isp-proxies/proxy-rotation.md) ，通过使用端口 `8000`.

将 **代理用户名** 设置为，例如， `user-USERNAME-country-US`，这将确保你从美国代理池获得轮换 IP。

### 独享ISP代理

**代理类型**: `HTTP`, `HTTPS`，或 `SOCKS5`

**主机**: `disp.oxylabs.io`

**端口**: `8001`

**代理用户名：** `user-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="success" %}
端口号指示将使用你已获取的哪个 IP 地址 [代理列表](/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md) 。使用端口 `8000` 用于自动 [代理 IP 轮换](/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-rotation.md).
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-a38dc31a8c7a928816b2239341208fc5fcc2ae36%2Fadspower-1.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
请务必添加 `user-` 部分添加到你的用户名前面。
{% endhint %}
{% endstep %}

{% step %}

## 检查你的代理连接 <a href="#id-3.-check-proxy-connection" id="id-3.-check-proxy-connection"></a>

你可以通过点击 **检查代理** 按钮来检查代理是否正常工作。你应该会看到以下确认信息：

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-d556621d5b5ec59ba743c8247503ed2c06aade8f%2Fcheck_proxy.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## 启动浏览器

完成浏览器设置后，点击 **确定** 在底部。现在，这个带代理的新配置文件应该会出现在 **配置文件** 选项卡中。只需点击 **打开**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-5820fa29ecaad92ce6918513456b065e3b040b7d%2Flaunch.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

在这里找到一篇关于 AdsPower 集成的深入博客文章 [**这里**](https://oxylabs.io/resources/integrations/adspower)。如果你仍在寻找可供选择的防检测浏览器，请阅读我们的 [**AdsPower 与 Multilogin 对比**](https://oxylabs.io/blog/adspower-vs-multilogin) 文章，帮助你做出决定。


---

# 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://developers.oxylabs.io/integrations/cn/proxy-integrations/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.
