Skip to main content

GET /gpdomains/v2/aggregated/compliance

GET 

gpdomains/v2/aggregated/compliance

Returns the current domain count for every compliance verdict

Query Parameters​

domain string
Filter Google Postmaster v2 domains by a domain name substring

profile_id string
Filter Google Postmaster v2 domains by profile ID

compliance string
Filter by domain compliance status. Accepts a comma-separated string or JSON array of values.

Returns

  • dataobject
    Counts of monitored domains, grouped by their current compliance verdict
    • COMPLIANTinteger
      Number of domains that comply with all requirements
    • NEEDS_WORKinteger
      Number of domains that do not comply with one or more requirements
    • STATE_UNSPECIFIEDinteger
      Number of domains for which Google has not reported compliance
Error Codes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

500 Internal Server Error

Internal server error