# DCM/DFA Reporting And Trafficking API . platformTypes

## Instance Methods

Retrieves a list of platform types.

### Method Details

`list(profileId)`

    Retrieves a list of platform types.

    Args:
      profileId: string, User profile ID associated with this request. (required)

    Returns:
      An object of the form:

        { # Platform Type List Response
        "kind": "dfareporting#platformTypesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformTypesListResponse".
        "platformTypes": [ # Platform type collection
          { # Contains information about a platform type that can be targeted by ads.
            "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
            "id": "A String", # ID of this platform type.
            "name": "A String", # Name of this platform type.
          },
        ],
      }