REST Resource: platformTypes
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[null,null,["Last updated 2024-09-19 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePlatformType\u003c/code\u003e resource provides information about platform types that can be targeted by ads, containing an ID, name, and resource kind.\u003c/p\u003e\n"],["\u003cp\u003eYou can use methods like \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003elist\u003c/code\u003e to retrieve individual platform types or a list of them.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a platform type includes \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003ename\u003c/code\u003e, and \u003ccode\u003ekind\u003c/code\u003e fields with specific data types.\u003c/p\u003e\n"]]],[],null,["# REST Resource: platformTypes\n\n- [Resource: PlatformType](#PlatformType)\n - [JSON representation](#PlatformType.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: PlatformType\n----------------------\n\nContains information about a [platform type](https://support.google.com/dcm/answer/2869178) that can be targeted by ads.\n\n| JSON representation |\n|----------------------------------------------------------|\n| ``` { \"id\": string, \"name\": string, \"kind\": string } ``` |\n\n| Fields ||\n|--------|---------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of this platform type. |\n| `name` | `string` Name of this platform type. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#platformType\"` . |\n\n| Methods ------- ||\n|-----------------------------------------------------------------|-------------------------------------|\n| ### [get](/doubleclick-advertisers/rest/v4/platformTypes/get) | Gets one platform type by ID. |\n| ### [list](/doubleclick-advertisers/rest/v4/platformTypes/list) | Retrieves a list of platform types. |"]]