> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/submit-conversion-data/submit-call-conversion-data-via-ftp.md).

# 通过 FTP 提交电话转化数据

<a href="https://pxa.impact.com/student/activity/1117597?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=tra-350&#x26;utm_campaign=help-center" class="button primary">参加 PXA 课程</a>

跟踪电话转化数据的品牌可以将这些数据整理到 .CSV 文件中进行批量报告，并使用专属凭据将文件上传到 Impact FTP 服务器。

通过 FTP 批量提交到 impact.com 的电话转化数据通常会在 24 小时内处理完毕，并在 impact.com 平台中显示为待处理操作。

#### 上传 .CSV 文件

若要提交到 impact.com 的 FTP 服务器，您需要先获取账户凭据。请按照以下说明操作，了解如何将现有凭据通过电子邮件发送给您。

{% hint style="warning" %}
**注意：** 如果您没有收到邮件，请联系创建 impact.com 账户的人员，或者 [联系支持团队](https://app.impact.com/secure/mediapartner/support/customer-support-portal-flow.ihtml?execution=e1s1).
{% endhint %}

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户个人资料] → 设置**.
2. 在右侧栏的 *跟踪*下，选择 **事件类型**.
3. 将光标悬停在要提交数据的事件类型上，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[更多] → 查看/编辑**.
4. 在 *退货处理*旁边，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fkka3dqJOx8ZhiX82RDLt%2FEdit_light.svg?alt=media\&token=f454405c-ebd8-49af-90db-22efc27476bf) **\[编辑]**.
5. 选择 **自动处理退货（高级）→ 批量上传**.
6. 通过选择以下选项来选择 FTP 连接： ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-b5e1740618ed6571d97b8fed7c25a7678f85d375%2F299632fb6f4f91fbf9847471754cc6180e4284a65b4960af4c4ea472a159f552.svg?alt=media) **\[未选中的复选框]**.
   * 或者，选择 **创建新连接**. 了解如何 [创建数据上传连接](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/account-administration/account-settings/send-data-to-impactcom/create-a-data-upload-connection.md).
7. 获取 FTP 凭据后，请使用 FTP 客户端连接到 impact.com。
   * FTP 地址为 `ftp://import.impact.com/{name}`
   * 您可以使用现有凭据，也可以使用自动生成的凭据。
8. 连接后，将文件上传到服务器的主目录。

#### 电话转化文件格式规范

电话转化数据以 .CSV 文件形式填入。请参阅以下规范，了解 .CSV 文件中所需的所有列标题。

<details>

<summary>电话转化文件格式参考</summary>

