# Campaign Manager 360 API . countries

## Instance Methods

Close httplib2 connections.

Gets one country by ID.

Retrieves a list of countries.

### Method Details

`close()`

    Close httplib2 connections.

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

    Gets one country by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      dartId: string, Country DART 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 country that can be targeted by ads.
      "countryCode": "A String", # Country code.
      "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
      "name": "A String", # Name of this country.
      "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
    }

`list(profileId, x__xgafv=None)`

    Retrieves a list of countries.

    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:

        { # Country List Response
      "countries": [ # Country collection.
        { # Contains information about a country that can be targeted by ads.
          "countryCode": "A String", # Country code.
          "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
          "name": "A String", # Name of this country.
          "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
        },
      ],
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#countriesListResponse".
    }