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

# PFAdCampaignAttributionModel

> PFAdCampaignAttributionModel data model.

PFAdCampaignAttributionModel data model.

## Syntax

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

### Members

**`attributedAt`**   time\_t

UTC time stamp of attribution.

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

(Optional) Attribution campaign identifier.

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

(Optional) Attribution network name.

## Requirements

**Header:** PFTypes.h

## See also

[PFTypes members](https://docs.xbox.com/services/playfab/api-references/c/pftypes/pftypes_members.md)


## Related topics

- [PFPlayerProfileModel](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md)
- [Services C API overview - PFTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [AdCampaignAttribution](https://docs.xbox.com/services/playfab/api-references/events/data-types/adcampaignattribution.md)
- [player_ad_campaign_attribution](https://docs.xbox.com/services/playfab/api-references/events/Player/player-ad-campaign-attribution.md)
- [PlayStream Event Model reference](https://docs.xbox.com/services/playfab/api-references/events/index.md)
