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