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

# PFTitleDataManagementServerSetPublisherDataAsync

> Updates the key-value store of custom publisher settings

Updates the key-value store of custom publisher settings

## Syntax

```cpp theme={null}
HRESULT PFTitleDataManagementServerSetPublisherDataAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFTitleDataManagementSetPublisherDataRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFTitleDataManagementSetPublisherDataRequest\*](/services/playfab/api-references/c/pftitledatamanagementtypes/structs/pftitledatamanagementsetpublisherdatarequest)

Populated request object.

**`async`**   XAsyncBlock\*\
**Inout**

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Win32, Linux, and macOS. This API is designed to store publisher-specific values which can be read, but not written to, by the client. This data is shared across all titles assigned to a particular publisher, and can be used for cross-game coordination. Only titles assigned to a publisher can use this API. This operation is additive. If a Key does not exist in the current dataset, it will be added with the specified Value. If it already exists, the Value for that key will be overwritten with the new Value. For more information email [helloplayfab@microsoft.com](mailto:helloplayfab@microsoft.com) See also ServerGetPublisherDataAsync. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be E\_PF\_PUBLISHER\_NOT\_SET or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFTitleDataManagement.h

## See also

[PFTitleDataManagement members](/services/playfab/api-references/c/pftitledatamanagement/pftitledatamanagement_members)


## Related topics

- [Services C API overview - PFTitleDataManagement.h](/services/playfab/api-references/c/pftitledatamanagement/pftitledatamanagement_members.md)
- [PFTitleDataManagementServerGetPublisherDataAsync](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementservergetpublisherdataasync.md)
- [PFTitleDataManagementServerGetPublisherDataGetResult](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementservergetpublisherdatagetresult.md)
- [PFPlayerDataManagementServerGetUserPublisherDataAsync](/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementservergetuserpublisherdataasync.md)
- [PFPlayerDataManagementServerUpdateUserPublisherDataAsync](/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverupdateuserpublisherdataasync.md)
