@maxim_mazurok/gapi.client.displayvideo-v3 0.0.20250410 → 0.0.20250424

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 +35 -13
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
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: 20250410
12
+ // Revision: 20250424
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -109,9 +109,9 @@ declare namespace gapi.client {
109
109
  debatedSensitiveSocialIssueContent?: string;
110
110
  /** Optional. IAB viewability threshold for display ads. */
111
111
  displayIabViewability?: string;
112
- /** Adloox categories to exclude. */
112
+ /** Scope3 categories to exclude. */
113
113
  excludedAdlooxCategories?: string[];
114
- /** Optional. Adloox's fraud IVT MFA categories to exclude. */
114
+ /** Optional. Scope3's fraud IVT MFA categories to exclude. */
115
115
  excludedFraudIvtMfaCategories?: string[];
116
116
  /** Optional. Hate Speech and Acts of Aggression Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude. */
117
117
  hateSpeechActsAggressionContent?: string;
@@ -217,8 +217,12 @@ declare namespace gapi.client {
217
217
  ageRange?: string;
218
218
  }
219
219
  interface AlgorithmRules {
220
+ /** Attribution model for the algorithm. */
221
+ attributionModelId?: string;
220
222
  /** Rules for the impression signals. */
221
223
  impressionSignalRuleset?: AlgorithmRulesRuleset;
224
+ /** Rules for the post-impression signals. */
225
+ postImpressionSignalRuleset?: AlgorithmRulesRuleset;
222
226
  }
223
227
  interface AlgorithmRulesComparisonValue {
224
228
  /** Boolean value. */
@@ -241,6 +245,16 @@ declare namespace gapi.client {
241
245
  onScreenPositionValue?: string;
242
246
  /** String value. */
243
247
  stringValue?: string;
248
+ /** Video player size value. */
249
+ videoPlayerSizeValue?: string;
250
+ }
251
+ interface AlgorithmRulesFloodlightActivityConversionSignal {
252
+ /** Required. The type of conversions to be used in impression value computation, for example, post-click conversions. */
253
+ conversionCounting?: string;
254
+ /** Required. The way to acquire value from the floodlight activity, for example, count of the conversion. */
255
+ countingMethod?: string;
256
+ /** Required. Id of the floodlight activity. */
257
+ floodlightActivityId?: string;
244
258
  }
245
259
  interface AlgorithmRulesRule {
246
260
  /** List of conditions in this rule. The criteria among conditions should be mutually exclusive. */
@@ -263,6 +277,10 @@ declare namespace gapi.client {
263
277
  rules?: AlgorithmRulesRule[];
264
278
  }
265
279
  interface AlgorithmRulesSignal {
280
+ /** Signal based on active views. */
281
+ activeViewSignal?: string;
282
+ /** Signal based on clicks. */
283
+ clickSignal?: string;
266
284
  /** Signal based on impressions. */
267
285
  impressionSignal?: string;
268
286
  }
@@ -275,6 +293,10 @@ declare namespace gapi.client {
275
293
  signal?: AlgorithmRulesSignal;
276
294
  }
277
295
  interface AlgorithmRulesSignalValue {
296
+ /** Signal based on active views. Only `TIME_ON_SCREEN` is supported. */
297
+ activeViewSignal?: string;
298
+ /** Signal based on floodlight conversion events. */
299
+ floodlightActivityConversionSignal?: AlgorithmRulesFloodlightActivityConversionSignal;
278
300
  /** Value to use as result. */
279
301
  number?: number;
280
302
  }
@@ -967,7 +989,7 @@ declare namespace gapi.client {
967
989
  contentTheme?: string;
968
990
  }
969
991
  interface ConversionCountingConfig {
970
- /** The Floodlight activity configs used to track conversions. The number of conversions counted is the sum of all of the conversions counted by all of the Floodlight activity IDs specified in this field. *Warning*: Starting **April 1, 2025**, this field will no longer be writable while a custom bidding algorithm is assigned to the line item. If you set this field and assign a custom bidding algorithm in the same request, the floodlight activities must match the ones used by the custom bidding algorithm. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
992
+ /** The Floodlight activity configs used to track conversions. The number of conversions counted is the sum of all of the conversions counted by all of the Floodlight activity IDs specified in this field. This field can't be updated if a custom bidding algorithm is assigned to the line item. If you set this field and assign a custom bidding algorithm in the same request, the floodlight activities must match the ones used by the custom bidding algorithm. */
971
993
  floodlightActivityConfigs?: TrackingFloodlightActivityConfig[];
972
994
  /** The percentage of post-view conversions to count, in millis (1/1000 of a percent). Must be between 0 and 100000 inclusive. For example, to track 50% of the post-click conversions, set a value of 50000. */
973
995
  postViewCountPercentageMillis?: string;
@@ -1466,7 +1488,7 @@ declare namespace gapi.client {
1466
1488
  firstAndThirdPartyAudienceType?: string;
1467
1489
  /** Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request. */
1468
1490
  gmailAudienceSize?: string;
1469
- /** The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` *Warning*: Starting on **April 7, 2025**, audiences will no longer be able to have infinite membership duration. This field will no longer accept the value 10000 and all audiences with membership durations greater than 540 days will be updated to a membership duration of 540 days. [Read more about this announced change](/display-video/api/deprecations#features.audience_duration). */
1491
+ /** The duration in days that an entry remains in the audience after the qualifying event. The set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` */
1470
1492
  membershipDurationDays?: string;
1471
1493
  /** Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID` */
1472
1494
  mobileDeviceIdList?: MobileDeviceIdList;
@@ -1940,7 +1962,7 @@ declare namespace gapi.client {
1940
1962
  budget?: LineItemBudget;
1941
1963
  /** Output only. The unique ID of the campaign that the line item belongs to. */
1942
1964
  campaignId?: string;
1943
- /** The conversion tracking setting of the line item. *Warning*: Starting **April 1, 2025**, the floodlight_activity_configs field will no longer be writable while a custom bidding algorithm is assigned to the line item. If you set this field and assign a custom bidding algorithm in the same request, the floodlight activities must match the ones used by the custom bidding algorithm. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
1965
+ /** The conversion tracking setting of the line item. */
1944
1966
  conversionCounting?: ConversionCountingConfig;
1945
1967
  /** The IDs of the creatives associated with the line item. */
1946
1968
  creativeIds?: string[];
@@ -2260,7 +2282,7 @@ declare namespace gapi.client {
2260
2282
  videoAspectRatio?: string;
2261
2283
  }
2262
2284
  interface MaximizeSpendBidStrategy {
2263
- /** The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. *Warning*: Starting **April 1, 2025**, assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
2285
+ /** The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error. */
2264
2286
  customBiddingAlgorithmId?: string;
2265
2287
  /** The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the currency. */
2266
2288
  maxAverageCpmBidAmountMicros?: string;
@@ -2492,7 +2514,7 @@ declare namespace gapi.client {
2492
2514
  performanceGoalType?: string;
2493
2515
  }
2494
2516
  interface PerformanceGoalBidStrategy {
2495
- /** The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. *Warning*: Starting **April 1, 2025**, assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
2517
+ /** The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error. */
2496
2518
  customBiddingAlgorithmId?: string;
2497
2519
  /** The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. Not applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`. For example, 1500000 represents 1.5 standard units of the currency. */
2498
2520
  maxAverageCpmBidAmountMicros?: string;
@@ -2826,7 +2848,7 @@ declare namespace gapi.client {
2826
2848
  vendor?: string;
2827
2849
  }
2828
2850
  interface ThirdPartyVerifierAssignedTargetingOptionDetails {
2829
- /** Third party brand verifier -- Adloox. */
2851
+ /** Third party brand verifier -- Scope3 (previously known as Adloox). */
2830
2852
  adloox?: Adloox;
2831
2853
  /** Third party brand verifier -- DoubleVerify. */
2832
2854
  doubleVerify?: DoubleVerify;
@@ -6967,7 +6989,7 @@ declare namespace gapi.client {
6967
6989
  }): Request<ListCombinedAudiencesResponse>;
6968
6990
  }
6969
6991
  interface RulesResource {
6970
- /** Creates a new rules resource. Returns the newly created rules resource if successful. *Warning*: Starting **April 1, 2025**, requests updating custom bidding algorithms that are assigned to line items will return an error. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
6992
+ /** Creates a new rules resource. Returns the newly created rules resource if successful. Requests creating a custom bidding rules resource under an algorithm assigned to a line item will return an error. */
6971
6993
  create(request: {
6972
6994
  /** V1 error format. */
6973
6995
  '$.xgafv'?: string;
@@ -7105,7 +7127,7 @@ declare namespace gapi.client {
7105
7127
  }): Request<ListCustomBiddingAlgorithmRulesResponse>;
7106
7128
  }
7107
7129
  interface ScriptsResource {
7108
- /** Creates a new custom bidding script. Returns the newly created script if successful. *Warning*: Starting **April 1, 2025**, requests updating custom bidding algorithms that are assigned to line items will return an error. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
7130
+ /** Creates a new custom bidding script. Returns the newly created script if successful. Requests creating a custom bidding script under an algorithm assigned to a line item will return an error. */
7109
7131
  create(request: {
7110
7132
  /** V1 error format. */
7111
7133
  '$.xgafv'?: string;
@@ -7365,7 +7387,7 @@ declare namespace gapi.client {
7365
7387
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7366
7388
  uploadType?: string;
7367
7389
  }): Request<ListCustomBiddingAlgorithmsResponse>;
7368
- /** Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. *Warning*: Starting **April 1, 2025**, requests updating custom bidding algorithms that are assigned to line items will return an error. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight). */
7390
+ /** Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Requests updating a custom bidding algorithm assigned to a line item will return an error. */
7369
7391
  patch(request: {
7370
7392
  /** V1 error format. */
7371
7393
  '$.xgafv'?: string;
@@ -9870,7 +9892,7 @@ declare namespace gapi.client {
9870
9892
  }): Request<Operation>;
9871
9893
  }
9872
9894
  interface SdfdownloadtasksResource {
9873
- /** Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with sdfdownloadtask.operations.get. Any errors can be found in the error.message. Note that error.details is expected to be empty. */
9895
+ /** Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with `sdfdownloadtasks.operations.get`. Any errors can be found in the error.message. Note that error.details is expected to be empty. */
9874
9896
  create(request: {
9875
9897
  /** V1 error format. */
9876
9898
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.displayvideo-v3",
3
- "version": "0.0.20250410",
3
+ "version": "0.0.20250424",
4
4
  "description": "TypeScript typings for Display & Video 360 API v3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -158,7 +158,7 @@ Lists custom bidding algorithms that are accessible to the current user and can
158
158
  await gapi.client.displayvideo.customBiddingAlgorithms.list({});
159
159
 
160
160
  /*
161
- Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. *Warning*: Starting **April 1, 2025**, requests updating custom bidding algorithms that are assigned to line items will return an error. [Read more about this announced change](/display-video/api/deprecations#features.custom_bidding_floodlight).
161
+ Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Requests updating a custom bidding algorithm assigned to a line item will return an error.
162
162
  */
163
163
  await gapi.client.displayvideo.customBiddingAlgorithms.patch({
164
164
  customBiddingAlgorithmId: 'customBiddingAlgorithmId',
@@ -366,7 +366,7 @@ Lists partners that are accessible to the current user. The order is defined by
366
366
  await gapi.client.displayvideo.partners.list({});
367
367
 
368
368
  /*
369
- Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with sdfdownloadtask.operations.get. Any errors can be found in the error.message. Note that error.details is expected to be empty.
369
+ Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with `sdfdownloadtasks.operations.get`. Any errors can be found in the error.message. Note that error.details is expected to be empty.
370
370
  */
371
371
  await gapi.client.displayvideo.sdfdownloadtasks.create({});
372
372