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

# PFSegmentsPlayerProfile

> PFSegmentsPlayerProfile data model.

PFSegmentsPlayerProfile data model.

## Syntax

```cpp theme={null}
typedef struct PFSegmentsPlayerProfile {  
    PFSegmentsAdCampaignAttribution const* adCampaignAttributions;  
    uint32_t adCampaignAttributionsCount;  
    const char* avatarUrl;  
    time_t const* bannedUntil;  
    PFSegmentsChurnRiskLevel const* churnPrediction;  
    PFSegmentsContactEmailInfo const* contactEmailAddresses;  
    uint32_t contactEmailAddressesCount;  
    time_t const* created;  
    const char* displayName;  
    time_t const* lastLogin;  
    PFSegmentsPlayerLinkedAccount const* linkedAccounts;  
    uint32_t linkedAccountsCount;  
    PFSegmentsPlayerLocationDictionaryEntry const* locations;  
    uint32_t locationsCount;  
    PFLoginIdentityProvider const* origination;  
    const char* const* playerExperimentVariants;  
    uint32_t playerExperimentVariantsCount;  
    const char* playerId;  
    PFSegmentsPlayerStatistic const* playerStatistics;  
    uint32_t playerStatisticsCount;  
    const char* publisherId;  
    PFSegmentsPushNotificationRegistration const* pushNotificationRegistrations;  
    uint32_t pushNotificationRegistrationsCount;  
    PFInt32DictionaryEntry const* statistics;  
    uint32_t statisticsCount;  
    const char* const* tags;  
    uint32_t tagsCount;  
    const char* titleId;  
    uint32_t const* totalValueToDateInUSD;  
    PFUint32DictionaryEntry const* valuesToDate;  
    uint32_t valuesToDateCount;  
    PFInt32DictionaryEntry const* virtualCurrencyBalances;  
    uint32_t virtualCurrencyBalancesCount;  
} PFSegmentsPlayerProfile;  
```

### Members

**`adCampaignAttributions`**   [PFSegmentsAdCampaignAttribution](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsadcampaignattribution) const\*<br />*may be nullptr*

(Optional) Array of ad campaigns player has been attributed to.

**`adCampaignAttributionsCount`**   uint32\_t

Count of adCampaignAttributions

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

(Optional) Image URL of the player's avatar.

**`bannedUntil`**   time\_t const\*<br />*may be nullptr*

(Optional) Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date.

**`churnPrediction`**   [PFSegmentsChurnRiskLevel](/services/playfab/api-references/c/pfsegmentstypes/enums/pfsegmentschurnrisklevel) const\*<br />*may be nullptr*

(Optional) The prediction of the player to churn within the next seven days.

**`contactEmailAddresses`**   [PFSegmentsContactEmailInfo](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentscontactemailinfo) const\*<br />*may be nullptr*

(Optional) Array of contact email addresses associated with the player.

**`contactEmailAddressesCount`**   uint32\_t

Count of contactEmailAddresses

**`created`**   time\_t const\*<br />*may be nullptr*

(Optional) Player record created.

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

(Optional) Player Display Name.

**`lastLogin`**   time\_t const\*<br />*may be nullptr*

(Optional) Last login.

**`linkedAccounts`**   [PFSegmentsPlayerLinkedAccount](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsplayerlinkedaccount) const\*<br />*may be nullptr*

(Optional) Array of third party accounts linked to this player.

**`linkedAccountsCount`**   uint32\_t

Count of linkedAccounts

**`locations`**   PFSegmentsPlayerLocationDictionaryEntry const\*<br />*may be nullptr*

(Optional) Dictionary of player's locations by type.

**`locationsCount`**   uint32\_t

Count of locations

**`origination`**   [PFLoginIdentityProvider](/services/playfab/api-references/c/pftypes/enums/pfloginidentityprovider) const\*<br />*may be nullptr*

(Optional) Player account origination.

**`playerExperimentVariants`**   const char\* const\*<br />*may be nullptr*

(Optional) List of player variants for experimentation.

**`playerExperimentVariantsCount`**   uint32\_t

Count of playerExperimentVariants

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

(Optional) PlayFab Player ID.

**`playerStatistics`**   [PFSegmentsPlayerStatistic](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsplayerstatistic) const\*<br />*may be nullptr*

(Optional) Array of player statistics.

**`playerStatisticsCount`**   uint32\_t

Count of playerStatistics

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

(Optional) Publisher this player belongs to.

**`pushNotificationRegistrations`**   [PFSegmentsPushNotificationRegistration](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentspushnotificationregistration) const\*<br />*may be nullptr*

(Optional) Array of configured push notification end points.

**`pushNotificationRegistrationsCount`**   uint32\_t

Count of pushNotificationRegistrations

**`statistics`**   [PFInt32DictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfint32dictionaryentry) const\*<br />*may be nullptr*

(Optional) Dictionary of player's statistics using only the latest version's value.

**`statisticsCount`**   uint32\_t

Count of statistics

**`tags`**   const char\* const\*<br />*may be nullptr*

(Optional) List of player's tags for segmentation.

**`tagsCount`**   uint32\_t

Count of tags

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

(Optional) Title ID this profile applies to.

**`totalValueToDateInUSD`**   uint32\_t const\*<br />*may be nullptr*

(Optional) A sum of player's total purchases in USD across all currencies.

**`valuesToDate`**   [PFUint32DictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfuint32dictionaryentry) const\*<br />*may be nullptr*

(Optional) Dictionary of player's total purchases by currency.

**`valuesToDateCount`**   uint32\_t

Count of valuesToDate

**`virtualCurrencyBalances`**   [PFInt32DictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfint32dictionaryentry) const\*<br />*may be nullptr*

(Optional) Dictionary of player's virtual currency balances.

**`virtualCurrencyBalancesCount`**   uint32\_t

Count of virtualCurrencyBalances

## Requirements

**Header:** PFSegmentsTypes.h

## See also

[PFSegmentsTypes members](/services/playfab/api-references/c/pfsegmentstypes/pfsegmentstypes_members)


## Related topics

- [PFSegmentsGetPlayersInSegmentResult](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayersinsegmentresult.md)
- [Services C API overview - PFSegmentsTypes.h](/services/playfab/api-references/c/pfsegmentstypes/pfsegmentstypes_members.md)
- [PFSegmentsGetPlayersInSegmentRequest](/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayersinsegmentrequest.md)
- [Tutorial to export players in a Segment](/services/playfab/live-service-management/game-configuration/segmentation/segmentation-export-players-in-a-segment.md)
- [PFSegmentsServerGetPlayersInSegmentAsync](/services/playfab/api-references/c/pfsegments/functions/pfsegmentsservergetplayersinsegmentasync.md)
