# AdMob API . accounts

## Instance Methods

Returns the adUnits Resource.

Returns the apps Resource.

Returns the mediationReport Resource.

Returns the networkReport Resource.

Close httplib2 connections.

Gets information about the specified AdMob publisher account.

Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`get(name, x__xgafv=None)`

    Gets information about the specified AdMob publisher account.

    Args:
      name: string, Resource name of the publisher account to retrieve. Example: accounts/pub-9876543210987654 (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A publisher account contains information relevant to the use of this API, such as the time zone used for the reports.
      "currencyCode": "A String", # Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion.
      "name": "A String", # Resource name of this account. Format is accounts/{publisher_id}.
      "publisherId": "A String", # The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890).
      "reportingTimeZone": "A String", # The time zone that is used in reports that are generated for this account. The value is a time-zone ID as specified by the CLDR project, for example, "America/Los_Angeles".
    }

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

    Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672.

    Args:
      pageSize: integer, Maximum number of accounts to return.
      pageToken: string, The value returned by the last `ListPublisherAccountsResponse`; indicates that this is a continuation of a prior `ListPublisherAccounts` call, and that the system should return the next page of data.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response for the publisher account list request.
      "account": [ # Publisher that the client credentials can access.
        { # A publisher account contains information relevant to the use of this API, such as the time zone used for the reports.
          "currencyCode": "A String", # Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion.
          "name": "A String", # Resource name of this account. Format is accounts/{publisher_id}.
          "publisherId": "A String", # The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890).
          "reportingTimeZone": "A String", # The time zone that is used in reports that are generated for this account. The value is a time-zone ID as specified by the CLDR project, for example, "America/Los_Angeles".
        },
      ],
      "nextPageToken": "A String", # If not empty, indicates that there might be more accounts for the request; you must pass this value in a new `ListPublisherAccountsRequest`.
    }

`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.