> ## 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.

# PFAdCampaignAttributionModel

> PFAdCampaignAttributionModel 資料模型。

PFAdCampaignAttributionModel 資料模型。

## 語法

```cpp theme={null}
typedef struct PFAdCampaignAttributionModel {  
    time_t attributedAt;  
    const char* campaignId;  
    const char* platform;  
} PFAdCampaignAttributionModel;  
```

### 成員

**`attributedAt`**   time\_t

歸因的 UTC 時間戳記。

**`campaignId`**   const char\*\
*is null-terminated*

（選擇性）歸因行銷活動識別碼。

**`platform`**   const char\*\
*is null-terminated*

（選擇性）歸因網路名稱。

## 需求

**標頭：** PFTypes.h

## 另請參閱

[PFTypes 成員](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFPlayerProfileModel](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md)
- [服務 C API 概觀 - PFTypes.h](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [AdCampaignAttribution](/zh-TW/services/playfab/api-references/events/data-types/adcampaignattribution.md)
- [player_ad_campaign_attribution](/zh-TW/services/playfab/api-references/events/Player/player-ad-campaign-attribution.md)
- [取得玩家設定檔](/zh-TW/services/playfab/api-references/rest/admin/account-management/get-player-profile.md)
