@maxim_mazurok/gapi.client.authorizedbuyersmarketplace-v1alpha 0.1.20251204 → 0.1.20251211

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 +485 -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=v1alpha
12
- // Revision: 20251204
12
+ // Revision: 20251211
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,8 +35,13 @@ declare namespace gapi.client {
35
35
  /** The last known client revision number of the proposal. */
36
36
  proposalRevision?: string;
37
37
  }
38
+ interface AccessControlSettings {
39
+ /** 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}` */
40
+ allowlistedMediaPlanners?: string[];
41
+ }
38
42
  interface ActivateClientRequest {}
39
43
  interface ActivateClientUserRequest {}
44
+ interface ActivateCuratedPackageRequest {}
40
45
  interface ActivateDataSegmentRequest {}
41
46
  interface AddCreativeRequest {
42
47
  /** Name of the creative to add to the finalized deal, in the format `buyers/{buyerAccountId}/creatives/{creativeId}`. See creative.name. */
@@ -137,6 +142,28 @@ declare namespace gapi.client {
137
142
  /** A list of numeric IDs to be included. */
138
143
  targetedCriteriaIds?: string[];
139
144
  }
145
+ interface CuratedPackage {
146
+ /** 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. */
147
+ accessSettings?: AccessControlSettings;
148
+ /** Output only. The timestamp when the curated package was created. Can be used to filter the response of the curatedPackages.list method. */
149
+ createTime?: string;
150
+ /** Optional. A description of the curated package, provided by the curator. */
151
+ description?: string;
152
+ /** Required. The display name assigned to the curated package by the curator. Can be used to filter the response of the curatedPackages.list method. */
153
+ displayName?: string;
154
+ /** 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. */
155
+ feeCpm?: Money;
156
+ /** 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. */
157
+ floorPriceCpm?: Money;
158
+ /** Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
159
+ name?: string;
160
+ /** Output only. The state of the curated package. Can be used to filter the response of the curatedPackages.list method. */
161
+ state?: string;
162
+ /** Optional. Targeting criteria for the curated package. */
163
+ targeting?: PackageTargeting;
164
+ /** Output only. The timestamp when the curated package was last updated. Can be used to filter the response of the curatedPackages.list method. */
165
+ updateTime?: string;
166
+ }
140
167
  interface DataSegment {
141
168
  /** Optional. A fixed fee charged per thousand impressions. Once set, the currency code cannot be changed. */
142
169
  cpmFee?: Money;
@@ -165,6 +192,7 @@ declare namespace gapi.client {
165
192
  }
166
193
  interface DeactivateClientRequest {}
167
194
  interface DeactivateClientUserRequest {}
195
+ interface DeactivateCuratedPackageRequest {}
168
196
  interface DeactivateDataSegmentRequest {}
169
197
  interface Deal {
170
198
  /** Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer; when the deal belongs to a media planner account, this field will be empty. Format : `buyers/{buyerAccountId}` */
@@ -293,6 +321,12 @@ declare namespace gapi.client {
293
321
  /** A token to retrieve the next page of results. Pass this value in the ListClientUsersRequest.pageToken field in the subsequent call to the list method to retrieve the next page of results. */
294
322
  nextPageToken?: string;
295
323
  }
324
+ interface ListCuratedPackagesResponse {
325
+ /** The list of curated packages. */
326
+ curatedPackages?: CuratedPackage[];
327
+ /** 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. */
328
+ nextPageToken?: string;
329
+ }
296
330
  interface ListDataSegmentsResponse {
297
331
  /** The list of data segments. */
298
332
  dataSegments?: DataSegment[];
@@ -311,6 +345,12 @@ declare namespace gapi.client {
311
345
  /** Token to fetch the next page of results. */
312
346
  nextPageToken?: string;
313
347
  }
348
+ interface ListMediaPlannersResponse {
349
+ /** List of media planners. */
350
+ mediaPlanners?: MediaPlanner[];
351
+ /** A token which can be passed to a subsequent call to the `ListMediaPlanners` method to retrieve the next page of results in ListMediaPlannersRequest.pageToken. */
352
+ nextPageToken?: string;
353
+ }
314
354
  interface ListProposalsResponse {
315
355
  /** Continuation token for fetching the next page of results. */
316
356
  nextPageToken?: string;
@@ -348,6 +388,12 @@ declare namespace gapi.client {
348
388
  interface MediaPlanner {
349
389
  /** Output only. Account ID of the media planner. */
350
390
  accountId?: string;
391
+ /** Output only. The ancestor names of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method. */
392
+ ancestorNames?: string[];
393
+ /** Output only. The display name of the media planner. Can be used to filter the response of the mediaPlanners.list method. */
394
+ displayName?: string;
395
+ /** Identifier. The unique resource name of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method. */
396
+ name?: string;
351
397
  }
352
398
  interface MobileApplicationTargeting {
353
399
  /** Publisher owned apps to be targeted or excluded by the publisher to display the ads in. */
@@ -375,6 +421,82 @@ declare namespace gapi.client {
375
421
  /** IDs of operating system versions to be included/excluded. */
376
422
  operatingSystemVersionCriteria?: CriteriaTargeting;
377
423
  }
424
+ interface PackagePlacementTargeting {
425
+ /** Optional. The list of targeted mobile app categories. */
426
+ includedMobileAppCategoryTargeting?: string[];
427
+ /** 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. */
428
+ mobileAppTargeting?: StringTargetingDimension;
429
+ /** 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. */
430
+ uriTargeting?: StringTargetingDimension;
431
+ }
432
+ interface PackagePublisherProvidedSignalsTargeting {
433
+ /** 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) */
434
+ audienceTargeting?: TaxonomyTargeting;
435
+ /** 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) */
436
+ contentTargeting?: TaxonomyTargeting;
437
+ /** Optional. The list of targeted and excluded video and audio signals IDs. These are additional signals supported by publisher provided signals. */
438
+ videoAndAudioSignalsTargeting?: StringTargetingDimension;
439
+ }
440
+ interface PackageTargeting {
441
+ /** 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. */
442
+ geoTargeting?: CriteriaTargeting;
443
+ /** Optional. The targeted accelerated mobile page type. If unset, inventory will be targeted regardless of AMP status. */
444
+ includedAcceleratedMobilePageType?: string;
445
+ /** 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. */
446
+ includedAdSizes?: AdSize[];
447
+ /** Optional. The included list of targeted authorized seller statuses. If empty, inventory will be targeted regardless of seller status. */
448
+ includedAuthorizedSellerStatuses?: string[];
449
+ /** Optional. The creative format to target. If unset, all creative markup types are targeted. */
450
+ includedCreativeFormat?: string;
451
+ /** 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}` */
452
+ includedDataSegments?: string[];
453
+ /** Optional. The list of included device types to target. If empty, all device types are targeted. */
454
+ includedDeviceTypes?: string[];
455
+ /** Optional. The environment to target. If unspecified, all environments are targeted. */
456
+ includedEnvironment?: string;
457
+ /** Optional. The targeted native inventory types. If empty, inventory will be targeted regardless of native inventory type. */
458
+ includedNativeInventoryTypes?: string[];
459
+ /** Optional. The list of targeted open measurement types. If empty, inventory will be targeted regardless of Open Measurement support. */
460
+ includedOpenMeasurementTypes?: string[];
461
+ /** Optional. The list of targeted restricted categories. If empty, inventory will be targeted regardless of restricted categories. */
462
+ includedRestrictedCategories?: string[];
463
+ /** Optional. The targeted rewarded type. If unset, inventory will be targeted regardless of rewarded type. */
464
+ includedRewardedType?: string;
465
+ /** 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. */
466
+ languageTargeting?: StringTargetingDimension;
467
+ /** 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. */
468
+ minimumPredictedClickThroughRatePercentageMillis?: string;
469
+ /** 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. */
470
+ minimumPredictedViewabilityPercentage?: string;
471
+ /** Optional. Placement targeting information, for example, URL, mobile applications. */
472
+ placementTargeting?: PackagePlacementTargeting;
473
+ /** Optional. The publisher provided signals to target. If unset, inventory will be targeted regardless of publisher provided signals. */
474
+ publisherProvidedSignalsTargeting?: PackagePublisherProvidedSignalsTargeting;
475
+ /** 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. */
476
+ publisherTargeting?: StringTargetingDimension;
477
+ /** 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. */
478
+ verticalTargeting?: CriteriaTargeting;
479
+ /** Optional. Video specific targeting criteria. */
480
+ videoTargeting?: PackageVideoTargeting;
481
+ }
482
+ interface PackageVideoTargeting {
483
+ /** Optional. The targeted video delivery method. If unset, inventory will be targeted regardless of video delivery method. */
484
+ includedContentDeliveryMethod?: string;
485
+ /** Optional. The targeted maximum video ad duration. If unset, inventory will be targeted regardless of maximum video ad duration. */
486
+ includedMaximumAdDurationTargeting?: string;
487
+ /** 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. */
488
+ includedMimeTypes?: string[];
489
+ /** Optional. The list of targeted video playback methods. If empty, inventory will be targeted regardless of video playback method. */
490
+ includedPlaybackMethods?: string[];
491
+ /** Optional. The targeted video player size. If unset, inventory will be targeted regardless of video player size. */
492
+ includedPlayerSizeTargeting?: VideoPlayerSizeTargeting;
493
+ /** Optional. The targeted video ad position types. If empty, inventory will be targeted regardless of video ad position type. */
494
+ includedPositionTypes?: string[];
495
+ /** 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. */
496
+ minimumPredictedCompletionRatePercentage?: string;
497
+ /** Optional. The targeted video plcmt types. If unset, inventory will be targeted regardless of video plcmt type. */
498
+ plcmtTargeting?: VideoPlcmtTargeting;
499
+ }
378
500
  interface PauseFinalizedDealRequest {
379
501
  /** The reason to pause the finalized deal, will be displayed to the seller. Maximum length is 1000 characters. */
380
502
  reason?: string;
@@ -541,11 +663,23 @@ declare namespace gapi.client {
541
663
  publisherProfile?: string;
542
664
  }
543
665
  interface SetReadyToServeRequest {}
666
+ interface StringTargetingDimension {
667
+ /** Required. How the items in this list should be targeted. */
668
+ selectionType?: string;
669
+ /** Required. The values specified. */
670
+ values?: string[];
671
+ }
544
672
  interface SubscribeAuctionPackageRequest {}
545
673
  interface SubscribeClientsRequest {
546
674
  /** Optional. A list of client buyers to subscribe to the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`. The current buyer will be subscribed to the auction package regardless of the list contents if not already. */
547
675
  clients?: string[];
548
676
  }
677
+ interface TaxonomyTargeting {
678
+ /** Optional. The list of excluded content taxonomy IDs. */
679
+ excludedTaxonomyIds?: string[];
680
+ /** Optional. The list of targeted content taxonomy IDs. */
681
+ targetedTaxonomyIds?: string[];
682
+ }
549
683
  interface TechnologyTargeting {
550
684
  /** IDs of device capabilities to be included/excluded. */
551
685
  deviceCapabilityTargeting?: CriteriaTargeting;
@@ -587,6 +721,18 @@ declare namespace gapi.client {
587
721
  /** A list of URLs to be included. */
588
722
  targetedUris?: string[];
589
723
  }
724
+ interface VideoPlayerSizeTargeting {
725
+ /** Required. The minimum height of the video player in pixels. */
726
+ minimumHeight?: string;
727
+ /** Required. The minimum width of the video player in pixels. */
728
+ minimumWidth?: string;
729
+ }
730
+ interface VideoPlcmtTargeting {
731
+ /** Required. The selection type for the list of video plcmts. */
732
+ selectionType?: string;
733
+ /** Required. The list of targeted video plcmts types. If empty, inventory will be targeted regardless of video plcmt type. */
734
+ videoPlcmtTypes?: string[];
735
+ }
590
736
  interface VideoTargeting {
591
737
  /** A list of video positions to be excluded. When this field is populated, the targeted_position_types field must be empty. */
592
738
  excludedPositionTypes?: string[];
@@ -2784,9 +2930,347 @@ declare namespace gapi.client {
2784
2930
  proposals: ProposalsResource;
2785
2931
  publisherProfiles: PublisherProfilesResource;
2786
2932
  }
2933
+ interface CuratedPackagesResource {
2934
+ /** Activates an existing curated package. */
2935
+ activate(request: {
2936
+ /** V1 error format. */
2937
+ '$.xgafv'?: string;
2938
+ /** OAuth access token. */
2939
+ access_token?: string;
2940
+ /** Data format for response. */
2941
+ alt?: string;
2942
+ /** JSONP */
2943
+ callback?: string;
2944
+ /** Selector specifying which fields to include in a partial response. */
2945
+ fields?: string;
2946
+ /** 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. */
2947
+ key?: string;
2948
+ /** Required. The name of the curated package to activate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
2949
+ name: string;
2950
+ /** OAuth 2.0 token for the current user. */
2951
+ oauth_token?: string;
2952
+ /** Returns response with indentations and line breaks. */
2953
+ prettyPrint?: boolean;
2954
+ /** 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. */
2955
+ quotaUser?: string;
2956
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2957
+ upload_protocol?: string;
2958
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2959
+ uploadType?: string;
2960
+ /** Request body */
2961
+ resource: ActivateCuratedPackageRequest;
2962
+ }): Request<CuratedPackage>;
2963
+ activate(
2964
+ request: {
2965
+ /** V1 error format. */
2966
+ '$.xgafv'?: string;
2967
+ /** OAuth access token. */
2968
+ access_token?: string;
2969
+ /** Data format for response. */
2970
+ alt?: string;
2971
+ /** JSONP */
2972
+ callback?: string;
2973
+ /** Selector specifying which fields to include in a partial response. */
2974
+ fields?: string;
2975
+ /** 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. */
2976
+ key?: string;
2977
+ /** Required. The name of the curated package to activate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
2978
+ name: string;
2979
+ /** OAuth 2.0 token for the current user. */
2980
+ oauth_token?: string;
2981
+ /** Returns response with indentations and line breaks. */
2982
+ prettyPrint?: boolean;
2983
+ /** 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. */
2984
+ quotaUser?: string;
2985
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2986
+ upload_protocol?: string;
2987
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2988
+ uploadType?: string;
2989
+ },
2990
+ body: ActivateCuratedPackageRequest,
2991
+ ): Request<CuratedPackage>;
2992
+ /** Creates a new curated package. */
2993
+ create(request: {
2994
+ /** V1 error format. */
2995
+ '$.xgafv'?: string;
2996
+ /** OAuth access token. */
2997
+ access_token?: string;
2998
+ /** Data format for response. */
2999
+ alt?: string;
3000
+ /** JSONP */
3001
+ callback?: string;
3002
+ /** Selector specifying which fields to include in a partial response. */
3003
+ fields?: string;
3004
+ /** 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. */
3005
+ key?: string;
3006
+ /** OAuth 2.0 token for the current user. */
3007
+ oauth_token?: string;
3008
+ /** Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}` */
3009
+ parent: string;
3010
+ /** Returns response with indentations and line breaks. */
3011
+ prettyPrint?: boolean;
3012
+ /** 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. */
3013
+ quotaUser?: string;
3014
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3015
+ upload_protocol?: string;
3016
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3017
+ uploadType?: string;
3018
+ /** Request body */
3019
+ resource: CuratedPackage;
3020
+ }): Request<CuratedPackage>;
3021
+ create(
3022
+ request: {
3023
+ /** V1 error format. */
3024
+ '$.xgafv'?: string;
3025
+ /** OAuth access token. */
3026
+ access_token?: string;
3027
+ /** Data format for response. */
3028
+ alt?: string;
3029
+ /** JSONP */
3030
+ callback?: string;
3031
+ /** Selector specifying which fields to include in a partial response. */
3032
+ fields?: string;
3033
+ /** 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. */
3034
+ key?: string;
3035
+ /** OAuth 2.0 token for the current user. */
3036
+ oauth_token?: string;
3037
+ /** Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}` */
3038
+ parent: string;
3039
+ /** Returns response with indentations and line breaks. */
3040
+ prettyPrint?: boolean;
3041
+ /** 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. */
3042
+ quotaUser?: string;
3043
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3044
+ upload_protocol?: string;
3045
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3046
+ uploadType?: string;
3047
+ },
3048
+ body: CuratedPackage,
3049
+ ): Request<CuratedPackage>;
3050
+ /** Deactivates an existing curated package. */
3051
+ deactivate(request: {
3052
+ /** V1 error format. */
3053
+ '$.xgafv'?: string;
3054
+ /** OAuth access token. */
3055
+ access_token?: string;
3056
+ /** Data format for response. */
3057
+ alt?: string;
3058
+ /** JSONP */
3059
+ callback?: string;
3060
+ /** Selector specifying which fields to include in a partial response. */
3061
+ fields?: string;
3062
+ /** 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. */
3063
+ key?: string;
3064
+ /** Required. The name of the curated package to deactivate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
3065
+ name: string;
3066
+ /** OAuth 2.0 token for the current user. */
3067
+ oauth_token?: string;
3068
+ /** Returns response with indentations and line breaks. */
3069
+ prettyPrint?: boolean;
3070
+ /** 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. */
3071
+ quotaUser?: string;
3072
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3073
+ upload_protocol?: string;
3074
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3075
+ uploadType?: string;
3076
+ /** Request body */
3077
+ resource: DeactivateCuratedPackageRequest;
3078
+ }): Request<CuratedPackage>;
3079
+ deactivate(
3080
+ request: {
3081
+ /** V1 error format. */
3082
+ '$.xgafv'?: string;
3083
+ /** OAuth access token. */
3084
+ access_token?: string;
3085
+ /** Data format for response. */
3086
+ alt?: string;
3087
+ /** JSONP */
3088
+ callback?: string;
3089
+ /** Selector specifying which fields to include in a partial response. */
3090
+ fields?: string;
3091
+ /** 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. */
3092
+ key?: string;
3093
+ /** Required. The name of the curated package to deactivate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
3094
+ name: string;
3095
+ /** OAuth 2.0 token for the current user. */
3096
+ oauth_token?: string;
3097
+ /** Returns response with indentations and line breaks. */
3098
+ prettyPrint?: boolean;
3099
+ /** 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. */
3100
+ quotaUser?: string;
3101
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3102
+ upload_protocol?: string;
3103
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3104
+ uploadType?: string;
3105
+ },
3106
+ body: DeactivateCuratedPackageRequest,
3107
+ ): Request<CuratedPackage>;
3108
+ /** Gets a curated package given its resource name. */
3109
+ get(request?: {
3110
+ /** V1 error format. */
3111
+ '$.xgafv'?: string;
3112
+ /** OAuth access token. */
3113
+ access_token?: string;
3114
+ /** Data format for response. */
3115
+ alt?: string;
3116
+ /** JSONP */
3117
+ callback?: string;
3118
+ /** Selector specifying which fields to include in a partial response. */
3119
+ fields?: string;
3120
+ /** 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. */
3121
+ key?: string;
3122
+ /** Required. The name of the curated package to retrieve. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
3123
+ name: string;
3124
+ /** OAuth 2.0 token for the current user. */
3125
+ oauth_token?: string;
3126
+ /** Returns response with indentations and line breaks. */
3127
+ prettyPrint?: boolean;
3128
+ /** 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. */
3129
+ quotaUser?: string;
3130
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3131
+ upload_protocol?: string;
3132
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3133
+ uploadType?: string;
3134
+ }): Request<CuratedPackage>;
3135
+ /** Lists curated packages owned by the specified curator. */
3136
+ list(request?: {
3137
+ /** V1 error format. */
3138
+ '$.xgafv'?: string;
3139
+ /** OAuth access token. */
3140
+ access_token?: string;
3141
+ /** Data format for response. */
3142
+ alt?: string;
3143
+ /** JSONP */
3144
+ callback?: string;
3145
+ /** Selector specifying which fields to include in a partial response. */
3146
+ fields?: string;
3147
+ /** 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 */
3148
+ filter?: string;
3149
+ /** 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. */
3150
+ key?: string;
3151
+ /** OAuth 2.0 token for the current user. */
3152
+ oauth_token?: string;
3153
+ /** 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. */
3154
+ pageSize?: number;
3155
+ /** Optional. A page token, received from a previous `ListCuratedPackages` call. Provide this to retrieve the subsequent page. */
3156
+ pageToken?: string;
3157
+ /** Required. The parent curator account which owns this collection of curated packages. Format: `curators/{accountId}` */
3158
+ parent: string;
3159
+ /** Returns response with indentations and line breaks. */
3160
+ prettyPrint?: boolean;
3161
+ /** 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. */
3162
+ quotaUser?: string;
3163
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3164
+ upload_protocol?: string;
3165
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3166
+ uploadType?: string;
3167
+ }): Request<ListCuratedPackagesResponse>;
3168
+ /** Updates an existing curated package. */
3169
+ patch(request: {
3170
+ /** V1 error format. */
3171
+ '$.xgafv'?: string;
3172
+ /** OAuth access token. */
3173
+ access_token?: string;
3174
+ /** Data format for response. */
3175
+ alt?: string;
3176
+ /** JSONP */
3177
+ callback?: string;
3178
+ /** Selector specifying which fields to include in a partial response. */
3179
+ fields?: string;
3180
+ /** 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. */
3181
+ key?: string;
3182
+ /** Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
3183
+ name: string;
3184
+ /** OAuth 2.0 token for the current user. */
3185
+ oauth_token?: string;
3186
+ /** Returns response with indentations and line breaks. */
3187
+ prettyPrint?: boolean;
3188
+ /** 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. */
3189
+ quotaUser?: string;
3190
+ /** 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. */
3191
+ updateMask?: string;
3192
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3193
+ upload_protocol?: string;
3194
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3195
+ uploadType?: string;
3196
+ /** Request body */
3197
+ resource: CuratedPackage;
3198
+ }): Request<CuratedPackage>;
3199
+ patch(
3200
+ request: {
3201
+ /** V1 error format. */
3202
+ '$.xgafv'?: string;
3203
+ /** OAuth access token. */
3204
+ access_token?: string;
3205
+ /** Data format for response. */
3206
+ alt?: string;
3207
+ /** JSONP */
3208
+ callback?: string;
3209
+ /** Selector specifying which fields to include in a partial response. */
3210
+ fields?: string;
3211
+ /** 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. */
3212
+ key?: string;
3213
+ /** Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}` */
3214
+ name: string;
3215
+ /** OAuth 2.0 token for the current user. */
3216
+ oauth_token?: string;
3217
+ /** Returns response with indentations and line breaks. */
3218
+ prettyPrint?: boolean;
3219
+ /** 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. */
3220
+ quotaUser?: string;
3221
+ /** 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. */
3222
+ updateMask?: string;
3223
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3224
+ upload_protocol?: string;
3225
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3226
+ uploadType?: string;
3227
+ },
3228
+ body: CuratedPackage,
3229
+ ): Request<CuratedPackage>;
3230
+ }
3231
+ interface CuratorsResource {
3232
+ curatedPackages: CuratedPackagesResource;
3233
+ }
3234
+ interface MediaPlannersResource {
3235
+ /** 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. */
3236
+ list(request?: {
3237
+ /** V1 error format. */
3238
+ '$.xgafv'?: string;
3239
+ /** OAuth access token. */
3240
+ access_token?: string;
3241
+ /** Data format for response. */
3242
+ alt?: string;
3243
+ /** JSONP */
3244
+ callback?: string;
3245
+ /** Selector specifying which fields to include in a partial response. */
3246
+ fields?: string;
3247
+ /** Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * `name` * `displayName` * `ancestorNames` */
3248
+ filter?: string;
3249
+ /** 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. */
3250
+ key?: string;
3251
+ /** OAuth 2.0 token for the current user. */
3252
+ oauth_token?: string;
3253
+ /** 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. */
3254
+ pageSize?: number;
3255
+ /** A token identifying a page of results the server should return. This value is received from a previous `ListMediaPlanners` call in ListMediaPlannersResponse.nextPageToken. */
3256
+ pageToken?: string;
3257
+ /** Returns response with indentations and line breaks. */
3258
+ prettyPrint?: boolean;
3259
+ /** 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. */
3260
+ quotaUser?: string;
3261
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3262
+ upload_protocol?: string;
3263
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3264
+ uploadType?: string;
3265
+ }): Request<ListMediaPlannersResponse>;
3266
+ }
2787
3267
 
2788
3268
  const bidders: BiddersResource;
2789
3269
 
2790
3270
  const buyers: BuyersResource;
3271
+
3272
+ const curators: CuratorsResource;
3273
+
3274
+ const mediaPlanners: MediaPlannersResource;
2791
3275
  }
2792
3276
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.authorizedbuyersmarketplace-v1alpha",
3
- "version": "0.1.20251204",
3
+ "version": "0.1.20251211",
4
4
  "description": "TypeScript typings for Authorized Buyers Marketplace API v1alpha",
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-v1alpha#Provenance:~:text=none-,Provenance,-Built%20and%20signed)