> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 每日和每月 CDN 使用量報告

> PlayFab 每日和每月 CDN 使用量報告的概觀，這些報告會追蹤玩家的內容下載次數和傳輸的位元組量。

## 每日內容使用量報告

CDN 使用量報告包含兩個圖表，顯示 24 小時期間內的內容使用量：

1. **Data Volume** 圖表說明傳輸位元組的分佈。
2. **Access Count** 圖表顯示指定期間內內容下載的分佈。

<img src="https://mintcdn.com/microsoft-4404708b/MjJ0-cTsb1bpaMcX/images/playfab/data-analytics/learn-data/reports/tutorials/daily-content-usage-report-table.png?fit=max&auto=format&n=MjJ0-cTsb1bpaMcX&q=85&s=6839fd94b4212e8b0309916664c72632" alt="每日內容使用量報告表格" width="1186" height="699" data-path="images/playfab/data-analytics/learn-data/reports/tutorials/daily-content-usage-report-table.png" />

## 每月內容使用量摘要報告

此報告會摘要每月的內容使用量。其中的表格包含指定月份內傳輸的內容位元組數量，以及下載總次數。

<img src="https://mintcdn.com/microsoft-4404708b/MjJ0-cTsb1bpaMcX/images/playfab/data-analytics/learn-data/reports/tutorials/monthly-content-usage-report-table.png?fit=max&auto=format&n=MjJ0-cTsb1bpaMcX&q=85&s=76c0286db02c1e009a02705cebfc053e" alt="每月內容使用量報告表格" width="848" height="290" data-path="images/playfab/data-analytics/learn-data/reports/tutorials/monthly-content-usage-report-table.png" />

## 填入內容使用量報告

下方所示範本中的程式碼可用來為報告加入一些資料。

```csharp theme={null}
public void GetContent()
{
    PlayFabClientAPI.GetContentDownloadUrl(new GetContentDownloadUrlRequest() {
        HttpMethod = "GET",
        Key = "ContentKey"
    }, result => {
        // Implement your own Download function based on URL
        DownloadContent(result.URL);
    }, error => {
        Debug.LogError(error.GenerateErrorReport());

    });
}
```

請務必了解，[GetContentDownloadUrl](xref:titleid.playfabapi.com.client.content.getcontentdownloadurl) API 呼叫本身並不會在報告中產生新項目。

它只會提供內容下載的 URI。您可以使用任何 HTTP 要求技術來執行 GET 要求。完成後，就會新增一個項目，並反映在這兩份報告中。

## 如何使用報告圖表

PlayFab 報告圖表都遵循相同的模型：

1. 在頁面的頂端區域，通常會有一個 **控制台**。其中包含報告名稱、觀察的時間期間，以及用來切換時間期間的 **Prev/Next** 按鈕。

2. **圖表面板** 區域會以圖表顯示可用的資料，其中水平軸對應時間的推移，垂直軸則對應相關執行個體的數量，例如 API 呼叫、購買、使用者等，視報告類型而定。

<img src="https://mintcdn.com/microsoft-4404708b/MjJ0-cTsb1bpaMcX/images/playfab/data-analytics/learn-data/reports/tutorials/monthly-overview-report.png?fit=max&auto=format&n=MjJ0-cTsb1bpaMcX&q=85&s=6d72fcf120c805a89e47586c3ae5d9fa" alt="每月概觀報告" width="2560" height="1199" data-path="images/playfab/data-analytics/learn-data/reports/tutorials/monthly-overview-report.png" />

3. **時間軸** 區域中可用的計量包括整個時間期間內所有執行個體的總和 (**SUM**)、所有時間戳記的平均執行個體數 (**AVG**)、峰值 (**MAX**) 和最低值 (**MIN**)。


## Related topics

- [報告快速入門](/zh-TW/services/playfab/data-analytics/learn-data/reports/quickstart.md)
- [每日和每月熱門物品報告](/zh-TW/services/playfab/data-analytics/learn-data/reports/daily-and-monthly-top-items-report.md)
- [每日和每月最高消費者報告](/zh-TW/services/playfab/data-analytics/learn-data/reports/daily-and-monthly-top-spender-report.md)
- [每日、每月和滾動 30 天概觀報告](/zh-TW/services/playfab/data-analytics/learn-data/reports/daily-monthly-and-rolling-30-day-overview-and-totals-reports.md)
- [內容傳遞網路](/zh-TW/services/playfab/data-analytics/legacy/content-delivery-network/index.md)
