diff --git a/discovery/adexperiencereport-v1.json b/discovery/adexperiencereport-v1.json index 6c1077caeff..550c51caf8a 100644 --- a/discovery/adexperiencereport-v1.json +++ b/discovery/adexperiencereport-v1.json @@ -107,7 +107,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the site whose summary to get, e.g.\n`sites/http%3A%2F%2Fwww.google.com%2F`.\n\nFormat: `sites/{site}`", + "description": "Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`", "location": "path", "pattern": "^sites/[^/]+$", "required": true, @@ -124,7 +124,7 @@ "violatingSites": { "methods": { "list": { - "description": "Lists sites that are failing in the Ad Experience Report on at least one\nplatform.", + "description": "Lists sites that are failing in the Ad Experience Report on at least one platform.", "flatPath": "v1/violatingSites", "httpMethod": "GET", "id": "adexperiencereport.violatingSites.list", @@ -138,7 +138,7 @@ } } }, - "revision": "20200504", + "revision": "20200803", "rootUrl": "https://adexperiencereport.googleapis.com/", "schemas": { "PlatformSummary": { @@ -162,12 +162,12 @@ "type": "string" }, "enforcementTime": { - "description": "The time at which\n[enforcement](https://support.google.com/webtools/answer/7308033) against\nthe site began or will begin on this platform.\n\nNot set when the\nfilter_status\nis OFF.", + "description": "The time at which [enforcement](https://support.google.com/webtools/answer/7308033) against the site began or will begin on this platform. Not set when the filter_status is OFF.", "format": "google-datetime", "type": "string" }, "filterStatus": { - "description": "The site's [enforcement\nstatus](https://support.google.com/webtools/answer/7308033) on this\nplatform.", + "description": "The site's [enforcement status](https://support.google.com/webtools/answer/7308033) on this platform.", "enum": [ "UNKNOWN", "ON", @@ -190,7 +190,7 @@ "type": "string" }, "region": { - "description": "The site's regions on this platform.\n\nNo longer populated, because there is no longer any semantic difference\nbetween sites in different regions.", + "description": "The site's regions on this platform. No longer populated, because there is no longer any semantic difference between sites in different regions.", "enumDescriptions": [ "Ad standard not yet defined for your region.", "Region A.", @@ -204,12 +204,18 @@ "REGION_B", "REGION_C" ], + "enumDescriptions": [ + "Ad standard not yet defined for your region.", + "Region A.", + "Region B.", + "Region C." + ], "type": "string" }, "type": "array" }, "reportUrl": { - "description": "A link to the full Ad Experience Report for the site on this platform..\n\nNot set in\nViolatingSitesResponse.\n\nNote that you must complete the [Search Console verification\nprocess](https://support.google.com/webmasters/answer/9008080) for the site\nbefore you can access the full report.", + "description": "A link to the full Ad Experience Report for the site on this platform.. Not set in ViolatingSitesResponse. Note that you must complete the [Search Console verification process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report.", "type": "string" }, "underReview": { diff --git a/src/apis/adexperiencereport/v1.ts b/src/apis/adexperiencereport/v1.ts index 91400232670..98062f4a67b 100644 --- a/src/apis/adexperiencereport/v1.ts +++ b/src/apis/adexperiencereport/v1.ts @@ -138,7 +138,7 @@ export namespace adexperiencereport_v1 { */ betterAdsStatus?: string | null; /** - * The time at which [enforcement](https://support.google.com/webtools/answer/7308033) against the site began or will begin on this platform. Not set when the filter_status is OFF. + * The time at which [enforcement](https://support.google.com/webtools/answer/7308033) against the site began or will begin on this platform. Not set when the filter_status is OFF. */ enforcementTime?: string | null; /** @@ -150,11 +150,11 @@ export namespace adexperiencereport_v1 { */ lastChangeTime?: string | null; /** - * The site's regions on this platform. No longer populated, because there is no longer any semantic difference between sites in different regions. + * The site's regions on this platform. No longer populated, because there is no longer any semantic difference between sites in different regions. */ region?: string[] | null; /** - * A link to the full Ad Experience Report for the site on this platform.. Not set in ViolatingSitesResponse. Note that you must complete the [Search Console verification process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report. + * A link to the full Ad Experience Report for the site on this platform.. Not set in ViolatingSitesResponse. Note that you must complete the [Search Console verification process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report. */ reportUrl?: string | null; /** @@ -222,10 +222,7 @@ export namespace adexperiencereport_v1 { * * // Do the magic * const res = await adexperiencereport.sites.get({ - * // Required. The name of the site whose summary to get, e.g. - * // `sites/http%3A%2F%2Fwww.google.com%2F`. - * // - * // Format: `sites/{site}` + * // Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` * name: 'sites/my-site', * }); * console.log(res.data); @@ -247,7 +244,7 @@ export namespace adexperiencereport_v1 { * @memberOf! () * * @param {object} params Parameters for request - * @param {string} params.name Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` + * @param {string} params.name Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object @@ -334,7 +331,7 @@ export namespace adexperiencereport_v1 { export interface Params$Resource$Sites$Get extends StandardParameters { /** - * Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` + * Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` */ name?: string; }