# DCM/DFA Reporting And Trafficking API . connectionTypes

## Instance Methods

Close httplib2 connections.

Gets one connection type by ID.

Retrieves a list of connection types.

### Method Details

`close()`

    Close httplib2 connections.

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

    Gets one connection type by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: string, Connection 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 an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
        "id": "A String", # ID of this connection type.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
        "name": "A String", # Name of this connection type.
      }

`list(profileId, x__xgafv=None)`

    Retrieves a list of connection 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:

        { # Connection Type List Response
        "connectionTypes": [ # Collection of connection types such as broadband and mobile.
          { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
            "id": "A String", # ID of this connection type.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
            "name": "A String", # Name of this connection type.
          },
        ],
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionTypesListResponse".
      }