2017-08-05 20:17:15 +02:00
{
2017-10-22 10:07:36 +02:00
"version_module" : true ,
2017-10-01 10:13:39 +02:00
"schemas" : {
2017-10-22 10:07:36 +02:00
"PlatformSummary" : {
"description" : "Summary of the ad experience rating of a site for a specific platform." ,
2017-10-01 10:13:39 +02:00
"type" : "object" ,
"properties" : {
2017-10-22 10:07:36 +02:00
"underReview" : {
"description" : "Whether the site is currently under review." ,
"type" : "boolean"
2017-10-01 10:13:39 +02:00
} ,
2017-10-22 10:07:36 +02:00
"reportUrl" : {
"description" : "A link that leads to a full ad experience report." ,
2017-10-01 10:13:39 +02:00
"type" : "string"
} ,
"lastChangeTime" : {
"format" : "google-datetime" ,
"description" : "The last time that the site changed status." ,
"type" : "string"
} ,
"betterAdsStatus" : {
"description" : "The status of the site reviewed for the Better Ads Standards." ,
"type" : "string" ,
"enumDescriptions" : [
"Not reviewed." ,
"Passing." ,
"Warning." ,
"Failing."
2017-10-22 10:07:36 +02:00
] ,
"enum" : [
"UNKNOWN" ,
"PASSING" ,
"WARNING" ,
"FAILING"
2017-10-01 10:13:39 +02:00
]
} ,
2017-10-22 10:07:36 +02:00
"enforcementTime" : {
"format" : "google-datetime" ,
"description" : "The date on which ad filtering begins." ,
"type" : "string"
} ,
2017-10-01 10:13:39 +02:00
"region" : {
"enumDescriptions" : [
"Ad standard not yet defined for your region." ,
"Region A." ,
"Region B."
] ,
"description" : "The assigned regions for the site and platform." ,
"items" : {
2017-10-22 10:07:36 +02:00
"type" : "string" ,
2017-10-01 10:13:39 +02:00
"enum" : [
"REGION_UNKNOWN" ,
"REGION_A" ,
"REGION_B"
2017-10-22 10:07:36 +02:00
]
2017-10-01 10:13:39 +02:00
} ,
"type" : "array"
} ,
"filterStatus" : {
"enumDescriptions" : [
"N/A." ,
"Ad filtering is on." ,
"Ad filtering is off." ,
"Ad filtering is paused." ,
"Ad filtering is pending."
] ,
"enum" : [
"UNKNOWN" ,
"ON" ,
"OFF" ,
"PAUSED" ,
"PENDING"
] ,
"description" : "The ad filtering status of the site." ,
"type" : "string"
2017-10-22 10:07:36 +02:00
}
} ,
"id" : "PlatformSummary"
} ,
"ViolatingSitesResponse" : {
"description" : "Response message for ListViolatingSites." ,
"type" : "object" ,
"properties" : {
"violatingSites" : {
"description" : "A list of summaries of violating sites." ,
"items" : {
"$ref" : "SiteSummaryResponse"
} ,
"type" : "array"
}
} ,
"id" : "ViolatingSitesResponse"
} ,
"SiteSummaryResponse" : {
"description" : "Response message for GetSiteSummary." ,
"type" : "object" ,
"properties" : {
"mobileSummary" : {
"description" : "Summary for the mobile review of the site." ,
"$ref" : "PlatformSummary"
2017-10-01 10:13:39 +02:00
} ,
2017-10-22 10:07:36 +02:00
"reviewedSite" : {
"description" : "The name of the site reviewed." ,
2017-10-01 10:13:39 +02:00
"type" : "string"
2017-10-22 10:07:36 +02:00
} ,
"desktopSummary" : {
"$ref" : "PlatformSummary" ,
"description" : "Summary for the desktop review of the site."
2017-10-01 10:13:39 +02:00
}
} ,
2017-10-22 10:07:36 +02:00
"id" : "SiteSummaryResponse"
2017-10-01 10:13:39 +02:00
}
} ,
"icons" : {
2017-10-22 10:07:36 +02:00
"x16" : "http://www.google.com/images/icons/product/search-16.gif" ,
"x32" : "http://www.google.com/images/icons/product/search-32.gif"
2017-10-01 10:13:39 +02:00
} ,
2017-10-22 10:07:36 +02:00
"protocol" : "rest" ,
2017-09-21 17:48:45 +02:00
"canonicalName" : "Ad Experience Report" ,
"auth" : {
"oauth2" : {
"scopes" : {
"https://www.googleapis.com/auth/xapi.zoo" : {
"description" : "Test scope for access to the Zoo service"
}
}
}
} ,
"rootUrl" : "https://adexperiencereport.googleapis.com/" ,
2017-08-05 20:17:15 +02:00
"ownerDomain" : "google.com" ,
"name" : "adexperiencereport" ,
"batchPath" : "batch" ,
"title" : "Google Ad Experience Report API" ,
"ownerName" : "Google" ,
"resources" : {
2017-10-01 10:13:39 +02:00
"sites" : {
2017-08-05 20:17:15 +02:00
"methods" : {
2017-10-01 10:13:39 +02:00
"get" : {
"description" : "Gets a summary of the ad experience rating of a site." ,
2017-08-05 20:17:15 +02:00
"response" : {
2017-10-01 10:13:39 +02:00
"$ref" : "SiteSummaryResponse"
2017-08-05 20:17:15 +02:00
} ,
2017-10-01 10:13:39 +02:00
"parameterOrder" : [
"name"
] ,
2017-09-21 17:48:45 +02:00
"httpMethod" : "GET" ,
2017-08-05 20:17:15 +02:00
"scopes" : [
"https://www.googleapis.com/auth/xapi.zoo"
] ,
2017-10-01 10:13:39 +02:00
"parameters" : {
"name" : {
"location" : "path" ,
"description" : "The required site name. It should be the site property whose ad experiences\nmay have been reviewed, and it should be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field returned by the\nAPI will lead to the verification page, prompting the user to go through\nthat process before they can gain access to the Ad Experience Report." ,
"type" : "string" ,
2017-10-22 10:07:36 +02:00
"required" : true ,
"pattern" : "^sites/[^/]+$"
2017-10-01 10:13:39 +02:00
}
} ,
"flatPath" : "v1/sites/{sitesId}" ,
"id" : "adexperiencereport.sites.get" ,
"path" : "v1/{+name}"
2017-08-05 20:17:15 +02:00
}
}
2017-10-22 10:07:36 +02:00
} ,
"violatingSites" : {
"methods" : {
"list" : {
"flatPath" : "v1/violatingSites" ,
"id" : "adexperiencereport.violatingSites.list" ,
"path" : "v1/violatingSites" ,
"description" : "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\"." ,
"response" : {
"$ref" : "ViolatingSitesResponse"
} ,
"parameterOrder" : [ ] ,
"httpMethod" : "GET" ,
"scopes" : [
"https://www.googleapis.com/auth/xapi.zoo"
] ,
"parameters" : { }
}
}
2017-08-05 20:17:15 +02:00
}
} ,
"parameters" : {
"upload_protocol" : {
"location" : "query" ,
"description" : "Upload protocol for media (e.g. \"raw\", \"multipart\")." ,
"type" : "string"
} ,
"prettyPrint" : {
"description" : "Returns response with indentations and line breaks." ,
"default" : "true" ,
2017-10-22 10:07:36 +02:00
"type" : "boolean" ,
"location" : "query"
2017-08-05 20:17:15 +02:00
} ,
"fields" : {
"description" : "Selector specifying which fields to include in a partial response." ,
2017-10-01 10:13:39 +02:00
"type" : "string" ,
"location" : "query"
2017-09-13 14:09:48 +02:00
} ,
"uploadType" : {
2017-09-21 17:48:45 +02:00
"location" : "query" ,
2017-09-13 14:09:48 +02:00
"description" : "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." ,
2017-09-21 17:48:45 +02:00
"type" : "string"
} ,
"$.xgafv" : {
"enumDescriptions" : [
"v1 error format" ,
"v2 error format"
] ,
"location" : "query" ,
"enum" : [
"1" ,
"2"
2017-10-22 10:07:36 +02:00
] ,
"description" : "V1 error format." ,
"type" : "string"
2017-09-21 17:48:45 +02:00
} ,
"callback" : {
2017-10-22 10:07:36 +02:00
"location" : "query" ,
2017-09-21 17:48:45 +02:00
"description" : "JSONP" ,
2017-10-22 10:07:36 +02:00
"type" : "string"
2017-09-21 17:48:45 +02:00
} ,
"alt" : {
"enum" : [
"json" ,
"media" ,
"proto"
] ,
"type" : "string" ,
"enumDescriptions" : [
"Responses with Content-Type of application/json" ,
"Media download with context-dependent Content-Type" ,
"Responses with Content-Type of application/x-protobuf"
] ,
"location" : "query" ,
"description" : "Data format for response." ,
"default" : "json"
2017-10-01 10:13:39 +02:00
} ,
"key" : {
2017-10-22 10:07:36 +02:00
"location" : "query" ,
2017-10-01 10:13:39 +02:00
"description" : "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." ,
2017-10-22 10:07:36 +02:00
"type" : "string"
} ,
"access_token" : {
"description" : "OAuth access token." ,
2017-10-01 10:13:39 +02:00
"type" : "string" ,
"location" : "query"
} ,
"quotaUser" : {
2017-10-22 10:07:36 +02:00
"location" : "query" ,
2017-10-01 10:13:39 +02:00
"description" : "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters." ,
2017-10-22 10:07:36 +02:00
"type" : "string"
2017-10-01 10:13:39 +02:00
} ,
"pp" : {
2017-10-22 10:07:36 +02:00
"location" : "query" ,
2017-10-01 10:13:39 +02:00
"description" : "Pretty-print response." ,
"default" : "true" ,
2017-10-22 10:07:36 +02:00
"type" : "boolean"
} ,
"bearer_token" : {
"location" : "query" ,
"description" : "OAuth bearer token." ,
"type" : "string"
} ,
"oauth_token" : {
"location" : "query" ,
"description" : "OAuth 2.0 token for the current user." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
"version" : "v1" ,
2017-09-13 14:09:48 +02:00
"baseUrl" : "https://adexperiencereport.googleapis.com/" ,
"servicePath" : "" ,
2017-10-22 10:07:36 +02:00
"description" : "View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads." ,
"kind" : "discovery#restDescription" ,
2017-09-13 14:09:48 +02:00
"basePath" : "" ,
"id" : "adexperiencereport:v1" ,
2017-10-22 10:07:36 +02:00
"revision" : "20171002" ,
2017-10-01 10:13:39 +02:00
"documentationLink" : "https://developers.google.com/ad-experience-report/" ,
2017-10-22 10:07:36 +02:00
"discoveryVersion" : "v1"
2017-08-05 20:17:15 +02:00
}