# Campaign Manager 360 API . videoFormats

## Instance Methods

Close httplib2 connections.

Gets one video format by ID.

Lists available video formats.

### Method Details

`close()`

    Close httplib2 connections.

`get(profileId, id, x__xgafv=None)`

    Gets one video format by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: integer, Video format 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 supported video formats.
      "fileType": "A String", # File type of the video format.
      "id": 42, # ID of the video format.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormat".
      "resolution": { # Represents the dimensions of ads, placements, creatives, or creative assets. # The resolution of this video format.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "targetBitRate": 42, # The target bit rate of this video format.
    }

`list(profileId, x__xgafv=None)`

    Lists available video formats.

    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:

        { # Video Format List Response
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormatsListResponse".
      "videoFormats": [ # Video format collection.
        { # Contains information about supported video formats.
          "fileType": "A String", # File type of the video format.
          "id": 42, # ID of the video format.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormat".
          "resolution": { # Represents the dimensions of ads, placements, creatives, or creative assets. # The resolution of this video format.
            "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
            "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          },
          "targetBitRate": 42, # The target bit rate of this video format.
        },
      ],
    }