GET /gpdomains/v2/aggregated/domain/{id}
GETgpdomains/v2/aggregated/domain/:id
Retrieve full Google Postmaster v2 traffic statistics for one monitored domain
Path Parameters
id string Required
Query Parameters
stats_date_from string Required
Start date for filtering statistics. Use date-time without timezone because Google Postmaster records are stored as calendar-date records with the timestamp set to the start of that day. Example: 2021-07-06T00:00:00.000Z. Do not send timezone offsets
stats_date_to string Required
End date for filtering statistics. Use date-time without timezone because Google Postmaster records are stored as calendar-date records with the timestamp set to the start of that day. Example: 2021-08-06T00:00:00.000Z. Do not send timezone offsets. The difference between stats_date_from and stats_date_to must not exceed 30 days
Returns
- dataobject
- idstringUnique identifier of the monitored domain entry
- domainstringMonitored domain name
- compliance_statsobjectGoogle Postmaster compliance information for the monitored domain
- spfobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dkimobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- spf_and_dkimobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dmarc_policyobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dmarc_alignmentobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- message_formattingobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dns_recordsobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- encryptionobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- user_reported_spam_rateobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- one_click_unsubscribe_verdictobjectGoogle compliance verdict for one-click unsubscribe support
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK - reasonstringGoogle-provided reason for the one-click unsubscribe compliance verdictAllowed values:
REASON_UNSPECIFIED,NO_UNSUB_GENERAL,NO_UNSUB_SPAM_REPORTS,NO_UNSUB_PROMO_SPAM_REPORTS
- statusstring
- honor_unsubscribe_verdictobjectGoogle compliance verdict for honoring unsubscribe requests
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK - reasonstringGoogle-provided reason for the honor-unsubscribe compliance verdictAllowed values:
REASON_UNSPECIFIED,NOT_HONORING,NOT_HONORING_TOO_FEW_CAMPAIGNS,NOT_HONORING_TOO_MANY_CAMPAIGNS
- statusstring
- deliverability_status_verdictobjectGoogle assessment of the domain's deliverability status
- statusstringCurrent deliverability compliance stateAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK - reasonstringGoogle-provided reason for the deliverability statusAllowed values:
REASON_UNSPECIFIED,MESSAGE_VOLUME_LOW,SMTP_ERRORS_HIGH,SENDER_NOT_COMPLIANT,SPAM_RATE_HIGH,USER_FEEDBACK_NEGATIVE,USER_FEEDBACK_LOW,USER_FEEDBACK_POSITIVE
- statusstring
- spfobject
- deleted_atstringTimestamp when the monitored domain was deleted; present only for deleted domains
- traffic_statsarrayDaily Google Postmaster traffic statistics for this domain in the requested date range
- keystringIdentifier of the daily traffic statistics record
- domainstringDomain name reported by Google Postmaster
- date_timestampstringDate and time for which these traffic statistics were collected
- feedback_loopobjectFeedback-loop identifiers and their spam rates
- all_dkimarrayFeedback-loop identifiers extracted from all DKIM signatures
- idstringFeedback-loop identifier
- spam_ratenumberSpam rate for messages associated with this feedback-loop identifier
- idstring
- from_headersarrayFeedback-loop identifiers extracted from From headers
- idstringFeedback-loop identifier
- spam_ratenumberSpam rate for messages associated with this feedback-loop identifier
- idstring
- all_dkimarray
- spam_ratenumberRate of messages reported as spam by recipients
- auth_success_rate_spfnumberRate of messages that passed SPF authentication
- auth_success_rate_dkimnumberRate of messages that passed DKIM authentication
- auth_success_rate_dmarcnumberRate of messages that passed DMARC authentication
- tls_encryption_message_count_inboundnumberNumber of inbound messages received over TLS-encrypted connections
- tls_encryption_rate_inboundnumberRate of inbound messages received over TLS-encrypted connections
- tls_encryption_message_count_outboundnumberNumber of outbound messages delivered over TLS-encrypted connections
- tls_encryption_rate_outboundnumberRate of outbound messages delivered over TLS-encrypted connections
- delivery_errors_countarrayDelivery-error counts grouped by error type and reason
- error_typestringDelivery-error categoryAllowed values:
ALL,REJECT,TEMP_FAIL - error_reasonstringReason for the delivery errorAllowed values:
ALL,BAD_ATTACHMENT,BAD_OR_MISSING_PTR_RECORD,IP_IN_RBLS,LOW_DOMAIN_REPUTATION,LOW_IP_REPUTATION,SPAMMY_CONTENT,STAMP_POLICY_ERROR,ANOMALOUS_TRAFFIC_PATTERN,OTHER - countnumberNumber of messages affected by this delivery error
- error_typestring
- delivery_errors_ratearrayDelivery-error rates grouped by error type and reason
- error_typestringDelivery-error categoryAllowed values:
ALL,REJECT,TEMP_FAIL - error_reasonstringReason for the delivery errorAllowed values:
ALL,BAD_ATTACHMENT,BAD_OR_MISSING_PTR_RECORD,IP_IN_RBLS,LOW_DOMAIN_REPUTATION,LOW_IP_REPUTATION,SPAMMY_CONTENT,STAMP_POLICY_ERROR,ANOMALOUS_TRAFFIC_PATTERN,OTHER - ratenumberRate of messages affected by this delivery error
- error_typestring
- keystring
- idstring
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
403 Forbidden
Forbidden
404 Not Found
Not Found
500 Internal Server Error
Internal server error