Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(845)

Unified Diff: discovery/googleapis/adexperiencereport__v1.json

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/adexchangebuyer__v1.4.json ('k') | discovery/googleapis/admin__directory_v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/adexperiencereport__v1.json
diff --git a/discovery/googleapis/adexperiencereport__v1.json b/discovery/googleapis/adexperiencereport__v1.json
index a161c54c1b640245ec5f962e7d78368dba712772..1e29822d80b3341cecb4896dbaaf596612cbbf95 100644
--- a/discovery/googleapis/adexperiencereport__v1.json
+++ b/discovery/googleapis/adexperiencereport__v1.json
@@ -25,6 +25,27 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
"callback": {
"description": "JSONP",
"location": "query",
@@ -59,13 +80,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "key": {
+ "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.",
"location": "query",
"type": "string"
},
- "key": {
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -89,35 +110,32 @@
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
"resources": {
+ "violatingSites": {
+ "methods": {
+ "list": {
+ "description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\".",
+ "httpMethod": "GET",
+ "id": "adexperiencereport.violatingSites.list",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/violatingSites",
+ "response": {
+ "$ref": "ViolatingSitesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/xapi.zoo"
+ ]
+ }
+ }
+ },
"sites": {
"methods": {
"get": {
- "description": "Gets a summary of the ads rating of a site.",
+ "description": "Gets a summary of the ad experience rating of a site.",
"httpMethod": "GET",
"id": "adexperiencereport.sites.get",
"parameterOrder": [
@@ -125,7 +143,7 @@
],
"parameters": {
"name": {
- "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.",
+ "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.",
"location": "path",
"pattern": "^sites/[^/]+$",
"required": true,
@@ -141,55 +159,15 @@
]
}
}
- },
- "violatingSites": {
- "methods": {
- "list": {
- "description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\".",
- "httpMethod": "GET",
- "id": "adexperiencereport.violatingSites.list",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/violatingSites",
- "response": {
- "$ref": "ViolatingSitesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/xapi.zoo"
- ]
- }
- }
}
},
- "revision": "20170628",
+ "revision": "20170819",
"rootUrl": "https://adexperiencereport.googleapis.com/",
"schemas": {
"PlatformSummary": {
- "description": "Summary of the ads rating of a site for a specific platform.",
+ "description": "Summary of the ad experience rating of a site for a specific platform.",
"id": "PlatformSummary",
"properties": {
- "region": {
- "description": "The assigned regions for the site and platform.",
- "enumDescriptions": [
- "Ad standard not yet defined for your region.",
- "Region A.",
- "Region B."
- ],
- "items": {
- "enum": [
- "REGION_UNKNOWN",
- "REGION_A",
- "REGION_B"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "enforcementTime": {
- "description": "The date on which ad filtering begins.",
- "format": "google-datetime",
- "type": "string"
- },
"filterStatus": {
"description": "The ad filtering status of the site.",
"enum": [
@@ -221,35 +199,57 @@
"format": "google-datetime",
"type": "string"
},
- "egregiousStatus": {
- "description": "The status of the site reviewed for egregious ads.",
+ "betterAdsStatus": {
+ "description": "The status of the site reviewed for the Better Ads Standards.",
"enum": [
"UNKNOWN",
"PASSING",
+ "WARNING",
"FAILING"
],
"enumDescriptions": [
"Not reviewed.",
"Passing.",
+ "Warning.",
"Failing."
],
"type": "string"
},
- "betterAdsStatus": {
- "description": "The status of the site reviewed for the Better Ads Standards.",
+ "abusiveStatus": {
+ "description": "The status of the site reviewed for abusive ads.",
"enum": [
"UNKNOWN",
"PASSING",
- "WARNING",
"FAILING"
],
"enumDescriptions": [
"Not reviewed.",
"Passing.",
- "Warning.",
"Failing."
],
"type": "string"
+ },
+ "region": {
+ "description": "The assigned regions for the site and platform.",
+ "enumDescriptions": [
+ "Ad standard not yet defined for your region.",
+ "Region A.",
+ "Region B."
+ ],
+ "items": {
+ "enum": [
+ "REGION_UNKNOWN",
+ "REGION_A",
+ "REGION_B"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "enforcementTime": {
+ "description": "The date on which ad filtering begins.",
+ "format": "google-datetime",
+ "type": "string"
}
},
"type": "object"
@@ -272,6 +272,10 @@
"description": "Response message for GetSiteSummary.",
"id": "SiteSummaryResponse",
"properties": {
+ "mobileSummary": {
+ "$ref": "PlatformSummary",
+ "description": "Summary for the mobile review of the site."
+ },
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
@@ -279,10 +283,6 @@
"desktopSummary": {
"$ref": "PlatformSummary",
"description": "Summary for the desktop review of the site."
- },
- "mobileSummary": {
- "$ref": "PlatformSummary",
- "description": "Summary for the mobile review of the site."
}
},
"type": "object"
« no previous file with comments | « discovery/googleapis/adexchangebuyer__v1.4.json ('k') | discovery/googleapis/admin__directory_v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698