@maxim_mazurok/gapi.client.displayvideo-v3 0.1.20250930 → 0.1.20251023

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +162 -1
  2. package/package.json +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://displayvideo.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20250930
12
+ // Revision: 20251023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -63,6 +63,8 @@ declare namespace gapi.client {
63
63
  adGroupAdId?: string;
64
64
  /** The unique ID of the ad group that the ad belongs to. */
65
65
  adGroupId?: string;
66
+ /** The policy approval status of the ad. */
67
+ adPolicy?: AdPolicy;
66
68
  /** List of URLs used by the ad. */
67
69
  adUrls?: AdUrl[];
68
70
  /** The unique ID of the advertiser the ad belongs to. */
@@ -130,6 +132,165 @@ declare namespace gapi.client {
130
132
  /** Optional. IAB viewability threshold for video ads. */
131
133
  videoIabViewability?: string;
132
134
  }
135
+ interface AdPolicy {
136
+ /** The policy approval status of an ad. Indicating the ad policy approval decision. */
137
+ adPolicyApprovalStatus?: string;
138
+ /** The policy review status of an ad. Indicating where the review process the ad is currently at. */
139
+ adPolicyReviewStatus?: string;
140
+ /** The policy topic entries for the ad, including the topic, restriction level, and guidance on how to fix policy issues. */
141
+ adPolicyTopicEntry?: AdPolicyTopicEntry[];
142
+ }
143
+ interface AdPolicyCriterionRestriction {
144
+ /** Only used today to represent a country criterion id. */
145
+ countryCriterionId?: string;
146
+ /** Localized name for the country. Could be empty. */
147
+ countryLabel?: string;
148
+ }
149
+ interface AdPolicyTopicAppealInfo {
150
+ /** Only available when appeal_type is APPEAL_FORM. */
151
+ appealFormLink?: string;
152
+ /** Indicate whether the policy topic can be self-service appeal or appeal form. */
153
+ appealType?: string;
154
+ }
155
+ interface AdPolicyTopicConstraint {
156
+ /** Countries where the resource's domain is not covered by the certificates associated with it. */
157
+ certificateDomainMismatchCountryList?: AdPolicyTopicConstraintAdPolicyCountryConstraintList;
158
+ /** Countries where a certificate is required for serving. */
159
+ certificateMissingCountryList?: AdPolicyTopicConstraintAdPolicyCountryConstraintList;
160
+ /** Countries where the ad cannot serve. */
161
+ countryConstraint?: AdPolicyTopicConstraintAdPolicyCountryConstraintList;
162
+ /** Certificate is required to serve in any country and the existing certificate does not cover the ad's domain. */
163
+ globalCertificateDomainMismatch?: any;
164
+ /** Certificate is required to serve in any country. */
165
+ globalCertificateMissing?: any;
166
+ /** Link to the form to request a certificate for the policy topic constraint. */
167
+ requestCertificateFormLink?: string;
168
+ /** Reseller constraint. */
169
+ resellerConstraint?: any;
170
+ }
171
+ interface AdPolicyTopicConstraintAdPolicyCountryConstraintList {
172
+ /** Countries where the ad cannot serve. */
173
+ countries?: AdPolicyCriterionRestriction[];
174
+ }
175
+ interface AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint {}
176
+ interface AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint {}
177
+ interface AdPolicyTopicConstraintAdPolicyResellerConstraint {}
178
+ interface AdPolicyTopicEntry {
179
+ /** Ad policy appeal related information for the policy topic. */
180
+ appealInfo?: AdPolicyTopicAppealInfo;
181
+ /** Ad policy help center link for the policy topic. */
182
+ helpCenterLink?: string;
183
+ /** The source of the policy decision. */
184
+ policyDecisionType?: string;
185
+ /** The policy enforcement means used in the policy review. */
186
+ policyEnforcementMeans?: string;
187
+ /** Localized label text for policy. (Trademarks in text, Contains Alcohol, etc.) */
188
+ policyLabel?: string;
189
+ /** The policy topic of an ad policy topic entry. (TRADEMARKS, ALCOHOL, etc.) */
190
+ policyTopic?: string;
191
+ /** The policy topic constraints. */
192
+ policyTopicConstraints?: AdPolicyTopicConstraint[];
193
+ /** Short summary description of the policy topic. */
194
+ policyTopicDescription?: string;
195
+ /** The policy topic evidences. */
196
+ policyTopicEvidences?: AdPolicyTopicEvidence[];
197
+ /** The policy topic entry type. */
198
+ policyTopicType?: string;
199
+ }
200
+ interface AdPolicyTopicEvidence {
201
+ /** Counterfeit enforcement that caused a policy violation. */
202
+ counterfeit?: AdPolicyTopicEvidenceCounterfeit;
203
+ /** Mismatch between the ad destinations URLs. */
204
+ destinationMismatch?: AdPolicyTopicEvidenceDestinationMismatch;
205
+ /** Destination not working because of HTTP error or DNS error. */
206
+ destinationNotWorking?: AdPolicyTopicEvidenceDestinationNotWorking;
207
+ /** The text in the destination of the ad that is causing a policy violation. */
208
+ destinationTextList?: AdPolicyTopicEvidenceDestinationTextList;
209
+ /** HTTP code returned when the final URL was crawled. */
210
+ httpCode?: number;
211
+ /** The language the ad was detected to be written in. This is an IETF language tag such as "en-US". */
212
+ languageCode?: string;
213
+ /** Legal related regulation enforcement that caused a policy violation. */
214
+ legalRemoval?: AdPolicyTopicEvidenceLegalRemoval;
215
+ /** T&S proactive enforcement that caused a policy violation. */
216
+ regionalRequirements?: AdPolicyTopicEvidenceRegionalRequirements;
217
+ /** List of evidence found in the text of the ad. */
218
+ textList?: AdPolicyTopicEvidenceTextList;
219
+ /** Trademark terms that caused a policy violation. */
220
+ trademark?: AdPolicyTopicEvidenceTrademark;
221
+ /** List of websites linked with the ad. */
222
+ websiteList?: AdPolicyTopicEvidenceWebsiteList;
223
+ }
224
+ interface AdPolicyTopicEvidenceCounterfeit {
225
+ /** The content or product owners that make the complainants. */
226
+ owners?: string[];
227
+ }
228
+ interface AdPolicyTopicEvidenceDestinationMismatch {
229
+ /** The set of URLs that do not match each other. The list can include single or multiple uri types. Example 1: [DISPLAY_URL, FINAL_URL] means ad display URL does not match with the ad final URL. Example 2: [FINAL_URL] means ad final URL did not match the crawled url, which is also considered as destinationmismatch. */
230
+ uriTypes?: string[];
231
+ }
232
+ interface AdPolicyTopicEvidenceDestinationNotWorking {
233
+ /** The device platform of the not working url. */
234
+ device?: string;
235
+ /** The type of DNS error. */
236
+ dnsErrorType?: string;
237
+ /** The full URL that didn't work. */
238
+ expandedUri?: string;
239
+ /** The HTTP error code. */
240
+ httpErrorCode?: string;
241
+ /** The last checked time of the not working url. */
242
+ lastCheckedTime?: string;
243
+ }
244
+ interface AdPolicyTopicEvidenceDestinationTextList {
245
+ /** Destination text that caused the policy finding. */
246
+ destinationTexts?: string[];
247
+ }
248
+ interface AdPolicyTopicEvidenceLegalRemoval {
249
+ /** The legal removal complaint type. */
250
+ complaintType?: string;
251
+ /** The restricted countries due to the legal removal. */
252
+ countryRestrictions?: AdPolicyCriterionRestriction[];
253
+ /** Whether the restriction is from DMCA regulation. */
254
+ dmca?: AdPolicyTopicEvidenceLegalRemovalDmca;
255
+ /** Whether the restriction is from local legal regulation. */
256
+ localLegal?: AdPolicyTopicEvidenceLegalRemovalLocalLegal;
257
+ /** The urls that are restricted due to the legal removal. */
258
+ restrictedUris?: string[];
259
+ }
260
+ interface AdPolicyTopicEvidenceLegalRemovalDmca {
261
+ /** The entity who makes the legal complaint. */
262
+ complainant?: string;
263
+ }
264
+ interface AdPolicyTopicEvidenceLegalRemovalLocalLegal {
265
+ /** Type of law for the legal notice. */
266
+ lawType?: string;
267
+ }
268
+ interface AdPolicyTopicEvidenceRegionalRequirements {
269
+ /** List of regional requirements. */
270
+ regionalRequirementsEntries?: AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry[];
271
+ }
272
+ interface AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry {
273
+ /** The restricted countries due to the legal policy. */
274
+ countryRestrictions?: AdPolicyCriterionRestriction[];
275
+ /** The legal policy that is violated. */
276
+ legalPolicy?: string;
277
+ }
278
+ interface AdPolicyTopicEvidenceTextList {
279
+ /** The fragments of text from the resource that caused the policy finding. */
280
+ texts?: string[];
281
+ }
282
+ interface AdPolicyTopicEvidenceTrademark {
283
+ /** Criteria that are geo restrictions. */
284
+ countryRestrictions?: AdPolicyCriterionRestriction[];
285
+ /** The trademark content owner. */
286
+ owner?: string;
287
+ /** The trademark term. */
288
+ term?: string;
289
+ }
290
+ interface AdPolicyTopicEvidenceWebsiteList {
291
+ /** Websites that caused the policy finding. */
292
+ websites?: string[];
293
+ }
133
294
  interface AdUrl {
134
295
  /** The type of the Ad URL. */
135
296
  type?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.displayvideo-v3",
3
- "version": "0.1.20250930",
3
+ "version": "0.1.20251023",
4
4
  "description": "TypeScript typings for Display & Video 360 API v3",
5
5
  "repository": {
6
6
  "type": "git",