@maxim_mazurok/gapi.client.adexperiencereport-v1 0.0.20230403 → 0.0.20230502
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +69 -35
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
11
11
|
// Generated from: https://adexperiencereport.googleapis.com/$discovery/rest?version=v1
|
12
|
-
// Revision:
|
12
|
+
// Revision: 20230502
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -24,89 +24,123 @@ declare namespace gapi.client {
|
|
24
24
|
namespace adexperiencereport {
|
25
25
|
interface PlatformSummary {
|
26
26
|
/** The site's Ad Experience Report status on this platform. */
|
27
|
-
betterAdsStatus?:
|
27
|
+
betterAdsStatus?:
|
28
|
+
string;
|
28
29
|
/** 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. */
|
29
|
-
enforcementTime?:
|
30
|
+
enforcementTime?:
|
31
|
+
string;
|
30
32
|
/** The site's [enforcement status](https://support.google.com/webtools/answer/7308033) on this platform. */
|
31
|
-
filterStatus?:
|
33
|
+
filterStatus?:
|
34
|
+
string;
|
32
35
|
/** The time at which the site's status last changed on this platform. */
|
33
|
-
lastChangeTime?:
|
36
|
+
lastChangeTime?:
|
37
|
+
string;
|
34
38
|
/** The site's regions on this platform. No longer populated, because there is no longer any semantic difference between sites in different regions. */
|
35
|
-
region?:
|
39
|
+
region?:
|
40
|
+
string[];
|
36
41
|
/**
|
37
42
|
* 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
|
38
43
|
* process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report.
|
39
44
|
*/
|
40
|
-
reportUrl?:
|
45
|
+
reportUrl?:
|
46
|
+
string;
|
41
47
|
/** Whether the site is currently under review on this platform. */
|
42
|
-
underReview?:
|
48
|
+
underReview?:
|
49
|
+
boolean;
|
43
50
|
}
|
44
51
|
interface SiteSummaryResponse {
|
45
52
|
/** The site's Ad Experience Report summary on desktop. */
|
46
|
-
desktopSummary?:
|
53
|
+
desktopSummary?:
|
54
|
+
PlatformSummary;
|
47
55
|
/** The site's Ad Experience Report summary on mobile. */
|
48
|
-
mobileSummary?:
|
56
|
+
mobileSummary?:
|
57
|
+
PlatformSummary;
|
49
58
|
/** The name of the reviewed site, e.g. `google.com`. */
|
50
|
-
reviewedSite?:
|
59
|
+
reviewedSite?:
|
60
|
+
string;
|
51
61
|
}
|
52
62
|
interface ViolatingSitesResponse {
|
53
63
|
/** The list of violating sites. */
|
54
|
-
violatingSites?:
|
64
|
+
violatingSites?:
|
65
|
+
SiteSummaryResponse[];
|
55
66
|
}
|
56
67
|
interface SitesResource {
|
57
68
|
/** Gets a site's Ad Experience Report summary. */
|
58
69
|
get(request?: {
|
59
70
|
/** V1 error format. */
|
60
|
-
"$.xgafv"?:
|
71
|
+
"$.xgafv"?:
|
72
|
+
string;
|
61
73
|
/** OAuth access token. */
|
62
|
-
access_token?:
|
74
|
+
access_token?:
|
75
|
+
string;
|
63
76
|
/** Data format for response. */
|
64
|
-
alt?:
|
77
|
+
alt?:
|
78
|
+
string;
|
65
79
|
/** JSONP */
|
66
|
-
callback?:
|
80
|
+
callback?:
|
81
|
+
string;
|
67
82
|
/** Selector specifying which fields to include in a partial response. */
|
68
|
-
fields?:
|
83
|
+
fields?:
|
84
|
+
string;
|
69
85
|
/** 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. */
|
70
|
-
key?:
|
86
|
+
key?:
|
87
|
+
string;
|
71
88
|
/** Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` */
|
72
|
-
name:
|
89
|
+
name:
|
90
|
+
string;
|
73
91
|
/** OAuth 2.0 token for the current user. */
|
74
|
-
oauth_token?:
|
92
|
+
oauth_token?:
|
93
|
+
string;
|
75
94
|
/** Returns response with indentations and line breaks. */
|
76
|
-
prettyPrint?:
|
95
|
+
prettyPrint?:
|
96
|
+
boolean;
|
77
97
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
78
|
-
quotaUser?:
|
98
|
+
quotaUser?:
|
99
|
+
string;
|
79
100
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
80
|
-
upload_protocol?:
|
101
|
+
upload_protocol?:
|
102
|
+
string;
|
81
103
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
82
|
-
uploadType?:
|
104
|
+
uploadType?:
|
105
|
+
string;
|
83
106
|
}): Request<SiteSummaryResponse>;
|
84
107
|
}
|
85
108
|
interface ViolatingSitesResource {
|
86
109
|
/** Lists sites that are failing in the Ad Experience Report on at least one platform. */
|
87
110
|
list(request?: {
|
88
111
|
/** V1 error format. */
|
89
|
-
"$.xgafv"?:
|
112
|
+
"$.xgafv"?:
|
113
|
+
string;
|
90
114
|
/** OAuth access token. */
|
91
|
-
access_token?:
|
115
|
+
access_token?:
|
116
|
+
string;
|
92
117
|
/** Data format for response. */
|
93
|
-
alt?:
|
118
|
+
alt?:
|
119
|
+
string;
|
94
120
|
/** JSONP */
|
95
|
-
callback?:
|
121
|
+
callback?:
|
122
|
+
string;
|
96
123
|
/** Selector specifying which fields to include in a partial response. */
|
97
|
-
fields?:
|
124
|
+
fields?:
|
125
|
+
string;
|
98
126
|
/** 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. */
|
99
|
-
key?:
|
127
|
+
key?:
|
128
|
+
string;
|
100
129
|
/** OAuth 2.0 token for the current user. */
|
101
|
-
oauth_token?:
|
130
|
+
oauth_token?:
|
131
|
+
string;
|
102
132
|
/** Returns response with indentations and line breaks. */
|
103
|
-
prettyPrint?:
|
133
|
+
prettyPrint?:
|
134
|
+
boolean;
|
104
135
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
105
|
-
quotaUser?:
|
136
|
+
quotaUser?:
|
137
|
+
string;
|
106
138
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
107
|
-
upload_protocol?:
|
139
|
+
upload_protocol?:
|
140
|
+
string;
|
108
141
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
109
|
-
uploadType?:
|
142
|
+
uploadType?:
|
143
|
+
string;
|
110
144
|
}): Request<ViolatingSitesResponse>;
|
111
145
|
}
|
112
146
|
|
package/package.json
CHANGED
package/tests.ts
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
5
5
|
|
6
|
-
// Revision:
|
6
|
+
// Revision: 20230502
|
7
7
|
|
8
8
|
gapi.load('client', async () => {
|
9
9
|
/** now we can use gapi.client */
|