# GetPlatformGameId(string)

> Gets the game identifier specified for a runtime platform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Advertisements](/engine/6000.6/script-reference/unityeditor/advertisements.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static string GetPlatformGameId(string platformName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                           | Description                            |
| -------------------------------------------------------------- | -------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The platform specific game identifier. |
