Gmail Postmaster Tools API (gmailpostmastertools:v1)

2026-11-17

4 removed methods | Removed API

Deletions

    Methods
  • ▼ ▲ gmailpostmastertools.domains.trafficStats.get

      Parameters :

        name

          Description : The resource name of the traffic statistics to get. E.g., domains/mymail.mydomain.com/trafficStats/20160807.

          Type : string

          Required : Yes

          Pattern : ^domains/[^/]+/trafficStats/[^/]+$

          Location : path

      Description : Get traffic statistics for a domain on a specific date. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.

      HTTP Method : GET

      Scopes : https://www.googleapis.com/auth/postmaster.readonly

      Path : v1/{+name}

      Parameter Order : name

      Flat Path : v1/domains/{domainsId}/trafficStats/{trafficStatsId}

  • ▼ ▲ gmailpostmastertools.domains.trafficStats.list

      Description : List traffic statistics for all available days. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.

      Path : v1/{+parent}/trafficStats

      HTTP Method : GET

      Flat Path : v1/domains/{domainsId}/trafficStats

      Parameter Order : parent

      Parameters :

        parent

          Description : The resource name of the domain whose traffic statistics we'd like to list. It should have the form `domains/{domain_name}`, where domain_name is the fully qualified domain name.

          Pattern : ^domains/[^/]+$

          Type : string

          Required : Yes

          Location : path

        startDate.year

          Format : int32

          Description : Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

          Location : query

          Type : integer

        pageSize

          Format : int32

          Location : query

          Type : integer

          Description : Requested page size. Server may return fewer TrafficStats than requested. If unspecified, server will pick an appropriate default.

        pageToken

          Location : query

          Type : string

          Description : The next_page_token value returned from a previous List request, if any. This is the value of ListTrafficStatsResponse.next_page_token returned from the previous call to `ListTrafficStats` method.

        startDate.month

          Location : query

          Format : int32

          Description : Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

          Type : integer

        endDate.month

          Description : Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

          Format : int32

          Type : integer

          Location : query

        endDate.day

          Description : Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

          Type : integer

          Format : int32

          Location : query

        startDate.day

          Type : integer

          Format : int32

          Location : query

          Description : Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

        endDate.year

          Type : integer

          Format : int32

          Description : Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

          Location : query

      Scopes : https://www.googleapis.com/auth/postmaster.readonly

  • ▼ ▲ gmailpostmastertools.domains.get

      Description : Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist.

      Parameters :

        name

          Description : The resource name of the domain. It should have the form `domains/{domain_name}`, where domain_name is the fully qualified domain name.

          Type : string

          Required : Yes

          Pattern : ^domains/[^/]+$

          Location : path

      Scopes : https://www.googleapis.com/auth/postmaster.readonly

      Path : v1/{+name}

      Flat Path : v1/domains/{domainsId}

      HTTP Method : GET

      Parameter Order : name

  • ▼ ▲ gmailpostmastertools.domains.list

      HTTP Method : GET

      Path : v1/domains

      Parameters :

        pageSize

          Description : Requested page size. Server may return fewer domains than requested. If unspecified, server will pick an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : The next_page_token value returned from a previous List request, if any. This is the value of ListDomainsResponse.next_page_token returned from the previous call to `ListDomains` method.

          Type : string

          Location : query

      Scopes : https://www.googleapis.com/auth/postmaster.readonly

      Description : Lists the domains that have been registered by the client. The order of domains in the response is unspecified and non-deterministic. Newly created domains will not necessarily be added to the end of this list.

      Flat Path : v1/domains