OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/xapi.zoo": { |
| 6 "description": "Test scope for access to the Zoo service" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
| 11 "basePath": "", |
| 12 "baseUrl": "https://adexperiencereport.googleapis.com/", |
| 13 "batchPath": "batch", |
| 14 "canonicalName": "Ad Experience Report", |
| 15 "description": "View Ad Experience Report data, and get a list of sites that
have a significant number of annoying ads.", |
| 16 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://developers.google.com/ad-experience-report/", |
| 18 "icons": { |
| 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 21 }, |
| 22 "id": "adexperiencereport:v1", |
| 23 "kind": "discovery#restDescription", |
| 24 "name": "adexperiencereport", |
| 25 "ownerDomain": "google.com", |
| 26 "ownerName": "Google", |
| 27 "parameters": { |
| 28 "upload_protocol": { |
| 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
| 33 "prettyPrint": { |
| 34 "default": "true", |
| 35 "description": "Returns response with indentations and line breaks."
, |
| 36 "location": "query", |
| 37 "type": "boolean" |
| 38 }, |
| 39 "fields": { |
| 40 "description": "Selector specifying which fields to include in a par
tial response.", |
| 41 "location": "query", |
| 42 "type": "string" |
| 43 }, |
| 44 "uploadType": { |
| 45 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
| 49 "callback": { |
| 50 "description": "JSONP", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
| 54 "$.xgafv": { |
| 55 "description": "V1 error format.", |
| 56 "enum": [ |
| 57 "1", |
| 58 "2" |
| 59 ], |
| 60 "enumDescriptions": [ |
| 61 "v1 error format", |
| 62 "v2 error format" |
| 63 ], |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
| 67 "alt": { |
| 68 "default": "json", |
| 69 "description": "Data format for response.", |
| 70 "enum": [ |
| 71 "json", |
| 72 "media", |
| 73 "proto" |
| 74 ], |
| 75 "enumDescriptions": [ |
| 76 "Responses with Content-Type of application/json", |
| 77 "Media download with context-dependent Content-Type", |
| 78 "Responses with Content-Type of application/x-protobuf" |
| 79 ], |
| 80 "location": "query", |
| 81 "type": "string" |
| 82 }, |
| 83 "key": { |
| 84 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 85 "location": "query", |
| 86 "type": "string" |
| 87 }, |
| 88 "access_token": { |
| 89 "description": "OAuth access token.", |
| 90 "location": "query", |
| 91 "type": "string" |
| 92 }, |
| 93 "quotaUser": { |
| 94 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "pp": { |
| 99 "default": "true", |
| 100 "description": "Pretty-print response.", |
| 101 "location": "query", |
| 102 "type": "boolean" |
| 103 }, |
| 104 "oauth_token": { |
| 105 "description": "OAuth 2.0 token for the current user.", |
| 106 "location": "query", |
| 107 "type": "string" |
| 108 }, |
| 109 "bearer_token": { |
| 110 "description": "OAuth bearer token.", |
| 111 "location": "query", |
| 112 "type": "string" |
| 113 } |
| 114 }, |
| 115 "protocol": "rest", |
| 116 "resources": { |
| 117 "sites": { |
| 118 "methods": { |
| 119 "get": { |
| 120 "description": "Gets a summary of the ads rating of a site."
, |
| 121 "httpMethod": "GET", |
| 122 "id": "adexperiencereport.sites.get", |
| 123 "parameterOrder": [ |
| 124 "name" |
| 125 ], |
| 126 "parameters": { |
| 127 "name": { |
| 128 "description": "The required site name. It should be
a site property registered in Search\nConsole. The server will return an error
of BAD_REQUEST if this field is\nnot filled in.", |
| 129 "location": "path", |
| 130 "pattern": "^sites/[^/]+$", |
| 131 "required": true, |
| 132 "type": "string" |
| 133 } |
| 134 }, |
| 135 "path": "v1/{+name}", |
| 136 "response": { |
| 137 "$ref": "SiteSummaryResponse" |
| 138 }, |
| 139 "scopes": [ |
| 140 "https://www.googleapis.com/auth/xapi.zoo" |
| 141 ] |
| 142 } |
| 143 } |
| 144 }, |
| 145 "violatingSites": { |
| 146 "methods": { |
| 147 "list": { |
| 148 "description": "Lists sites with Ad Experience Report status
es of \"Failing\" or \"Warning\".", |
| 149 "httpMethod": "GET", |
| 150 "id": "adexperiencereport.violatingSites.list", |
| 151 "parameterOrder": [], |
| 152 "parameters": {}, |
| 153 "path": "v1/violatingSites", |
| 154 "response": { |
| 155 "$ref": "ViolatingSitesResponse" |
| 156 }, |
| 157 "scopes": [ |
| 158 "https://www.googleapis.com/auth/xapi.zoo" |
| 159 ] |
| 160 } |
| 161 } |
| 162 } |
| 163 }, |
| 164 "revision": "20170628", |
| 165 "rootUrl": "https://adexperiencereport.googleapis.com/", |
| 166 "schemas": { |
| 167 "ViolatingSitesResponse": { |
| 168 "description": "Response message for ListViolatingSites.", |
| 169 "id": "ViolatingSitesResponse", |
| 170 "properties": { |
| 171 "violatingSites": { |
| 172 "description": "A list of summaries of violating sites.", |
| 173 "items": { |
| 174 "$ref": "SiteSummaryResponse" |
| 175 }, |
| 176 "type": "array" |
| 177 } |
| 178 }, |
| 179 "type": "object" |
| 180 }, |
| 181 "SiteSummaryResponse": { |
| 182 "description": "Response message for GetSiteSummary.", |
| 183 "id": "SiteSummaryResponse", |
| 184 "properties": { |
| 185 "mobileSummary": { |
| 186 "$ref": "PlatformSummary", |
| 187 "description": "Summary for the mobile review of the site." |
| 188 }, |
| 189 "reviewedSite": { |
| 190 "description": "The name of the site reviewed.", |
| 191 "type": "string" |
| 192 }, |
| 193 "desktopSummary": { |
| 194 "$ref": "PlatformSummary", |
| 195 "description": "Summary for the desktop review of the site." |
| 196 } |
| 197 }, |
| 198 "type": "object" |
| 199 }, |
| 200 "PlatformSummary": { |
| 201 "description": "Summary of the ads rating of a site for a specific p
latform.", |
| 202 "id": "PlatformSummary", |
| 203 "properties": { |
| 204 "filterStatus": { |
| 205 "description": "The ad filtering status of the site.", |
| 206 "enum": [ |
| 207 "UNKNOWN", |
| 208 "ON", |
| 209 "OFF", |
| 210 "PAUSED", |
| 211 "PENDING" |
| 212 ], |
| 213 "enumDescriptions": [ |
| 214 "N/A.", |
| 215 "Ad filtering is on.", |
| 216 "Ad filtering is off.", |
| 217 "Ad filtering is paused.", |
| 218 "Ad filtering is pending." |
| 219 ], |
| 220 "type": "string" |
| 221 }, |
| 222 "underReview": { |
| 223 "description": "Whether the site is currently under review."
, |
| 224 "type": "boolean" |
| 225 }, |
| 226 "reportUrl": { |
| 227 "description": "A link that leads to a full ad experience re
port.", |
| 228 "type": "string" |
| 229 }, |
| 230 "lastChangeTime": { |
| 231 "description": "The last time that the site changed status."
, |
| 232 "format": "google-datetime", |
| 233 "type": "string" |
| 234 }, |
| 235 "egregiousStatus": { |
| 236 "description": "The status of the site reviewed for egregiou
s ads.", |
| 237 "enum": [ |
| 238 "UNKNOWN", |
| 239 "PASSING", |
| 240 "FAILING" |
| 241 ], |
| 242 "enumDescriptions": [ |
| 243 "Not reviewed.", |
| 244 "Passing.", |
| 245 "Failing." |
| 246 ], |
| 247 "type": "string" |
| 248 }, |
| 249 "betterAdsStatus": { |
| 250 "description": "The status of the site reviewed for the Bett
er Ads Standards.", |
| 251 "enum": [ |
| 252 "UNKNOWN", |
| 253 "PASSING", |
| 254 "WARNING", |
| 255 "FAILING" |
| 256 ], |
| 257 "enumDescriptions": [ |
| 258 "Not reviewed.", |
| 259 "Passing.", |
| 260 "Warning.", |
| 261 "Failing." |
| 262 ], |
| 263 "type": "string" |
| 264 }, |
| 265 "region": { |
| 266 "description": "The assigned regions for the site and platfo
rm.", |
| 267 "enumDescriptions": [ |
| 268 "Ad standard not yet defined for your region.", |
| 269 "Region A.", |
| 270 "Region B." |
| 271 ], |
| 272 "items": { |
| 273 "enum": [ |
| 274 "REGION_UNKNOWN", |
| 275 "REGION_A", |
| 276 "REGION_B" |
| 277 ], |
| 278 "type": "string" |
| 279 }, |
| 280 "type": "array" |
| 281 }, |
| 282 "enforcementTime": { |
| 283 "description": "The date on which ad filtering begins.", |
| 284 "format": "google-datetime", |
| 285 "type": "string" |
| 286 } |
| 287 }, |
| 288 "type": "object" |
| 289 } |
| 290 }, |
| 291 "servicePath": "", |
| 292 "title": "Google Ad Experience Report API", |
| 293 "version": "v1" |
| 294 } |
OLD | NEW |