@maxim_mazurok/gapi.client.authorizedbuyersmarketplace-v1beta 0.1.20251208 → 0.1.20260105

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 (3) hide show
  1. package/index.d.ts +499 -1
  2. package/package.json +1 -1
  3. package/readme.md +4 -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://authorizedbuyersmarketplace.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20251208
12
+ // Revision: 20260105
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -31,7 +31,48 @@ declare namespace gapi.client {
31
31
  ): void;
32
32
 
33
33
  namespace authorizedbuyersmarketplace {
34
+ interface AccessControlSettings {
35
+ /** Required. Immutable. The list of media planners that are explicitly granted access to the curated package. Eligible media planners can be found in the mediaPlanners.list method. Only a single media planner may be allowlisted at this time. Format: `mediaPlanners/{mediaPlannerAccountId}` */
36
+ allowlistedMediaPlanners?: string[];
37
+ }
38
+ interface ActivateCuratedPackageRequest {}
34
39
  interface ActivateDataSegmentRequest {}
40
+ interface AdSize {
41
+ /** The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`. */
42
+ height?: string;
43
+ /** The type of the ad slot size. */
44
+ type?: string;
45
+ /** The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`. */
46
+ width?: string;
47
+ }
48
+ interface CriteriaTargeting {
49
+ /** A list of numeric IDs to be excluded. */
50
+ excludedCriteriaIds?: string[];
51
+ /** A list of numeric IDs to be included. */
52
+ targetedCriteriaIds?: string[];
53
+ }
54
+ interface CuratedPackage {
55
+ /** Required. Settings for controlling access to the curated package. Access to this curated package is limited to the allowlisted media planners and the creator. Buyers and bidders can not be allowlisted for or have direct access to this resource. */
56
+ accessSettings?: AccessControlSettings;
57
+ /** Output only. The timestamp when the curated package was created. Can be used to filter the response of the curatedPackages.list method. */
58
+ createTime?: string;
59
+ /** Optional. A description of the curated package, provided by the curator. */
60
+ description?: string;
61
+ /** Required. The display name assigned to the curated package by the curator. Can be used to filter the response of the curatedPackages.list method. */
62
+ displayName?: string;
63
+ /** Optional. The CPM fee charged by the curator to buyers using this curated package. Can be used to filter the response of the curatedPackages.list method. */
64
+ feeCpm?: Money;
65
+ /** Optional. The minimum CPM a buyer has to bid to participate in auctions for inventory in this curated package. Can be used to filter the response of the curatedPackages.list method. */
66
+ floorPriceCpm?: Money;
67
+ /** Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
68
+ name?: string;
69
+ /** Output only. The state of the curated package. Can be used to filter the response of the curatedPackages.list method. */
70
+ state?: string;
71
+ /** Optional. Targeting criteria for the curated package. */
72
+ targeting?: PackageTargeting;
73
+ /** Output only. The timestamp when the curated package was last updated. Can be used to filter the response of the curatedPackages.list method. */
74
+ updateTime?: string;
75
+ }
35
76
  interface DataSegment {
36
77
  /** Optional. A fixed fee charged per thousand impressions. Once set, the currency code cannot be changed. */
37
78
  cpmFee?: Money;
@@ -44,13 +85,36 @@ declare namespace gapi.client {
44
85
  /** Output only. Time the data segment was last updated. */
45
86
  updateTime?: string;
46
87
  }
88
+ interface DeactivateCuratedPackageRequest {}
47
89
  interface DeactivateDataSegmentRequest {}
90
+ interface ListCuratedPackagesResponse {
91
+ /** The list of curated packages. */
92
+ curatedPackages?: CuratedPackage[];
93
+ /** A token to retrieve the next page of results. Pass this value in the ListCuratedPackagesRequest.pageToken field in the subsequent call to `ListCuratedPackages` method to retrieve the next page of results. If empty, then there are no more results. */
94
+ nextPageToken?: string;
95
+ }
48
96
  interface ListDataSegmentsResponse {
49
97
  /** The list of data segments. */
50
98
  dataSegments?: DataSegment[];
51
99
  /** Continuation token for fetching the next page of results. Pass this value in the ListDataSegmentsRequest.pageToken field in the subsequent call to the `ListDataSegments` method to retrieve the next page of results. */
52
100
  nextPageToken?: string;
53
101
  }
102
+ interface ListMediaPlannersResponse {
103
+ /** List of media planners. */
104
+ mediaPlanners?: MediaPlanner[];
105
+ /** A token which can be passed to a subsequent call to the `ListMediaPlanners` method to retrieve the next page of results in ListMediaPlannersRequest.pageToken. */
106
+ nextPageToken?: string;
107
+ }
108
+ interface MediaPlanner {
109
+ /** Output only. Account ID of the media planner. */
110
+ accountId?: string;
111
+ /** Output only. The ancestor names of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method. */
112
+ ancestorNames?: string[];
113
+ /** Output only. The display name of the media planner. Can be used to filter the response of the mediaPlanners.list method. */
114
+ displayName?: string;
115
+ /** Identifier. The unique resource name of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method. */
116
+ name?: string;
117
+ }
54
118
  interface Money {
55
119
  /** The three-letter currency code defined in ISO 4217. */
56
120
  currencyCode?: string;
@@ -59,6 +123,404 @@ declare namespace gapi.client {
59
123
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
60
124
  units?: string;
61
125
  }
126
+ interface PackagePlacementTargeting {
127
+ /** Optional. The list of targeted mobile app categories. */
128
+ includedMobileAppCategoryTargeting?: string[];
129
+ /** Optional. The list of targeted or excluded mobile application IDs that publishers own. Currently, only Android and Apple apps are supported. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. */
130
+ mobileAppTargeting?: StringTargetingDimension;
131
+ /** Optional. The list of targeted or excluded URLs. The domains should have the http/https stripped (for example, google.com), and can contain a max of 5 paths per url. */
132
+ uriTargeting?: StringTargetingDimension;
133
+ }
134
+ interface PackagePublisherProvidedSignalsTargeting {
135
+ /** Optional. The list of targeted or excluded audience IDs. Based off of IAB Audience Taxonomy version 1.1 (https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Audience%20Taxonomies/Audience%20Taxonomy%201.1.tsv) */
136
+ audienceTargeting?: TaxonomyTargeting;
137
+ /** Optional. The list of targeted or excluded content IDs. Based off of IAB Content Taxonomy version 2.2 (https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Content%20Taxonomies/Content%20Taxonomy%202.2.tsv) */
138
+ contentTargeting?: TaxonomyTargeting;
139
+ /** Optional. The list of targeted and excluded video and audio signals IDs. These are additional signals supported by publisher provided signals. */
140
+ videoAndAudioSignalsTargeting?: StringTargetingDimension;
141
+ }
142
+ interface PackageTargeting {
143
+ /** Optional. The geo criteria IDs to be included or excluded as defined in https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv. If unset, inventory will be targeted regardless of geo. */
144
+ geoTargeting?: CriteriaTargeting;
145
+ /** Optional. The targeted accelerated mobile page type. If unset, inventory will be targeted regardless of AMP status. */
146
+ includedAcceleratedMobilePageType?: string;
147
+ /** Optional. The list of ad sizes to target. If unset, inventory will be targeted regardless of ad size. Curated packages supports `PIXEL` and `INTERSTITIAL` ad sizes. */
148
+ includedAdSizes?: AdSize[];
149
+ /** Optional. The included list of targeted authorized seller statuses. If empty, inventory will be targeted regardless of seller status. */
150
+ includedAuthorizedSellerStatuses?: string[];
151
+ /** Optional. The creative format to target. If unset, all creative markup types are targeted. */
152
+ includedCreativeFormat?: string;
153
+ /** Optional. The active data segments to be targeted. If unset, inventory will be targeted regardless of data segments. Format: `curators/{account_id}/dataSegments/{data_segment_id}` */
154
+ includedDataSegments?: string[];
155
+ /** Optional. The list of included device types to target. If empty, all device types are targeted. */
156
+ includedDeviceTypes?: string[];
157
+ /** Optional. The environment to target. If unspecified, all environments are targeted. */
158
+ includedEnvironment?: string;
159
+ /** Optional. The targeted native inventory types. If empty, inventory will be targeted regardless of native inventory type. */
160
+ includedNativeInventoryTypes?: string[];
161
+ /** Optional. The list of targeted open measurement types. If empty, inventory will be targeted regardless of Open Measurement support. */
162
+ includedOpenMeasurementTypes?: string[];
163
+ /** Optional. The list of targeted restricted categories. If empty, inventory will be targeted regardless of restricted categories. */
164
+ includedRestrictedCategories?: string[];
165
+ /** Optional. The targeted rewarded type. If unset, inventory will be targeted regardless of rewarded type. */
166
+ includedRewardedType?: string;
167
+ /** Optional. The languages to target. If unset, inventory will be targeted regardless of language. See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of supported language codes. */
168
+ languageTargeting?: StringTargetingDimension;
169
+ /** Optional. The targeted minimum predicted click through rate, ranging in values [10, 10000] (0.01% - 10%). A value of 50 means that the configuration will only match adslots for which we predict at least 0.05% click through rate. An unset value indicates inventory will be targeted regardless of predicted click through rate. */
170
+ minimumPredictedClickThroughRatePercentageMillis?: string;
171
+ /** Optional. The targeted minimum predicted viewability percentage. This value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is valid, but 0, 15, and 100 are not. A value of 10 means that the configuration will only match adslots for which we predict at least 10% viewability. An unset value indicates inventory will be targeted regardless of predicted viewability. */
172
+ minimumPredictedViewabilityPercentage?: string;
173
+ /** Optional. Placement targeting information, for example, URL, mobile applications. */
174
+ placementTargeting?: PackagePlacementTargeting;
175
+ /** Optional. The publisher provided signals to target. If unset, inventory will be targeted regardless of publisher provided signals. */
176
+ publisherProvidedSignalsTargeting?: PackagePublisherProvidedSignalsTargeting;
177
+ /** Optional. The targeted publishers. If unset, inventory will be targeted regardless of publisher. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details. */
178
+ publisherTargeting?: StringTargetingDimension;
179
+ /** Optional. The verticals included or excluded as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals. If unset, inventory will be targeted regardless of vertical. */
180
+ verticalTargeting?: CriteriaTargeting;
181
+ /** Optional. Video specific targeting criteria. */
182
+ videoTargeting?: PackageVideoTargeting;
183
+ }
184
+ interface PackageVideoTargeting {
185
+ /** Optional. The targeted video delivery method. If unset, inventory will be targeted regardless of video delivery method. */
186
+ includedContentDeliveryMethod?: string;
187
+ /** Optional. The targeted maximum video ad duration. If unset, inventory will be targeted regardless of maximum video ad duration. */
188
+ includedMaximumAdDurationTargeting?: string;
189
+ /** Optional. The list of targeted video mime types using the IANA published MIME type strings (https://www.iana.org/assignments/media-types/media-types.xhtml). If empty, inventory will be targeted regardless of video mime type. */
190
+ includedMimeTypes?: string[];
191
+ /** Optional. The list of targeted video playback methods. If empty, inventory will be targeted regardless of video playback method. */
192
+ includedPlaybackMethods?: string[];
193
+ /** Optional. The targeted video player size. If unset, inventory will be targeted regardless of video player size. */
194
+ includedPlayerSizeTargeting?: VideoPlayerSizeTargeting;
195
+ /** Optional. The targeted video ad position types. If empty, inventory will be targeted regardless of video ad position type. */
196
+ includedPositionTypes?: string[];
197
+ /** Optional. The targeted minimum predicted completion rate percentage. This value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is valid, but 0, 15, and 100 are not. A value of 10 means that the configuration will only match adslots for which we predict at least 10% completion rate. An unset value indicates inventory will be targeted regardless of predicted completion rate. */
198
+ minimumPredictedCompletionRatePercentage?: string;
199
+ /** Optional. The targeted video plcmt types. If unset, inventory will be targeted regardless of video plcmt type. */
200
+ plcmtTargeting?: VideoPlcmtTargeting;
201
+ }
202
+ interface StringTargetingDimension {
203
+ /** Required. How the items in this list should be targeted. */
204
+ selectionType?: string;
205
+ /** Required. The values specified. */
206
+ values?: string[];
207
+ }
208
+ interface TaxonomyTargeting {
209
+ /** Optional. The list of excluded content taxonomy IDs. */
210
+ excludedTaxonomyIds?: string[];
211
+ /** Optional. The list of targeted content taxonomy IDs. */
212
+ targetedTaxonomyIds?: string[];
213
+ }
214
+ interface VideoPlayerSizeTargeting {
215
+ /** Required. The minimum height of the video player in pixels. */
216
+ minimumHeight?: string;
217
+ /** Required. The minimum width of the video player in pixels. */
218
+ minimumWidth?: string;
219
+ }
220
+ interface VideoPlcmtTargeting {
221
+ /** Required. The selection type for the list of video plcmts. */
222
+ selectionType?: string;
223
+ /** Required. The list of targeted video plcmts types. If empty, inventory will be targeted regardless of video plcmt type. */
224
+ videoPlcmtTypes?: string[];
225
+ }
226
+ interface CuratedPackagesResource {
227
+ /** Activates an existing curated package. */
228
+ activate(request: {
229
+ /** V1 error format. */
230
+ '$.xgafv'?: string;
231
+ /** OAuth access token. */
232
+ access_token?: string;
233
+ /** Data format for response. */
234
+ alt?: string;
235
+ /** JSONP */
236
+ callback?: string;
237
+ /** Selector specifying which fields to include in a partial response. */
238
+ fields?: string;
239
+ /** 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. */
240
+ key?: string;
241
+ /** Required. The name of the curated package to activate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
242
+ name: string;
243
+ /** OAuth 2.0 token for the current user. */
244
+ oauth_token?: string;
245
+ /** Returns response with indentations and line breaks. */
246
+ prettyPrint?: boolean;
247
+ /** 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. */
248
+ quotaUser?: string;
249
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
250
+ upload_protocol?: string;
251
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
252
+ uploadType?: string;
253
+ /** Request body */
254
+ resource: ActivateCuratedPackageRequest;
255
+ }): Request<CuratedPackage>;
256
+ activate(
257
+ request: {
258
+ /** V1 error format. */
259
+ '$.xgafv'?: string;
260
+ /** OAuth access token. */
261
+ access_token?: string;
262
+ /** Data format for response. */
263
+ alt?: string;
264
+ /** JSONP */
265
+ callback?: string;
266
+ /** Selector specifying which fields to include in a partial response. */
267
+ fields?: string;
268
+ /** 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. */
269
+ key?: string;
270
+ /** Required. The name of the curated package to activate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
271
+ name: string;
272
+ /** OAuth 2.0 token for the current user. */
273
+ oauth_token?: string;
274
+ /** Returns response with indentations and line breaks. */
275
+ prettyPrint?: boolean;
276
+ /** 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. */
277
+ quotaUser?: string;
278
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
279
+ upload_protocol?: string;
280
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
281
+ uploadType?: string;
282
+ },
283
+ body: ActivateCuratedPackageRequest,
284
+ ): Request<CuratedPackage>;
285
+ /** Creates a new curated package. */
286
+ create(request: {
287
+ /** V1 error format. */
288
+ '$.xgafv'?: string;
289
+ /** OAuth access token. */
290
+ access_token?: string;
291
+ /** Data format for response. */
292
+ alt?: string;
293
+ /** JSONP */
294
+ callback?: string;
295
+ /** Selector specifying which fields to include in a partial response. */
296
+ fields?: string;
297
+ /** 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. */
298
+ key?: string;
299
+ /** OAuth 2.0 token for the current user. */
300
+ oauth_token?: string;
301
+ /** Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}` */
302
+ parent: string;
303
+ /** Returns response with indentations and line breaks. */
304
+ prettyPrint?: boolean;
305
+ /** 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. */
306
+ quotaUser?: string;
307
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
308
+ upload_protocol?: string;
309
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
310
+ uploadType?: string;
311
+ /** Request body */
312
+ resource: CuratedPackage;
313
+ }): Request<CuratedPackage>;
314
+ create(
315
+ request: {
316
+ /** V1 error format. */
317
+ '$.xgafv'?: string;
318
+ /** OAuth access token. */
319
+ access_token?: string;
320
+ /** Data format for response. */
321
+ alt?: string;
322
+ /** JSONP */
323
+ callback?: string;
324
+ /** Selector specifying which fields to include in a partial response. */
325
+ fields?: string;
326
+ /** 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. */
327
+ key?: string;
328
+ /** OAuth 2.0 token for the current user. */
329
+ oauth_token?: string;
330
+ /** Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}` */
331
+ parent: string;
332
+ /** Returns response with indentations and line breaks. */
333
+ prettyPrint?: boolean;
334
+ /** 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. */
335
+ quotaUser?: string;
336
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
337
+ upload_protocol?: string;
338
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
339
+ uploadType?: string;
340
+ },
341
+ body: CuratedPackage,
342
+ ): Request<CuratedPackage>;
343
+ /** Deactivates an existing curated package. */
344
+ deactivate(request: {
345
+ /** V1 error format. */
346
+ '$.xgafv'?: string;
347
+ /** OAuth access token. */
348
+ access_token?: string;
349
+ /** Data format for response. */
350
+ alt?: string;
351
+ /** JSONP */
352
+ callback?: string;
353
+ /** Selector specifying which fields to include in a partial response. */
354
+ fields?: string;
355
+ /** 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. */
356
+ key?: string;
357
+ /** Required. The name of the curated package to deactivate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
358
+ name: string;
359
+ /** OAuth 2.0 token for the current user. */
360
+ oauth_token?: string;
361
+ /** Returns response with indentations and line breaks. */
362
+ prettyPrint?: boolean;
363
+ /** 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. */
364
+ quotaUser?: string;
365
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
366
+ upload_protocol?: string;
367
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
368
+ uploadType?: string;
369
+ /** Request body */
370
+ resource: DeactivateCuratedPackageRequest;
371
+ }): Request<CuratedPackage>;
372
+ deactivate(
373
+ request: {
374
+ /** V1 error format. */
375
+ '$.xgafv'?: string;
376
+ /** OAuth access token. */
377
+ access_token?: string;
378
+ /** Data format for response. */
379
+ alt?: string;
380
+ /** JSONP */
381
+ callback?: string;
382
+ /** Selector specifying which fields to include in a partial response. */
383
+ fields?: string;
384
+ /** 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. */
385
+ key?: string;
386
+ /** Required. The name of the curated package to deactivate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
387
+ name: string;
388
+ /** OAuth 2.0 token for the current user. */
389
+ oauth_token?: string;
390
+ /** Returns response with indentations and line breaks. */
391
+ prettyPrint?: boolean;
392
+ /** 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. */
393
+ quotaUser?: string;
394
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
395
+ upload_protocol?: string;
396
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
397
+ uploadType?: string;
398
+ },
399
+ body: DeactivateCuratedPackageRequest,
400
+ ): Request<CuratedPackage>;
401
+ /** Gets a curated package given its resource name. */
402
+ get(request?: {
403
+ /** V1 error format. */
404
+ '$.xgafv'?: string;
405
+ /** OAuth access token. */
406
+ access_token?: string;
407
+ /** Data format for response. */
408
+ alt?: string;
409
+ /** JSONP */
410
+ callback?: string;
411
+ /** Selector specifying which fields to include in a partial response. */
412
+ fields?: string;
413
+ /** 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. */
414
+ key?: string;
415
+ /** Required. The name of the curated package to retrieve. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
416
+ name: string;
417
+ /** OAuth 2.0 token for the current user. */
418
+ oauth_token?: string;
419
+ /** Returns response with indentations and line breaks. */
420
+ prettyPrint?: boolean;
421
+ /** 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. */
422
+ quotaUser?: string;
423
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
424
+ upload_protocol?: string;
425
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
426
+ uploadType?: string;
427
+ }): Request<CuratedPackage>;
428
+ /** Lists curated packages owned by the specified curator. */
429
+ list(request?: {
430
+ /** V1 error format. */
431
+ '$.xgafv'?: string;
432
+ /** OAuth access token. */
433
+ access_token?: string;
434
+ /** Data format for response. */
435
+ alt?: string;
436
+ /** JSONP */
437
+ callback?: string;
438
+ /** Selector specifying which fields to include in a partial response. */
439
+ fields?: string;
440
+ /** Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * displayName * createTime * updateTime * state * feeCpm.currencyCode * feeCpm.units * feeCpm.nanos * floorPriceCpm.currencyCode * floorPriceCpm.units * floorPriceCpm.nanos */
441
+ filter?: string;
442
+ /** 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. */
443
+ key?: string;
444
+ /** OAuth 2.0 token for the current user. */
445
+ oauth_token?: string;
446
+ /** Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the server will default to 500. */
447
+ pageSize?: number;
448
+ /** Optional. A page token, received from a previous `ListCuratedPackages` call. Provide this to retrieve the subsequent page. */
449
+ pageToken?: string;
450
+ /** Required. The parent curator account which owns this collection of curated packages. Format: `curators/{accountId}` */
451
+ parent: string;
452
+ /** Returns response with indentations and line breaks. */
453
+ prettyPrint?: boolean;
454
+ /** 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. */
455
+ quotaUser?: string;
456
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
457
+ upload_protocol?: string;
458
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
459
+ uploadType?: string;
460
+ }): Request<ListCuratedPackagesResponse>;
461
+ /** Updates an existing curated package. */
462
+ patch(request: {
463
+ /** V1 error format. */
464
+ '$.xgafv'?: string;
465
+ /** OAuth access token. */
466
+ access_token?: string;
467
+ /** Data format for response. */
468
+ alt?: string;
469
+ /** JSONP */
470
+ callback?: string;
471
+ /** Selector specifying which fields to include in a partial response. */
472
+ fields?: string;
473
+ /** 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. */
474
+ key?: string;
475
+ /** Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
476
+ name: string;
477
+ /** OAuth 2.0 token for the current user. */
478
+ oauth_token?: string;
479
+ /** Returns response with indentations and line breaks. */
480
+ prettyPrint?: boolean;
481
+ /** 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. */
482
+ quotaUser?: string;
483
+ /** Optional. List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path "*" can be used to indicate full replacement (the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask. */
484
+ updateMask?: string;
485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
486
+ upload_protocol?: string;
487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
488
+ uploadType?: string;
489
+ /** Request body */
490
+ resource: CuratedPackage;
491
+ }): Request<CuratedPackage>;
492
+ patch(
493
+ request: {
494
+ /** V1 error format. */
495
+ '$.xgafv'?: string;
496
+ /** OAuth access token. */
497
+ access_token?: string;
498
+ /** Data format for response. */
499
+ alt?: string;
500
+ /** JSONP */
501
+ callback?: string;
502
+ /** Selector specifying which fields to include in a partial response. */
503
+ fields?: string;
504
+ /** 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. */
505
+ key?: string;
506
+ /** Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
507
+ name: string;
508
+ /** OAuth 2.0 token for the current user. */
509
+ oauth_token?: string;
510
+ /** Returns response with indentations and line breaks. */
511
+ prettyPrint?: boolean;
512
+ /** 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. */
513
+ quotaUser?: string;
514
+ /** Optional. List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path "*" can be used to indicate full replacement (the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask. */
515
+ updateMask?: string;
516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
517
+ upload_protocol?: string;
518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
519
+ uploadType?: string;
520
+ },
521
+ body: CuratedPackage,
522
+ ): Request<CuratedPackage>;
523
+ }
62
524
  interface DataSegmentsResource {
63
525
  /** Activates a data segment. */
64
526
  activate(request: {
@@ -356,9 +818,45 @@ declare namespace gapi.client {
356
818
  ): Request<DataSegment>;
357
819
  }
358
820
  interface CuratorsResource {
821
+ curatedPackages: CuratedPackagesResource;
359
822
  dataSegments: DataSegmentsResource;
360
823
  }
824
+ interface MediaPlannersResource {
825
+ /** Lists all media planner accounts that the caller has access to. For curators, this will return all media planners that have accepted curator terms. For other accounts, attempting to list media planners will return an error. */
826
+ list(request?: {
827
+ /** V1 error format. */
828
+ '$.xgafv'?: string;
829
+ /** OAuth access token. */
830
+ access_token?: string;
831
+ /** Data format for response. */
832
+ alt?: string;
833
+ /** JSONP */
834
+ callback?: string;
835
+ /** Selector specifying which fields to include in a partial response. */
836
+ fields?: string;
837
+ /** Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * `name` * `displayName` * `ancestorNames` */
838
+ filter?: string;
839
+ /** 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. */
840
+ key?: string;
841
+ /** OAuth 2.0 token for the current user. */
842
+ oauth_token?: string;
843
+ /** The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value is 500; values above 500 will be coerced to 500. */
844
+ pageSize?: number;
845
+ /** A token identifying a page of results the server should return. This value is received from a previous `ListMediaPlanners` call in ListMediaPlannersResponse.nextPageToken. */
846
+ pageToken?: string;
847
+ /** Returns response with indentations and line breaks. */
848
+ prettyPrint?: boolean;
849
+ /** 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. */
850
+ quotaUser?: string;
851
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
852
+ upload_protocol?: string;
853
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
854
+ uploadType?: string;
855
+ }): Request<ListMediaPlannersResponse>;
856
+ }
361
857
 
362
858
  const curators: CuratorsResource;
859
+
860
+ const mediaPlanners: MediaPlannersResource;
363
861
  }
364
862
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.authorizedbuyersmarketplace-v1beta",
3
- "version": "0.1.20251208",
3
+ "version": "0.1.20260105",
4
4
  "description": "TypeScript typings for Authorized Buyers Marketplace API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -69,7 +69,10 @@ gapi.auth.authorize(
69
69
  After that you can use Authorized Buyers Marketplace API resources: <!-- TODO: make this work for multiple namespaces -->
70
70
 
71
71
  ```typescript
72
-
72
+ /*
73
+ Lists all media planner accounts that the caller has access to. For curators, this will return all media planners that have accepted curator terms. For other accounts, attempting to list media planners will return an error.
74
+ */
75
+ await gapi.client.authorizedbuyersmarketplace.mediaPlanners.list({});
73
76
  ```
74
77
 
75
78
  For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.authorizedbuyersmarketplace-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)