# REST Resource: outages

- [Resource: Outage](https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages#Outage)
  - [JSON representation](https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages#Outage.SCHEMA_REPRESENTATION)
- [OutageType](https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages#OutageType)
- [Methods](https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages#METHODS_SUMMARY)

## Resource: Outage

Defines an outage and its information.

| JSON representation |
|---|
| ``` { "name": string, "type": enum (`https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages#OutageType`), "startTime": string, "endTime": string, "details": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Name that uniquely identifies an outage. It has the form outages/\[outage_id\], e.g. 'outages/1234'. |
| `type` | ``enum (`https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages#OutageType`)`` The type of this outage. |
| `startTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` The absolute point in time when the outage started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `endTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` The absolute point in time when the outage ended or will end. If empty or in the future, then it means the outage is still on going. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `details` | `string` Message describing this outage. |

## OutageType

Defines the outage type.

| Enums ||
|---|---|
| `OUTAGE_TYPE_UNSPECIFIED` | The outage type is not specified. |
| `OUTAGE_TYPE_INACCESSIBLE_UI` | Certain Ads Data Hub UI is not accessible. |
| `OUTAGE_TYPE_QUERY_SERVICE_DOWN` | Ads Data Hub query related service is down. |
| `OUTAGE_TYPE_OUT_OF_SLA_DT` | Ads Data Hub data-transfer is out of service layer agreement (SLA). |
| `OUTAGE_TYPE_FIELD_NOT_POPULATING` | Certain fields are not populating in Ads Data Hub. |
| `OUTAGE_TYPE_ACCOUNT_LINKING_DOWN` | Ads Data Hub account linking related service is down. |
| `OUTAGE_TYPE_OUT_OF_SLA_NON_DT` | Ads Data Hub non-data-transfer is out of service layer agreement (SLA). |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/ads-data-hub/marketers/reference/rest/v1/outages/list` | Lists the outages in descending order of outage start timestamp, and the look back window is 130 days. |