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

# PFAccountManagementLinkGooglePlayGamesServicesAccountRequest

> PFAccountManagementLinkGooglePlayGamesServicesAccountRequest data model. Google Play Games sign-in is accomplished by obtaining a Google OAuth 2.0 credential.

PFAccountManagementLinkGooglePlayGamesServicesAccountRequest data model. Google Play Games sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google Play Games sign-in for Android APIs on the device and passing it to this API.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementLinkGooglePlayGamesServicesAccountRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* serverAuthCode;  
} PFAccountManagementLinkGooglePlayGamesServicesAccountRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`forceLink`**   bool const\*<br />*may be nullptr*

(Optional) If another user is already linked to the account, unlink the other user and re-link. If the current user is already linked, link both accounts.

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

OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() ([https://developers.google.com/games/services/android/signin](https://developers.google.com/games/services/android/signin)) Google Play Games client API.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientLinkGooglePlayGamesServicesAccountAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkgoogleplaygamesservicesaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementLinkGoogleAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkgoogleaccountrequest.md)
- [PFAccountManagementUnlinkGooglePlayGamesServicesAccountRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkgoogleplaygamesservicesaccountrequest.md)
- [PFAccountManagementClientUnlinkGooglePlayGamesServicesAccountAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkgoogleplaygamesservicesaccountasync.md)
