# Merchant API . accounts . limits

## Instance Methods

Close httplib2 connections.

Retrieves an account limit.

Lists the limits of an account.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`get(name, x__xgafv=None)`

    Retrieves an account limit.

    Args:
      name: string, Required. The name of the limit to retrieve. Format: `accounts/{account}/limits/{limit}` For example: `accounts/123/limits/products~ADS_NON_EEA` (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A limit of a certain type that is applied to an account.
      "name": "A String", # Identifier. The limit part of the name will be a combination of the type and the scope. For example: `accounts/123/limits/products~ADS_NON_EEA` Format: `accounts/{account}/limits/{limit}`
      "products": { # The limit for products. # The limit for products.
        "limit": "A String", # Required. The maximum number of products that are allowed in the account in the given scope.
        "scope": "A String", # Required. The scope of the product limit.
      },
    }

`list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)`

    Lists the limits of an account.

    Args:
      parent: string, Required. The parent account. Format: `accounts/{account}` (required)
      filter: string, Required. A filter on the limit `type` is required, for example, `type = "products"`.
      pageSize: integer, Optional. The maximum number of limits to return. The service may return fewer than this value. If unspecified, at most 100 limits will be returned. The maximum value is 100; values above 100 will be coerced to 100.
      pageToken: string, Optional. A page token, received from a previous `ListAccountLimits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLimits` must match the call that provided the page token.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response message for the `ListAccountLimits` method.
      "accountLimits": [ # The limits for the given account.
        { # A limit of a certain type that is applied to an account.
          "name": "A String", # Identifier. The limit part of the name will be a combination of the type and the scope. For example: `accounts/123/limits/products~ADS_NON_EEA` Format: `accounts/{account}/limits/{limit}`
          "products": { # The limit for products. # The limit for products.
            "limit": "A String", # Required. The maximum number of products that are allowed in the account in the given scope.
            "scope": "A String", # Required. The scope of the product limit.
          },
        },
      ],
      "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
    }

`list_next()`

    Retrieves the next page of results.

            Args:
              previous_request: The request for the previous page. (required)
              previous_response: The response from the request for the previous page. (required)

            Returns:
              A request object that you can call 'execute()' on to request the next
              page. Returns None if there are no more items in the collection.