AI-generated Key Takeaways
-
This API endpoint allows you to retrieve a list of Ads Data Hub outages within the last 130 days, sorted by outage start timestamp in descending order.
-
You can control the number of outages returned and navigate through paginated results using query parameters like
pageSize
andpageToken
. -
The response provides a list of outage objects and a token for retrieving subsequent pages, if available.
-
To utilize this endpoint, you need to authorize your request with the
https://www.googleapis.com/auth/adsdatahub
OAuth scope.
Lists the outages in descending order of outage start timestamp, and the look back window is 130 days.
HTTP request
GET https://adsdatahub.googleapis.com/v1/outages
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of items to return. If 0, The server will determine the number of outages to return. |
pageToken |
Page token, returned by a previous call, used to request the next page of results, if any. |
Request body
The request body must be empty.
Response body
Response to a outages.list request, contains the outages.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"outages": [
{
object ( |
Fields | |
---|---|
outages[] |
The outages within the look back window |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub