> ## 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\*<br />*is null-terminated*

（可选）归因活动标识符。

**`platform`**   const char\*<br />*is null-terminated*

（可选）归因网络名称。

## 要求

**头文件：** PFTypes.h

## 另请参阅

[PFTypes 成员](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFPlayerProfileModel](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md)
- [服务 C API 概览 - PFTypes.h](/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [AdCampaignAttribution](/zh-CN/services/playfab/api-references/events/data-types/adcampaignattribution.md)
- [player_ad_campaign_attribution](/zh-CN/services/playfab/api-references/events/Player/player-ad-campaign-attribution.md)
- [PFSegmentsAdCampaignAttribution](/zh-CN/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsadcampaignattribution.md)
