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 "quotaUser": { |
| 29 "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.", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
| 33 "pp": { |
| 34 "default": "true", |
| 35 "description": "Pretty-print response.", |
| 36 "location": "query", |
| 37 "type": "boolean" |
| 38 }, |
| 39 "bearer_token": { |
| 40 "description": "OAuth bearer token.", |
| 41 "location": "query", |
| 42 "type": "string" |
| 43 }, |
| 44 "oauth_token": { |
| 45 "description": "OAuth 2.0 token for the current user.", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
28 "upload_protocol": { | 49 "upload_protocol": { |
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 50 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
30 "location": "query", | 51 "location": "query", |
31 "type": "string" | 52 "type": "string" |
32 }, | 53 }, |
33 "prettyPrint": { | 54 "prettyPrint": { |
34 "default": "true", | 55 "default": "true", |
35 "description": "Returns response with indentations and line breaks."
, | 56 "description": "Returns response with indentations and line breaks."
, |
36 "location": "query", | 57 "location": "query", |
37 "type": "boolean" | 58 "type": "boolean" |
38 }, | 59 }, |
39 "uploadType": { | 60 "uploadType": { |
40 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 61 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
41 "location": "query", | 62 "location": "query", |
42 "type": "string" | 63 "type": "string" |
43 }, | 64 }, |
44 "fields": { | 65 "fields": { |
45 "description": "Selector specifying which fields to include in a par
tial response.", | 66 "description": "Selector specifying which fields to include in a par
tial response.", |
46 "location": "query", | 67 "location": "query", |
47 "type": "string" | 68 "type": "string" |
48 }, | 69 }, |
49 "callback": { | |
50 "description": "JSONP", | |
51 "location": "query", | |
52 "type": "string" | |
53 }, | |
54 "$.xgafv": { | 70 "$.xgafv": { |
55 "description": "V1 error format.", | 71 "description": "V1 error format.", |
56 "enum": [ | 72 "enum": [ |
57 "1", | 73 "1", |
58 "2" | 74 "2" |
59 ], | 75 ], |
60 "enumDescriptions": [ | 76 "enumDescriptions": [ |
61 "v1 error format", | 77 "v1 error format", |
62 "v2 error format" | 78 "v2 error format" |
63 ], | 79 ], |
64 "location": "query", | 80 "location": "query", |
65 "type": "string" | 81 "type": "string" |
66 }, | 82 }, |
| 83 "callback": { |
| 84 "description": "JSONP", |
| 85 "location": "query", |
| 86 "type": "string" |
| 87 }, |
67 "alt": { | 88 "alt": { |
68 "default": "json", | 89 "default": "json", |
69 "description": "Data format for response.", | 90 "description": "Data format for response.", |
70 "enum": [ | 91 "enum": [ |
71 "json", | 92 "json", |
72 "media", | 93 "media", |
73 "proto" | 94 "proto" |
74 ], | 95 ], |
75 "enumDescriptions": [ | 96 "enumDescriptions": [ |
76 "Responses with Content-Type of application/json", | 97 "Responses with Content-Type of application/json", |
77 "Media download with context-dependent Content-Type", | 98 "Media download with context-dependent Content-Type", |
78 "Responses with Content-Type of application/x-protobuf" | 99 "Responses with Content-Type of application/x-protobuf" |
79 ], | 100 ], |
80 "location": "query", | 101 "location": "query", |
81 "type": "string" | 102 "type": "string" |
82 }, | 103 }, |
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": { | 104 "access_token": { |
89 "description": "OAuth access token.", | 105 "description": "OAuth access token.", |
90 "location": "query", | 106 "location": "query", |
91 "type": "string" | 107 "type": "string" |
92 }, | 108 }, |
93 "quotaUser": { | 109 "key": { |
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.", | 110 "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.", |
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", | 111 "location": "query", |
112 "type": "string" | 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 }, | |
135 "sites": { | 117 "sites": { |
136 "methods": { | 118 "methods": { |
137 "get": { | 119 "get": { |
138 "description": "Gets a summary of the ad experience rating o
f a site.", | 120 "description": "Gets a summary of the ad experience rating o
f a site.", |
139 "httpMethod": "GET", | 121 "httpMethod": "GET", |
140 "id": "adexperiencereport.sites.get", | 122 "id": "adexperiencereport.sites.get", |
141 "parameterOrder": [ | 123 "parameterOrder": [ |
142 "name" | 124 "name" |
143 ], | 125 ], |
144 "parameters": { | 126 "parameters": { |
145 "name": { | 127 "name": { |
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.", | 128 "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.", |
147 "location": "path", | 129 "location": "path", |
148 "pattern": "^sites/[^/]+$", | 130 "pattern": "^sites/[^/]+$", |
149 "required": true, | 131 "required": true, |
150 "type": "string" | 132 "type": "string" |
151 } | 133 } |
152 }, | 134 }, |
153 "path": "v1/{+name}", | 135 "path": "v1/{+name}", |
154 "response": { | 136 "response": { |
155 "$ref": "SiteSummaryResponse" | 137 "$ref": "SiteSummaryResponse" |
156 }, | 138 }, |
157 "scopes": [ | 139 "scopes": [ |
158 "https://www.googleapis.com/auth/xapi.zoo" | 140 "https://www.googleapis.com/auth/xapi.zoo" |
159 ] | 141 ] |
160 } | 142 } |
161 } | 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 } | 162 } |
163 }, | 163 }, |
164 "revision": "20170819", | 164 "revision": "20170819", |
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 "reviewedSite": { |
| 186 "description": "The name of the site reviewed.", |
| 187 "type": "string" |
| 188 }, |
| 189 "desktopSummary": { |
| 190 "$ref": "PlatformSummary", |
| 191 "description": "Summary for the desktop review of the site." |
| 192 }, |
| 193 "mobileSummary": { |
| 194 "$ref": "PlatformSummary", |
| 195 "description": "Summary for the mobile review of the site." |
| 196 } |
| 197 }, |
| 198 "type": "object" |
| 199 }, |
167 "PlatformSummary": { | 200 "PlatformSummary": { |
168 "description": "Summary of the ad experience rating of a site for a
specific platform.", | 201 "description": "Summary of the ad experience rating of a site for a
specific platform.", |
169 "id": "PlatformSummary", | 202 "id": "PlatformSummary", |
170 "properties": { | 203 "properties": { |
171 "filterStatus": { | |
172 "description": "The ad filtering status of the site.", | |
173 "enum": [ | |
174 "UNKNOWN", | |
175 "ON", | |
176 "OFF", | |
177 "PAUSED", | |
178 "PENDING" | |
179 ], | |
180 "enumDescriptions": [ | |
181 "N/A.", | |
182 "Ad filtering is on.", | |
183 "Ad filtering is off.", | |
184 "Ad filtering is paused.", | |
185 "Ad filtering is pending." | |
186 ], | |
187 "type": "string" | |
188 }, | |
189 "underReview": { | |
190 "description": "Whether the site is currently under review."
, | |
191 "type": "boolean" | |
192 }, | |
193 "reportUrl": { | |
194 "description": "A link that leads to a full ad experience re
port.", | |
195 "type": "string" | |
196 }, | |
197 "lastChangeTime": { | 204 "lastChangeTime": { |
198 "description": "The last time that the site changed status."
, | 205 "description": "The last time that the site changed status."
, |
199 "format": "google-datetime", | 206 "format": "google-datetime", |
200 "type": "string" | 207 "type": "string" |
201 }, | 208 }, |
202 "betterAdsStatus": { | 209 "betterAdsStatus": { |
203 "description": "The status of the site reviewed for the Bett
er Ads Standards.", | 210 "description": "The status of the site reviewed for the Bett
er Ads Standards.", |
204 "enum": [ | 211 "enum": [ |
205 "UNKNOWN", | 212 "UNKNOWN", |
206 "PASSING", | 213 "PASSING", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 "REGION_B" | 250 "REGION_B" |
244 ], | 251 ], |
245 "type": "string" | 252 "type": "string" |
246 }, | 253 }, |
247 "type": "array" | 254 "type": "array" |
248 }, | 255 }, |
249 "enforcementTime": { | 256 "enforcementTime": { |
250 "description": "The date on which ad filtering begins.", | 257 "description": "The date on which ad filtering begins.", |
251 "format": "google-datetime", | 258 "format": "google-datetime", |
252 "type": "string" | 259 "type": "string" |
| 260 }, |
| 261 "filterStatus": { |
| 262 "description": "The ad filtering status of the site.", |
| 263 "enum": [ |
| 264 "UNKNOWN", |
| 265 "ON", |
| 266 "OFF", |
| 267 "PAUSED", |
| 268 "PENDING" |
| 269 ], |
| 270 "enumDescriptions": [ |
| 271 "N/A.", |
| 272 "Ad filtering is on.", |
| 273 "Ad filtering is off.", |
| 274 "Ad filtering is paused.", |
| 275 "Ad filtering is pending." |
| 276 ], |
| 277 "type": "string" |
| 278 }, |
| 279 "underReview": { |
| 280 "description": "Whether the site is currently under review."
, |
| 281 "type": "boolean" |
| 282 }, |
| 283 "reportUrl": { |
| 284 "description": "A link that leads to a full ad experience re
port.", |
| 285 "type": "string" |
253 } | 286 } |
254 }, | 287 }, |
255 "type": "object" | 288 "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 "mobileSummary": { | |
276 "$ref": "PlatformSummary", | |
277 "description": "Summary for the mobile review of the site." | |
278 }, | |
279 "reviewedSite": { | |
280 "description": "The name of the site reviewed.", | |
281 "type": "string" | |
282 }, | |
283 "desktopSummary": { | |
284 "$ref": "PlatformSummary", | |
285 "description": "Summary for the desktop 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 |