Skip to content

Commit 1e23ebd

Browse files
feat: run the generator (#1474)
1 parent 5b7e388 commit 1e23ebd

190 files changed

Lines changed: 14463 additions & 35826 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/apis/accesscontextmanager/v1beta.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export namespace accesscontextmanager_v1beta {
342342
* Some services might not provide such metadata. Any method that returns a
343343
* long-running operation should document the metadata type, if any.
344344
*/
345-
metadata?: any;
345+
metadata?: {[key: string]: any;};
346346
/**
347347
* The server-assigned name, which is only unique within the same service
348348
* that originally returns it. If you use the default HTTP mapping, the
@@ -358,7 +358,7 @@ export namespace accesscontextmanager_v1beta {
358358
* the original method name. For example, if the original method name is
359359
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
360360
*/
361-
response?: any;
361+
response?: {[key: string]: any;};
362362
}
363363
/**
364364
* A restriction on the OS type and version of devices making requests.
@@ -525,7 +525,7 @@ export namespace accesscontextmanager_v1beta {
525525
* A list of messages that carry the error details. There is a common set
526526
* of message types for APIs to use.
527527
*/
528-
details?: any[];
528+
details?: Array<{[key: string]: any;}>;
529529
/**
530530
* A developer-facing error message, which should be in English. Any
531531
* user-facing error message should be localized and sent in the

src/apis/adexchangebuyer/v1.2.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ export namespace adexchangebuyer_v1_2 {
109109
/**
110110
* Your bidder locations that have distinct URLs.
111111
*/
112-
bidderLocation?: any[];
112+
bidderLocation?:
113+
Array<{maximumQps?: number; region?: string; url?: string;}>;
113114
/**
114115
* The nid parameter value used in cookie match requests. Please contact
115116
* your technical account manager if you need to change this.
@@ -201,20 +202,23 @@ export namespace adexchangebuyer_v1_2 {
201202
* Shows any corrections that were applied to this creative. Read-only. This
202203
* field should not be set in requests.
203204
*/
204-
corrections?: any[];
205+
corrections?: Array<{details?: string[]; reason?: string;}>;
205206
/**
206207
* The reasons for disapproval, if any. Note that not all disapproval
207208
* reasons may be categorized, so it is possible for the creative to have a
208209
* status of DISAPPROVED with an empty list for disapproval_reasons. In this
209210
* case, please reach out to your TAM to help debug the issue. Read-only.
210211
* This field should not be set in requests.
211212
*/
212-
disapprovalReasons?: any[];
213+
disapprovalReasons?: Array<{details?: string[]; reason?: string;}>;
213214
/**
214215
* The filtering reasons for the creative. Read-only. This field should not
215216
* be set in requests.
216217
*/
217-
filteringReasons?: any;
218+
filteringReasons?: {
219+
date?: string;
220+
reasons?: Array<{filteringCount?: string; filteringStatus?: number;}>;
221+
};
218222
/**
219223
* Ad height.
220224
*/

src/apis/adexchangebuyer/v1.3.ts

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ export namespace adexchangebuyer_v1_3 {
119119
/**
120120
* Your bidder locations that have distinct URLs.
121121
*/
122-
bidderLocation?: any[];
122+
bidderLocation?:
123+
Array<{maximumQps?: number; region?: string; url?: string;}>;
123124
/**
124125
* The nid parameter value used in cookie match requests. Please contact
125126
* your technical account manager if you need to change this.
@@ -279,20 +280,23 @@ export namespace adexchangebuyer_v1_3 {
279280
* Shows any corrections that were applied to this creative. Read-only. This
280281
* field should not be set in requests.
281282
*/
282-
corrections?: any[];
283+
corrections?: Array<{details?: string[]; reason?: string;}>;
283284
/**
284285
* The reasons for disapproval, if any. Note that not all disapproval
285286
* reasons may be categorized, so it is possible for the creative to have a
286287
* status of DISAPPROVED with an empty list for disapproval_reasons. In this
287288
* case, please reach out to your TAM to help debug the issue. Read-only.
288289
* This field should not be set in requests.
289290
*/
290-
disapprovalReasons?: any[];
291+
disapprovalReasons?: Array<{details?: string[]; reason?: string;}>;
291292
/**
292293
* The filtering reasons for the creative. Read-only. This field should not
293294
* be set in requests.
294295
*/
295-
filteringReasons?: any;
296+
filteringReasons?: {
297+
date?: string;
298+
reasons?: Array<{filteringCount?: string; filteringStatus?: number;}>;
299+
};
296300
/**
297301
* Ad height.
298302
*/
@@ -313,7 +317,20 @@ export namespace adexchangebuyer_v1_3 {
313317
/**
314318
* If nativeAd is set, HTMLSnippet and videoURL should not be set.
315319
*/
316-
nativeAd?: any;
320+
nativeAd?: {
321+
advertiser?: string;
322+
appIcon?: {height?: number; url?: string; width?: number;};
323+
body?: string;
324+
callToAction?: string;
325+
clickTrackingUrl?: string;
326+
headline?: string;
327+
image?: {height?: number; url?: string; width?: number;};
328+
impressionTrackingUrl?: string[];
329+
logo?: {height?: number; url?: string; width?: number;};
330+
price?: string;
331+
starRating?: number;
332+
store?: string;
333+
};
317334
/**
318335
* Detected product categories, if any. Read-only. This field should not be
319336
* set in requests.
@@ -604,7 +621,7 @@ export namespace adexchangebuyer_v1_3 {
604621
* Requests which allow one of these (width, height) pairs will match. All
605622
* pairs must be supported ad dimensions.
606623
*/
607-
dimensions?: any[];
624+
dimensions?: Array<{height?: string; width?: string;}>;
608625
/**
609626
* Requests with any of these content labels will not match. Values are from
610627
* content-labels.txt in the downloadable files section.
@@ -617,7 +634,7 @@ export namespace adexchangebuyer_v1_3 {
617634
/**
618635
* Requests containing any of these placements will not match.
619636
*/
620-
excludedPlacements?: any[];
637+
excludedPlacements?: Array<{token?: string; type?: string;}>;
621638
/**
622639
* Requests containing any of these users list ids will not match.
623640
*/
@@ -662,7 +679,7 @@ export namespace adexchangebuyer_v1_3 {
662679
/**
663680
* Requests containing any of these placements will match.
664681
*/
665-
placements?: any[];
682+
placements?: Array<{token?: string; type?: string;}>;
666683
/**
667684
* Requests matching any of these platforms will match. Possible values are
668685
* PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and
@@ -1696,12 +1713,12 @@ export namespace adexchangebuyer_v1_3 {
16961713
/**
16971714
* When specified, only creatives for the given account ids are returned.
16981715
*/
1699-
accountId?: number;
1716+
accountId?: number[];
17001717
/**
17011718
* When specified, only creatives for the given buyer creative ids are
17021719
* returned.
17031720
*/
1704-
buyerCreativeId?: string;
1721+
buyerCreativeId?: string[];
17051722
/**
17061723
* Maximum number of entries returned on one result page. If not set, the
17071724
* default is 100. Optional.

src/apis/adexchangebuyer/v1.4.ts

Lines changed: 55 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,12 @@ export namespace adexchangebuyer_v1_4 {
138138
/**
139139
* Your bidder locations that have distinct URLs.
140140
*/
141-
bidderLocation?: any[];
141+
bidderLocation?: Array<{
142+
bidProtocol?: string;
143+
maximumQps?: number;
144+
region?: string;
145+
url?: string;
146+
}>;
142147
/**
143148
* The nid parameter value used in cookie match requests. Please contact
144149
* your technical account manager if you need to change this.
@@ -371,7 +376,16 @@ export namespace adexchangebuyer_v1_4 {
371376
* Shows any corrections that were applied to this creative. Read-only. This
372377
* field should not be set in requests.
373378
*/
374-
corrections?: any[];
379+
corrections?: Array<{
380+
contexts?: Array<{
381+
auctionType?: string[];
382+
contextType?: string;
383+
geoCriteriaId?: number[];
384+
platform?: string[];
385+
}>;
386+
details?: string[];
387+
reason?: string;
388+
}>;
375389
/**
376390
* Creative status identity type that the creative item applies to. Ad
377391
* Exchange real-time bidding is migrating to the sizeless creative
@@ -401,7 +415,10 @@ export namespace adexchangebuyer_v1_4 {
401415
* The filtering reasons for the creative. Read-only. This field should not
402416
* be set in requests.
403417
*/
404-
filteringReasons?: any;
418+
filteringReasons?: {
419+
date?: string;
420+
reasons?: Array<{filteringCount?: string; filteringStatus?: number;}>;
421+
};
405422
/**
406423
* Ad height.
407424
*/
@@ -428,7 +445,22 @@ export namespace adexchangebuyer_v1_4 {
428445
* If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside
429446
* of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
430447
*/
431-
nativeAd?: any;
448+
nativeAd?: {
449+
advertiser?: string;
450+
appIcon?: {height?: number; url?: string; width?: number;};
451+
body?: string;
452+
callToAction?: string;
453+
clickLinkUrl?: string;
454+
clickTrackingUrl?: string;
455+
headline?: string;
456+
image?: {height?: number; url?: string; width?: number;};
457+
impressionTrackingUrl?: string[];
458+
logo?: {height?: number; url?: string; width?: number;};
459+
price?: string;
460+
starRating?: number;
461+
store?: string;
462+
videoURL?: string;
463+
};
432464
/**
433465
* Top-level open auction status. Read-only. This field should not be set in
434466
* requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL)
@@ -462,7 +494,16 @@ export namespace adexchangebuyer_v1_4 {
462494
* Read-only. This field should not be set in requests. See the examples in
463495
* the Creatives guide for more details.
464496
*/
465-
servingRestrictions?: any[];
497+
servingRestrictions?: Array<{
498+
contexts?: Array<{
499+
auctionType?: string[];
500+
contextType?: string;
501+
geoCriteriaId?: number[];
502+
platform?: string[];
503+
}>;
504+
disapprovalReasons?: Array<{details?: string[]; reason?: string;}>;
505+
reason?: string;
506+
}>;
466507
/**
467508
* List of vendor types for the ads that may be shown from this snippet.
468509
* Each vendor type is represented by an integer as defined in vendors.txt.
@@ -497,7 +538,8 @@ export namespace adexchangebuyer_v1_4 {
497538
/**
498539
* A list of external deal ids and ARC approval status.
499540
*/
500-
dealStatuses?: any[];
541+
dealStatuses?:
542+
Array<{arcStatus?: string; dealId?: string; webPropertyId?: number;}>;
501543
/**
502544
* Resource type.
503545
*/
@@ -1140,7 +1182,7 @@ export namespace adexchangebuyer_v1_4 {
11401182
* Requests which allow one of these (width, height) pairs will match. All
11411183
* pairs must be supported ad dimensions.
11421184
*/
1143-
dimensions?: any[];
1185+
dimensions?: Array<{height?: string; width?: string;}>;
11441186
/**
11451187
* Requests with any of these content labels will not match. Values are from
11461188
* content-labels.txt in the downloadable files section.
@@ -1153,7 +1195,7 @@ export namespace adexchangebuyer_v1_4 {
11531195
/**
11541196
* Requests containing any of these placements will not match.
11551197
*/
1156-
excludedPlacements?: any[];
1198+
excludedPlacements?: Array<{token?: string; type?: string;}>;
11571199
/**
11581200
* Requests containing any of these users list ids will not match.
11591201
*/
@@ -1205,7 +1247,7 @@ export namespace adexchangebuyer_v1_4 {
12051247
/**
12061248
* Requests containing any of these placements will match.
12071249
*/
1208-
placements?: any[];
1250+
placements?: Array<{token?: string; type?: string;}>;
12091251
/**
12101252
* Requests matching any of these platforms will match. Possible values are
12111253
* PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and
@@ -1244,7 +1286,8 @@ export namespace adexchangebuyer_v1_4 {
12441286
* Video requests satisfying any of these player size constraints will
12451287
* match.
12461288
*/
1247-
videoPlayerSizes?: any[];
1289+
videoPlayerSizes?:
1290+
Array<{aspectRatio?: string; minHeight?: string; minWidth?: string;}>;
12481291
}
12491292
export interface Schema$PretargetingConfigList {
12501293
/**
@@ -3024,12 +3067,12 @@ export namespace adexchangebuyer_v1_4 {
30243067
/**
30253068
* When specified, only creatives for the given account ids are returned.
30263069
*/
3027-
accountId?: number;
3070+
accountId?: number[];
30283071
/**
30293072
* When specified, only creatives for the given buyer creative ids are
30303073
* returned.
30313074
*/
3032-
buyerCreativeId?: string;
3075+
buyerCreativeId?: string[];
30333076
/**
30343077
* When specified, only creatives having the given deals status are
30353078
* returned.

src/apis/adexchangebuyer2/v2beta1.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,8 @@ export namespace adexchangebuyer2_v2beta1 {
22352235
export interface Schema$RowDimensions {
22362236
/**
22372237
* The publisher identifier for this row, if a breakdown by
2238-
* BreakdownDimension.PUBLISHER_IDENTIFIER was requested.
2238+
* [BreakdownDimension.PUBLISHER_IDENTIFIER](https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/bidders.accounts.filterSets#FilterSet.BreakdownDimension)
2239+
* was requested.
22392240
*/
22402241
publisherIdentifier?: string;
22412242
/**

0 commit comments

Comments
 (0)