| 字段                            | 类型             | 必填     | 说明                                                                                                                                                                                                                                                                                                                             |
| ----------------------------- | -------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `CampaignId`                  | 整数             | **必填** | 与电话转化相关联的活动（或计划）的唯一标识符。                                                                                                                                                                                                                                                                                                        |
| `MediaId`                     | 整数             | **必填** | 合作伙伴或媒体来源的唯一标识符。                                                                                                                                                                                                                                                                                                               |
| `EventDate`                   | 日期时间（ISO 8601） | **必填** | 电话转化事件发生日期和时间的 ISO 8601 格式。                                                                                                                                                                                                                                                                                                    |
| `ActionTrackerId`             | 整数             | **必填** | 跟踪电话的操作跟踪器（即事件类型）的唯一标识符。                                                                                                                                                                                                                                                                                                       |
| `CallProvider`                | 字符串            | **必填** | 发送电话事件数据的供应商或客户                                                                                                                                                                                                                                                                                                                |
| `CallSessionId`               | 字符串            | **必填** | 供应商或客户用于标识通话的唯一会话 ID。                                                                                                                                                                                                                                                                                                          |
| `CallerId`                    | 字符串            | **必填** | 发起通话的电话号码，用于匹配最终转化。                                                                                                                                                                                                                                                                                                            |
| `CalledPhoneNumber`           | 字符串            | **必填** | 接收通话的目标电话号码。                                                                                                                                                                                                                                                                                                                   |
| `CallDuration`                | 字符串            | **必填** | 通话总时长（秒）。                                                                                                                                                                                                                                                                                                                      |
| `TalkDuration`                | 字符串            | **必填** | 实际通话时长（秒）。                                                                                                                                                                                                                                                                                                                     |
| `AdId`                        | 整数             | 可选     | 与电话转化相关联的广告的唯一标识符。                                                                                                                                                                                                                                                                                                             |
| `CallStatus`                  | 字符串            | 可选     | <p>此值表示通话的最终结果。如果请求中未包含此字段，我们会将其 <code>ANSWER</code> （默认值）。有效值包括：</p><p><code>UNKNOWN\_CALLERID</code></p><p><code>FAILURE</code></p><p><code>CONGESTION</code></p><p><code>INCOMPLETE</code></p><p><code>CANCEL</code></p><p><code>IVR\_DROPOFF</code></p><p><code>NO\_TRANSFER\_ATTEMPT</code></p><p><code>ANSWER</code></p> |
| `CallerPhoneNumberCountry`    | 字符串            | 可选     | 发起呼叫的电话号码所属国家/地区的两位代码（ISO 3166 alpha-2）。为 NULL 时，默认为 US。                                                                                                                                                                                                                                                                       |
| `CalledPhoneNumberCountry`    | 字符串            | 可选     | 被呼叫的电话号码所属国家/地区的两位代码（ISO 3166 alpha-2）。为 NULL 时，默认为 US。                                                                                                                                                                                                                                                                        |
| `SubId1`                      | 字符串            | 可选     | 此值专供媒体合作伙伴使用。媒体合作伙伴可在此占位符中添加数据点，供 impact.com 向其报告。                                                                                                                                                                                                                                                                             |
| `SubId2`                      | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `SubId3`                      | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `ClickId`                     | 字符串            | 可选     | 由 impact.com 生成的唯一且区分大小写的引荐点击标识符，用于构建消费者旅程。                                                                                                                                                                                                                                                                                    |
| `Country`                     | 字符串            | 可选     | 来电者 ID 所属国家/地区，由呼叫追踪服务商识别。                                                                                                                                                                                                                                                                                                     |
| `City`                        | 字符串            | 可选     | 来电者 ID 所属城市，由呼叫追踪服务商识别。                                                                                                                                                                                                                                                                                                        |
| `Region`                      | 字符串            | 可选     | 来电者 ID 所属地区，由呼叫追踪服务商识别。                                                                                                                                                                                                                                                                                                        |
| `Zip`                         | 整数             | 可选     | 来电者 ID 的邮政编码，由呼叫追踪服务商识别。                                                                                                                                                                                                                                                                                                       |
| `RepeatCaller`                | 字符串            | 可选     | 用于指示来电是重复来电还是新来电，即呼叫追踪服务商是否将来电者记录为重复来电者。                                                                                                                                                                                                                                                                                       |
| `PhoneType`                   | 字符串            | 可选     | 电话类型（例如，固定电话、移动电话）。                                                                                                                                                                                                                                                                                                            |
| `CallRecording`               | 字符串            | 可选     | 通话录音的唯一 URL。                                                                                                                                                                                                                                                                                                                   |
| `IvrDuration`                 | 字符串            | 可选     | 通话在 IVR 菜单树中停留的时长（秒）。                                                                                                                                                                                                                                                                                                          |
| `Keypresses`                  | 字符串            | 可选     | 通话期间按下的唯一按键名称列表。                                                                                                                                                                                                                                                                                                               |
| `Key1`                        | 字符串            | 可选     | 按下的第一个按键的名称。                                                                                                                                                                                                                                                                                                                   |
| `Key2`                        | 字符串            | 可选     | 按下的第二个按键的名称。                                                                                                                                                                                                                                                                                                                   |
| `Key3`                        | 字符串            | 可选     | 按下的第三个按键的名称。                                                                                                                                                                                                                                                                                                                   |
| `Key4`                        | 字符串            | 可选     | 按下的第四个按键的名称。                                                                                                                                                                                                                                                                                                                   |
| `TrafficSource`               | 字符串            | 可选     | 交易来源（引荐媒体来源）。                                                                                                                                                                                                                                                                                                                  |
| `OptInSms`                    | 字符串            | 可选     | 来电者是否同意接收短信促销信息。                                                                                                                                                                                                                                                                                                               |
| `UserAgent`                   | 字符串            | 可选     | 转化生成器的用户代理。                                                                                                                                                                                                                                                                                                                    |
| `DispositionName`             | 字符串            | 可选     | 转化事件名称。                                                                                                                                                                                                                                                                                                                        |
| `SaleAmount`                  | 货币             | 可选     | 如果是销售转化，则为销售金额                                                                                                                                                                                                                                                                                                                 |
| `ReferenceId`                 | 字符串            | 可选     | 用于参考的客户处置代码。                                                                                                                                                                                                                                                                                                                   |
| `CustomConversionEvent1Name`  | 字符串            | 可选     | 用于转化事件报告的自定义名称                                                                                                                                                                                                                                                                                                                 |
| `CustomConversionEvent2Name`  | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `CustomConversionEvent3Name`  | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `CustomConversionEvent1Value` | 字符串            | 可选     | 用于转化事件报告的自定义值                                                                                                                                                                                                                                                                                                                  |
| `CustomConversionEvent2Value` | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `CustomConversionEvent3Value` | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `VendorEventId`               | 字符串            | 可选     | 对于通话事件和转化事件，该值都是唯一的。                                                                                                                                                                                                                                                                                                           |
| `PromoNumberDescription`      | 字符串            | 可选     | 描述被拨打的电话号码                                                                                                                                                                                                                                                                                                                     |
| `CustomCallEvent1Name`        | 字符串            | 可选     | 用于通话事件报告的自定义名称                                                                                                                                                                                                                                                                                                                 |
| `CustomCallEvent2Name`        | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `CustomCallEvent3Name`        | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `CustomCallEvent1Value`       | 字符串            | 可选     | 用于通话事件报告的自定义值                                                                                                                                                                                                                                                                                                                  |
| `CustomCallEvent2Value`       | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |
| `CustomCallEvent3Value`       | 字符串            | 可选     |                                                                                                                                                                                                                                                                                                                                |

