# Campaign Manager 360 API . accountPermissions

## Instance Methods

Close httplib2 connections.

Gets one account permission by ID.

Retrieves the list of account permissions.

### Method Details

`close()`

    Close httplib2 connections.

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

    Gets one account permission by ID.

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

    Returns:
      An object of the form:

        { # AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.
      "accountProfiles": [ # Account profiles associated with this account permission. Possible values are: - "ACCOUNT_PROFILE_BASIC" - "ACCOUNT_PROFILE_STANDARD"
        "A String",
      ],
      "id": "A String", # ID of this account permission.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermission".
      "level": "A String", # Administrative level required to enable this account permission.
      "name": "A String", # Name of this account permission.
      "permissionGroupId": "A String", # Permission group of this account permission.
    }

`list(profileId, x__xgafv=None)`

    Retrieves the list of account permissions.

    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:

        { # Account Permission List Response
      "accountPermissions": [ # Account permission collection.
        { # AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.
          "accountProfiles": [ # Account profiles associated with this account permission. Possible values are: - "ACCOUNT_PROFILE_BASIC" - "ACCOUNT_PROFILE_STANDARD"
            "A String",
          ],
          "id": "A String", # ID of this account permission.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermission".
          "level": "A String", # Administrative level required to enable this account permission.
          "name": "A String", # Name of this account permission.
          "permissionGroupId": "A String", # Permission group of this account permission.
        },
      ],
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionsListResponse".
    }