Campaign Manager 360 API . platformTypes

Instance Methods

close()

Close httplib2 connections.

get(profileId, id, x__xgafv=None)

Gets one platform type by ID.

list(profileId, x__xgafv=None)

Retrieves a list of platform types.

Method Details

close()
Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one platform type by ID.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Platform type ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains information about a platform type that can be targeted by ads.
  "id": "A String", # ID of this platform type.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
  "name": "A String", # Name of this platform type.
}
list(profileId, x__xgafv=None)
Retrieves a list of platform types.

Args:
  profileId: string, User profile ID associated with this request. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Platform Type List Response
  "kind": "A String", # 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.
      "id": "A String", # ID of this platform type.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
      "name": "A String", # Name of this platform type.
    },
  ],
}