</details>

#### CSV 示例

复制此 CSV 示例数据，以便用于导入文件。

```programlisting
CampaignId,MediaId,EventDate,ActionTrackerId,CallProvider,CallSessionId,CallerId,CalledPhoneNumber,CallDuration,TalkDuration,AdId,CallStatus,CallerPhoneNumberCountry,CalledPhoneNumberCountry,SubId1,SubId2,SubId3,ClickId,City,Region,Zip,RepeatCaller,PhoneType,CallRecording,IvrDuration,Keypresses,Key1,Key2,Key3,Key4,OptInSms,UserAgent,DispositionName,SaleAmount,ReferenceId,CustomConversionEvent1Name,CustomConversionEvent2Name,CustomConversionEvent3Name,CustomConversionEvent1Value,CustomConversionEvent2Value,CustomConversionEvent3Value,VendorEventId,PromoNumberDescription,CustomCallEvent1Name,CustomCallEvent2Name,CustomCallEvent3Name,CustomCallEvent1Value,CustomCallEvent2Value,CustomCallEvent3Value
1000,987654,2022-03-01T04:10:49-05:00,19283,Acme,1A5B9C4D0E0F7G1H0I,8005550100,11,8,
```


---

# 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://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/submit-conversion-data/submit-call-conversion-data-via-ftp.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.
