@maxim_mazurok/gapi.client.displayvideo-v3 0.1.20251006 → 0.1.20251027

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 +163 -2
  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: 20251006
12
+ // Revision: 20251027
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -61,8 +61,10 @@ declare namespace gapi.client {
61
61
  interface AdGroupAd {
62
62
  /** The unique ID of the ad. Assigned by the system. */
63
63
  adGroupAdId?: string;
64
- /** The unique ID of the ad group that the ad belongs to. */
64
+ /** The unique ID of the ad group that the ad belongs to. *Caution*: Parent ad groups for Demand Gen ads are not currently retrieveable using `advertisers.adGroups.list` or `advertisers.adGroups.get`. Demand Gen ads can be identified by the absence of the `ad_details` union field. */
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 approval decision. */
137
+ adPolicyApprovalStatus?: string;
138
+ /** The policy review status of an ad, indicating where in the review process the ad is currently. */
139
+ adPolicyReviewStatus?: string;
140
+ /** The entries for each policy topic identified as relating to the ad. Each entry includes the topic, restriction level, and guidance on how to fix policy issues. */
141
+ adPolicyTopicEntry?: AdPolicyTopicEntry[];
142
+ }
143
+ interface AdPolicyCriterionRestriction {
144
+ /** The country criterion id. */
145
+ countryCriterionId?: string;
146
+ /** Localized name for the country. May be empty. */
147
+ countryLabel?: string;
148
+ }
149
+ interface AdPolicyTopicAppealInfo {
150
+ /** Only available when appeal_type is `APPEAL_FORM`. */
151
+ appealFormLink?: string;
152
+ /** Whether the decision can be appealed through a self-service appeal or an 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 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
+ /** Information on how to appeal the policy decision. */
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. Examples include "Trademarks in text", "Contains Alcohol", etc. */
188
+ policyLabel?: string;
189
+ /** The policy topic. Examples include "TRADEMARKS", "ALCOHOL", etc. */
190
+ policyTopic?: string;
191
+ /** The serving constraints relevant to the policy decision. */
192
+ policyTopicConstraints?: AdPolicyTopicConstraint[];
193
+ /** A short summary description of the policy topic. */
194
+ policyTopicDescription?: string;
195
+ /** The evidence used in the policy decision. */
196
+ policyTopicEvidences?: AdPolicyTopicEvidence[];
197
+ /** How ad serving will be affected due to the relation to the ad policy topic. */
198
+ policyTopicType?: string;
199
+ }
200
+ interface AdPolicyTopicEvidence {
201
+ /** Counterfeit enforcement that caused a policy violation. */
202
+ counterfeit?: AdPolicyTopicEvidenceCounterfeit;
203
+ /** A mismatch between the ad destination URLs. */
204
+ destinationMismatch?: AdPolicyTopicEvidenceDestinationMismatch;
205
+ /** Information on HTTP or DNS errors related to the ad destination. */
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 field uses IETF language tags, 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 made a complaint. */
226
+ owners?: string[];
227
+ }
228
+ interface AdPolicyTopicEvidenceDestinationMismatch {
229
+ /** The set of URLs that do not match. 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 destination mismatch. */
230
+ uriTypes?: string[];
231
+ }
232
+ interface AdPolicyTopicEvidenceDestinationNotWorking {
233
+ /** The device where visiting the URL resulted in the error. */
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 time the error was seen when navigating to 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 type of complaint causing the legal removal. */
250
+ complaintType?: string;
251
+ /** The countries restricted due to the legal removal. */
252
+ countryRestrictions?: AdPolicyCriterionRestriction[];
253
+ /** Details on the DMCA regulation legal removal. */
254
+ dmca?: AdPolicyTopicEvidenceLegalRemovalDmca;
255
+ /** Details on the local legal regulation legal removal. */
256
+ localLegal?: AdPolicyTopicEvidenceLegalRemovalLocalLegal;
257
+ /** The urls restricted due to the legal removal. */
258
+ restrictedUris?: string[];
259
+ }
260
+ interface AdPolicyTopicEvidenceLegalRemovalDmca {
261
+ /** The entity who made 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 countries restricted due to the legal policy. */
274
+ countryRestrictions?: AdPolicyCriterionRestriction[];
275
+ /** The legal policy that is being 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
+ /** Countries where the policy violation is relevant. */
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.20251006",
3
+ "version": "0.1.20251027",
4
4
  "description": "TypeScript typings for Display & Video 360 API v3",
5
5
  "repository": {
6
6
  "type": "git",