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 "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": { | 28 "callback": { |
50 "description": "JSONP", | 29 "description": "JSONP", |
51 "location": "query", | 30 "location": "query", |
52 "type": "string" | 31 "type": "string" |
53 }, | 32 }, |
54 "$.xgafv": { | 33 "$.xgafv": { |
55 "description": "V1 error format.", | 34 "description": "V1 error format.", |
56 "enum": [ | 35 "enum": [ |
57 "1", | 36 "1", |
58 "2" | 37 "2" |
(...skipping 14 matching lines...) Expand all Loading... |
73 "proto" | 52 "proto" |
74 ], | 53 ], |
75 "enumDescriptions": [ | 54 "enumDescriptions": [ |
76 "Responses with Content-Type of application/json", | 55 "Responses with Content-Type of application/json", |
77 "Media download with context-dependent Content-Type", | 56 "Media download with context-dependent Content-Type", |
78 "Responses with Content-Type of application/x-protobuf" | 57 "Responses with Content-Type of application/x-protobuf" |
79 ], | 58 ], |
80 "location": "query", | 59 "location": "query", |
81 "type": "string" | 60 "type": "string" |
82 }, | 61 }, |
| 62 "access_token": { |
| 63 "description": "OAuth access token.", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
83 "key": { | 67 "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.", | 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.", |
85 "location": "query", | 69 "location": "query", |
86 "type": "string" | 70 "type": "string" |
87 }, | 71 }, |
88 "access_token": { | |
89 "description": "OAuth access token.", | |
90 "location": "query", | |
91 "type": "string" | |
92 }, | |
93 "quotaUser": { | 72 "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.", | 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.", |
95 "location": "query", | 74 "location": "query", |
96 "type": "string" | 75 "type": "string" |
97 }, | 76 }, |
98 "pp": { | 77 "pp": { |
99 "default": "true", | 78 "default": "true", |
100 "description": "Pretty-print response.", | 79 "description": "Pretty-print response.", |
101 "location": "query", | 80 "location": "query", |
102 "type": "boolean" | 81 "type": "boolean" |
103 }, | 82 }, |
104 "oauth_token": { | 83 "oauth_token": { |
105 "description": "OAuth 2.0 token for the current user.", | 84 "description": "OAuth 2.0 token for the current user.", |
106 "location": "query", | 85 "location": "query", |
107 "type": "string" | 86 "type": "string" |
108 }, | 87 }, |
109 "bearer_token": { | 88 "bearer_token": { |
110 "description": "OAuth bearer token.", | 89 "description": "OAuth bearer token.", |
111 "location": "query", | 90 "location": "query", |
112 "type": "string" | 91 "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 "sites": { | 117 "sites": { |
118 "methods": { | 118 "methods": { |
119 "get": { | 119 "get": { |
120 "description": "Gets a summary of the ads rating of a site."
, | 120 "description": "Gets a summary of the ads rating of a site."
, |
121 "httpMethod": "GET", | 121 "httpMethod": "GET", |
122 "id": "adexperiencereport.sites.get", | 122 "id": "adexperiencereport.sites.get", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "scopes": [ | 157 "scopes": [ |
158 "https://www.googleapis.com/auth/xapi.zoo" | 158 "https://www.googleapis.com/auth/xapi.zoo" |
159 ] | 159 ] |
160 } | 160 } |
161 } | 161 } |
162 } | 162 } |
163 }, | 163 }, |
164 "revision": "20170628", | 164 "revision": "20170628", |
165 "rootUrl": "https://adexperiencereport.googleapis.com/", | 165 "rootUrl": "https://adexperiencereport.googleapis.com/", |
166 "schemas": { | 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": { | 167 "PlatformSummary": { |
201 "description": "Summary of the ads rating of a site for a specific p
latform.", | 168 "description": "Summary of the ads rating of a site for a specific p
latform.", |
202 "id": "PlatformSummary", | 169 "id": "PlatformSummary", |
203 "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 }, |
204 "filterStatus": { | 193 "filterStatus": { |
205 "description": "The ad filtering status of the site.", | 194 "description": "The ad filtering status of the site.", |
206 "enum": [ | 195 "enum": [ |
207 "UNKNOWN", | 196 "UNKNOWN", |
208 "ON", | 197 "ON", |
209 "OFF", | 198 "OFF", |
210 "PAUSED", | 199 "PAUSED", |
211 "PENDING" | 200 "PENDING" |
212 ], | 201 ], |
213 "enumDescriptions": [ | 202 "enumDescriptions": [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 "WARNING", | 243 "WARNING", |
255 "FAILING" | 244 "FAILING" |
256 ], | 245 ], |
257 "enumDescriptions": [ | 246 "enumDescriptions": [ |
258 "Not reviewed.", | 247 "Not reviewed.", |
259 "Passing.", | 248 "Passing.", |
260 "Warning.", | 249 "Warning.", |
261 "Failing." | 250 "Failing." |
262 ], | 251 ], |
263 "type": "string" | 252 "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 } | 253 } |
287 }, | 254 }, |
288 "type": "object" | 255 "type": "object" |
| 256 }, |
| 257 "ViolatingSitesResponse": { |
| 258 "description": "Response message for ListViolatingSites.", |
| 259 "id": "ViolatingSitesResponse", |
| 260 "properties": { |
| 261 "violatingSites": { |
| 262 "description": "A list of summaries of violating sites.", |
| 263 "items": { |
| 264 "$ref": "SiteSummaryResponse" |
| 265 }, |
| 266 "type": "array" |
| 267 } |
| 268 }, |
| 269 "type": "object" |
| 270 }, |
| 271 "SiteSummaryResponse": { |
| 272 "description": "Response message for GetSiteSummary.", |
| 273 "id": "SiteSummaryResponse", |
| 274 "properties": { |
| 275 "reviewedSite": { |
| 276 "description": "The name of the site reviewed.", |
| 277 "type": "string" |
| 278 }, |
| 279 "desktopSummary": { |
| 280 "$ref": "PlatformSummary", |
| 281 "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 } |
| 287 }, |
| 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 |