@maxim_mazurok/gapi.client.displayvideo-v3 0.1.20251118 → 0.1.20251204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +1 -424
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://displayvideo.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20251118
12
+ // Revision: 20251204
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -851,18 +851,6 @@ declare namespace gapi.client {
851
851
  /** A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to `BulkListAssignedTargetingOptions` to fetch the next page of results. This token will be absent if there are no more line_item_assigned_targeting_options to return. */
852
852
  nextPageToken?: string;
853
853
  }
854
- interface BulkListCampaignAssignedTargetingOptionsResponse {
855
- /** The list of assigned targeting options. This list will be absent if empty. */
856
- assignedTargetingOptions?: AssignedTargetingOption[];
857
- /** A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return. */
858
- nextPageToken?: string;
859
- }
860
- interface BulkListInsertionOrderAssignedTargetingOptionsResponse {
861
- /** The list of assigned targeting options. This list will be absent if empty. */
862
- assignedTargetingOptions?: AssignedTargetingOption[];
863
- /** A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return. */
864
- nextPageToken?: string;
865
- }
866
854
  interface BulkUpdateLineItemsRequest {
867
855
  /** Required. IDs of line items to update. */
868
856
  lineItemIds?: string[];
@@ -1736,18 +1724,6 @@ declare namespace gapi.client {
1736
1724
  /** Output only. The gender of an audience. */
1737
1725
  gender?: string;
1738
1726
  }
1739
- interface GenerateDefaultLineItemRequest {
1740
- /** Whether this line item will serve European Union political ads. If contains_eu_political_ads has been set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. This field can then be updated using the UI, API, or Structured Data Files. This field must be assigned when creating a new line item. Otherwise, **the `advertisers.lineItems.create` request will fail**. */
1741
- containsEuPoliticalAds?: string;
1742
- /** Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes. */
1743
- displayName?: string;
1744
- /** Required. The unique ID of the insertion order that the line item belongs to. */
1745
- insertionOrderId?: string;
1746
- /** Required. The type of the line item. */
1747
- lineItemType?: string;
1748
- /** The mobile app promoted by the line item. This is applicable only when line_item_type is either `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`. */
1749
- mobileApp?: MobileApp;
1750
- }
1751
1727
  interface GeoRegionAssignedTargetingOptionDetails {
1752
1728
  /** Output only. The display name of the geographic region (e.g., "Ontario, Canada"). */
1753
1729
  displayName?: string;
@@ -2242,12 +2218,6 @@ declare namespace gapi.client {
2242
2218
  /** A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedLocations` method to retrieve the next page of results. */
2243
2219
  nextPageToken?: string;
2244
2220
  }
2245
- interface ListCampaignAssignedTargetingOptionsResponse {
2246
- /** The list of assigned targeting options. This list will be absent if empty. */
2247
- assignedTargetingOptions?: AssignedTargetingOption[];
2248
- /** A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return. */
2249
- nextPageToken?: string;
2250
- }
2251
2221
  interface ListCampaignsResponse {
2252
2222
  /** The list of campaigns. This list will be absent if empty. */
2253
2223
  campaigns?: Campaign[];
@@ -2320,12 +2290,6 @@ declare namespace gapi.client {
2320
2290
  /** A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGuaranteedOrders` method to retrieve the next page of results. */
2321
2291
  nextPageToken?: string;
2322
2292
  }
2323
- interface ListInsertionOrderAssignedTargetingOptionsResponse {
2324
- /** The list of assigned targeting options. This list will be absent if empty. */
2325
- assignedTargetingOptions?: AssignedTargetingOption[];
2326
- /** A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return. */
2327
- nextPageToken?: string;
2328
- }
2329
2293
  interface ListInsertionOrdersResponse {
2330
2294
  /** The list of insertion orders. This list will be absent if empty. */
2331
2295
  insertionOrders?: InsertionOrder[];
@@ -3551,83 +3515,6 @@ declare namespace gapi.client {
3551
3515
  body: CreateAssetRequest,
3552
3516
  ): Request<CreateAssetResponse>;
3553
3517
  }
3554
- interface AssignedTargetingOptionsResource {
3555
- /** Gets a single targeting option assigned to a campaign. */
3556
- get(request?: {
3557
- /** V1 error format. */
3558
- '$.xgafv'?: string;
3559
- /** OAuth access token. */
3560
- access_token?: string;
3561
- /** Required. The ID of the advertiser the campaign belongs to. */
3562
- advertiserId: string;
3563
- /** Data format for response. */
3564
- alt?: string;
3565
- /** Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested. */
3566
- assignedTargetingOptionId: string;
3567
- /** JSONP */
3568
- callback?: string;
3569
- /** Required. The ID of the campaign the assigned targeting option belongs to. */
3570
- campaignId: string;
3571
- /** Selector specifying which fields to include in a partial response. */
3572
- fields?: string;
3573
- /** 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. */
3574
- key?: string;
3575
- /** OAuth 2.0 token for the current user. */
3576
- oauth_token?: string;
3577
- /** Returns response with indentations and line breaks. */
3578
- prettyPrint?: boolean;
3579
- /** 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. */
3580
- quotaUser?: string;
3581
- /** Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` */
3582
- targetingType: string;
3583
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3584
- upload_protocol?: string;
3585
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3586
- uploadType?: string;
3587
- }): Request<AssignedTargetingOption>;
3588
- /** Lists the targeting options assigned to a campaign for a specified targeting type. */
3589
- list(request?: {
3590
- /** V1 error format. */
3591
- '$.xgafv'?: string;
3592
- /** OAuth access token. */
3593
- access_token?: string;
3594
- /** Required. The ID of the advertiser the campaign belongs to. */
3595
- advertiserId: string;
3596
- /** Data format for response. */
3597
- alt?: string;
3598
- /** JSONP */
3599
- callback?: string;
3600
- /** Required. The ID of the campaign to list assigned targeting options for. */
3601
- campaignId: string;
3602
- /** Selector specifying which fields to include in a partial response. */
3603
- fields?: string;
3604
- /** Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information. */
3605
- filter?: string;
3606
- /** 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. */
3607
- key?: string;
3608
- /** OAuth 2.0 token for the current user. */
3609
- oauth_token?: string;
3610
- /** Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `assignedTargetingOptionId desc`. */
3611
- orderBy?: string;
3612
- /** Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
3613
- pageSize?: number;
3614
- /** A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned. */
3615
- pageToken?: string;
3616
- /** Returns response with indentations and line breaks. */
3617
- prettyPrint?: boolean;
3618
- /** 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. */
3619
- quotaUser?: string;
3620
- /** Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` */
3621
- targetingType: string;
3622
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3623
- upload_protocol?: string;
3624
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3625
- uploadType?: string;
3626
- }): Request<ListCampaignAssignedTargetingOptionsResponse>;
3627
- }
3628
- interface TargetingTypesResource {
3629
- assignedTargetingOptions: AssignedTargetingOptionsResource;
3630
- }
3631
3518
  interface CampaignsResource {
3632
3519
  /** Creates a new campaign. Returns the newly created campaign if successful. */
3633
3520
  create(request: {
@@ -3780,43 +3667,6 @@ declare namespace gapi.client {
3780
3667
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3781
3668
  uploadType?: string;
3782
3669
  }): Request<ListCampaignsResponse>;
3783
- /** Lists assigned targeting options of a campaign across targeting types. */
3784
- listAssignedTargetingOptions(request?: {
3785
- /** V1 error format. */
3786
- '$.xgafv'?: string;
3787
- /** OAuth access token. */
3788
- access_token?: string;
3789
- /** Required. The ID of the advertiser the campaign belongs to. */
3790
- advertiserId: string;
3791
- /** Data format for response. */
3792
- alt?: string;
3793
- /** JSONP */
3794
- callback?: string;
3795
- /** Required. The ID of the campaign to list assigned targeting options for. */
3796
- campaignId: string;
3797
- /** Selector specifying which fields to include in a partial response. */
3798
- fields?: string;
3799
- /** Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`: `targetingType="TARGETING_TYPE_LANGUAGE" OR targetingType="TARGETING_TYPE_GENDER"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information. */
3800
- filter?: string;
3801
- /** 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. */
3802
- key?: string;
3803
- /** OAuth 2.0 token for the current user. */
3804
- oauth_token?: string;
3805
- /** Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `targetingType desc`. */
3806
- orderBy?: string;
3807
- /** Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
3808
- pageSize?: number;
3809
- /** A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned. */
3810
- pageToken?: string;
3811
- /** Returns response with indentations and line breaks. */
3812
- prettyPrint?: boolean;
3813
- /** 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. */
3814
- quotaUser?: string;
3815
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3816
- upload_protocol?: string;
3817
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3818
- uploadType?: string;
3819
- }): Request<BulkListCampaignAssignedTargetingOptionsResponse>;
3820
3670
  /** Updates an existing campaign. Returns the updated campaign if successful. */
3821
3671
  patch(request: {
3822
3672
  /** V1 error format. */
@@ -3883,7 +3733,6 @@ declare namespace gapi.client {
3883
3733
  },
3884
3734
  body: Campaign,
3885
3735
  ): Request<Campaign>;
3886
- targetingTypes: TargetingTypesResource;
3887
3736
  }
3888
3737
  interface SitesResource {
3889
3738
  /** Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites. */
@@ -4571,182 +4420,6 @@ declare namespace gapi.client {
4571
4420
  body: Creative,
4572
4421
  ): Request<Creative>;
4573
4422
  }
4574
- interface AssignedTargetingOptionsResource {
4575
- /** Assigns a targeting option to an insertion order. Returns the assigned targeting option if successful. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` */
4576
- create(request: {
4577
- /** V1 error format. */
4578
- '$.xgafv'?: string;
4579
- /** OAuth access token. */
4580
- access_token?: string;
4581
- /** Required. The ID of the advertiser the insertion order belongs to. */
4582
- advertiserId: string;
4583
- /** Data format for response. */
4584
- alt?: string;
4585
- /** JSONP */
4586
- callback?: string;
4587
- /** Selector specifying which fields to include in a partial response. */
4588
- fields?: string;
4589
- /** Required. The ID of the insertion order the assigned targeting option will belong to. */
4590
- insertionOrderId: string;
4591
- /** 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. */
4592
- key?: string;
4593
- /** OAuth 2.0 token for the current user. */
4594
- oauth_token?: string;
4595
- /** Returns response with indentations and line breaks. */
4596
- prettyPrint?: boolean;
4597
- /** 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. */
4598
- quotaUser?: string;
4599
- /** Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` */
4600
- targetingType: string;
4601
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4602
- upload_protocol?: string;
4603
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4604
- uploadType?: string;
4605
- /** Request body */
4606
- resource: AssignedTargetingOption;
4607
- }): Request<AssignedTargetingOption>;
4608
- create(
4609
- request: {
4610
- /** V1 error format. */
4611
- '$.xgafv'?: string;
4612
- /** OAuth access token. */
4613
- access_token?: string;
4614
- /** Required. The ID of the advertiser the insertion order belongs to. */
4615
- advertiserId: string;
4616
- /** Data format for response. */
4617
- alt?: string;
4618
- /** JSONP */
4619
- callback?: string;
4620
- /** Selector specifying which fields to include in a partial response. */
4621
- fields?: string;
4622
- /** Required. The ID of the insertion order the assigned targeting option will belong to. */
4623
- insertionOrderId: string;
4624
- /** 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. */
4625
- key?: string;
4626
- /** OAuth 2.0 token for the current user. */
4627
- oauth_token?: string;
4628
- /** Returns response with indentations and line breaks. */
4629
- prettyPrint?: boolean;
4630
- /** 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. */
4631
- quotaUser?: string;
4632
- /** Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` */
4633
- targetingType: string;
4634
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4635
- upload_protocol?: string;
4636
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4637
- uploadType?: string;
4638
- },
4639
- body: AssignedTargetingOption,
4640
- ): Request<AssignedTargetingOption>;
4641
- /** Deletes an assigned targeting option from an insertion order. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` */
4642
- delete(request?: {
4643
- /** V1 error format. */
4644
- '$.xgafv'?: string;
4645
- /** OAuth access token. */
4646
- access_token?: string;
4647
- /** Required. The ID of the advertiser the insertion order belongs to. */
4648
- advertiserId: string;
4649
- /** Data format for response. */
4650
- alt?: string;
4651
- /** Required. The ID of the assigned targeting option to delete. */
4652
- assignedTargetingOptionId: string;
4653
- /** JSONP */
4654
- callback?: string;
4655
- /** Selector specifying which fields to include in a partial response. */
4656
- fields?: string;
4657
- /** Required. The ID of the insertion order the assigned targeting option belongs to. */
4658
- insertionOrderId: string;
4659
- /** 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. */
4660
- key?: string;
4661
- /** OAuth 2.0 token for the current user. */
4662
- oauth_token?: string;
4663
- /** Returns response with indentations and line breaks. */
4664
- prettyPrint?: boolean;
4665
- /** 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. */
4666
- quotaUser?: string;
4667
- /** Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` */
4668
- targetingType: string;
4669
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4670
- upload_protocol?: string;
4671
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4672
- uploadType?: string;
4673
- }): Request<{}>;
4674
- /** Gets a single targeting option assigned to an insertion order. */
4675
- get(request?: {
4676
- /** V1 error format. */
4677
- '$.xgafv'?: string;
4678
- /** OAuth access token. */
4679
- access_token?: string;
4680
- /** Required. The ID of the advertiser the insertion order belongs to. */
4681
- advertiserId: string;
4682
- /** Data format for response. */
4683
- alt?: string;
4684
- /** Required. An identifier unique to the targeting type in this insertion order that identifies the assigned targeting option being requested. */
4685
- assignedTargetingOptionId: string;
4686
- /** JSONP */
4687
- callback?: string;
4688
- /** Selector specifying which fields to include in a partial response. */
4689
- fields?: string;
4690
- /** Required. The ID of the insertion order the assigned targeting option belongs to. */
4691
- insertionOrderId: string;
4692
- /** 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. */
4693
- key?: string;
4694
- /** OAuth 2.0 token for the current user. */
4695
- oauth_token?: string;
4696
- /** Returns response with indentations and line breaks. */
4697
- prettyPrint?: boolean;
4698
- /** 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. */
4699
- quotaUser?: string;
4700
- /** Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` */
4701
- targetingType: string;
4702
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4703
- upload_protocol?: string;
4704
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4705
- uploadType?: string;
4706
- }): Request<AssignedTargetingOption>;
4707
- /** Lists the targeting options assigned to an insertion order. */
4708
- list(request?: {
4709
- /** V1 error format. */
4710
- '$.xgafv'?: string;
4711
- /** OAuth access token. */
4712
- access_token?: string;
4713
- /** Required. The ID of the advertiser the insertion order belongs to. */
4714
- advertiserId: string;
4715
- /** Data format for response. */
4716
- alt?: string;
4717
- /** JSONP */
4718
- callback?: string;
4719
- /** Selector specifying which fields to include in a partial response. */
4720
- fields?: string;
4721
- /** Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information. */
4722
- filter?: string;
4723
- /** Required. The ID of the insertion order to list assigned targeting options for. */
4724
- insertionOrderId: string;
4725
- /** 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. */
4726
- key?: string;
4727
- /** OAuth 2.0 token for the current user. */
4728
- oauth_token?: string;
4729
- /** Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `assignedTargetingOptionId desc`. */
4730
- orderBy?: string;
4731
- /** Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
4732
- pageSize?: number;
4733
- /** A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned. */
4734
- pageToken?: string;
4735
- /** Returns response with indentations and line breaks. */
4736
- prettyPrint?: boolean;
4737
- /** 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. */
4738
- quotaUser?: string;
4739
- /** Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` */
4740
- targetingType: string;
4741
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4742
- upload_protocol?: string;
4743
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4744
- uploadType?: string;
4745
- }): Request<ListInsertionOrderAssignedTargetingOptionsResponse>;
4746
- }
4747
- interface TargetingTypesResource {
4748
- assignedTargetingOptions: AssignedTargetingOptionsResource;
4749
- }
4750
4423
  interface InsertionOrdersResource {
4751
4424
  /** Creates a new insertion order. Returns the newly created insertion order if successful. */
4752
4425
  create(request: {
@@ -4899,43 +4572,6 @@ declare namespace gapi.client {
4899
4572
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4900
4573
  uploadType?: string;
4901
4574
  }): Request<ListInsertionOrdersResponse>;
4902
- /** Lists assigned targeting options of an insertion order across targeting types. */
4903
- listAssignedTargetingOptions(request?: {
4904
- /** V1 error format. */
4905
- '$.xgafv'?: string;
4906
- /** OAuth access token. */
4907
- access_token?: string;
4908
- /** Required. The ID of the advertiser the insertion order belongs to. */
4909
- advertiserId: string;
4910
- /** Data format for response. */
4911
- alt?: string;
4912
- /** JSONP */
4913
- callback?: string;
4914
- /** Selector specifying which fields to include in a partial response. */
4915
- fields?: string;
4916
- /** Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="TARGETING_TYPE_CHANNEL"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information. */
4917
- filter?: string;
4918
- /** Required. The ID of the insertion order to list assigned targeting options for. */
4919
- insertionOrderId: string;
4920
- /** 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. */
4921
- key?: string;
4922
- /** OAuth 2.0 token for the current user. */
4923
- oauth_token?: string;
4924
- /** Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `targetingType desc`. */
4925
- orderBy?: string;
4926
- /** Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
4927
- pageSize?: number;
4928
- /** A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned. */
4929
- pageToken?: string;
4930
- /** Returns response with indentations and line breaks. */
4931
- prettyPrint?: boolean;
4932
- /** 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. */
4933
- quotaUser?: string;
4934
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4935
- upload_protocol?: string;
4936
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4937
- uploadType?: string;
4938
- }): Request<BulkListInsertionOrderAssignedTargetingOptionsResponse>;
4939
4575
  /** Updates an existing insertion order. Returns the updated insertion order if successful. */
4940
4576
  patch(request: {
4941
4577
  /** V1 error format. */
@@ -5002,7 +4638,6 @@ declare namespace gapi.client {
5002
4638
  },
5003
4639
  body: InsertionOrder,
5004
4640
  ): Request<InsertionOrder>;
5005
- targetingTypes: TargetingTypesResource;
5006
4641
  }
5007
4642
  interface InvoicesResource {
5008
4643
  /** Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a "Partner" invoice level are not retrievable through this method. */
@@ -5549,64 +5184,6 @@ declare namespace gapi.client {
5549
5184
  },
5550
5185
  body: DuplicateLineItemRequest,
5551
5186
  ): Request<DuplicateLineItemResponse>;
5552
- /** Creates a new line item with settings (including targeting) inherited from the insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly created line item if successful. There are default values based on the three fields: * The insertion order's insertion_order_type * The insertion order's automation_type * The given line_item_type YouTube & Partners line items cannot be created or updated using the API. */
5553
- generateDefault(request: {
5554
- /** V1 error format. */
5555
- '$.xgafv'?: string;
5556
- /** OAuth access token. */
5557
- access_token?: string;
5558
- /** Required. The ID of the advertiser this line item belongs to. */
5559
- advertiserId: string;
5560
- /** Data format for response. */
5561
- alt?: string;
5562
- /** JSONP */
5563
- callback?: string;
5564
- /** Selector specifying which fields to include in a partial response. */
5565
- fields?: string;
5566
- /** 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. */
5567
- key?: string;
5568
- /** OAuth 2.0 token for the current user. */
5569
- oauth_token?: string;
5570
- /** Returns response with indentations and line breaks. */
5571
- prettyPrint?: boolean;
5572
- /** 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. */
5573
- quotaUser?: string;
5574
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5575
- upload_protocol?: string;
5576
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5577
- uploadType?: string;
5578
- /** Request body */
5579
- resource: GenerateDefaultLineItemRequest;
5580
- }): Request<LineItem>;
5581
- generateDefault(
5582
- request: {
5583
- /** V1 error format. */
5584
- '$.xgafv'?: string;
5585
- /** OAuth access token. */
5586
- access_token?: string;
5587
- /** Required. The ID of the advertiser this line item belongs to. */
5588
- advertiserId: string;
5589
- /** Data format for response. */
5590
- alt?: string;
5591
- /** JSONP */
5592
- callback?: string;
5593
- /** Selector specifying which fields to include in a partial response. */
5594
- fields?: string;
5595
- /** 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. */
5596
- key?: string;
5597
- /** OAuth 2.0 token for the current user. */
5598
- oauth_token?: string;
5599
- /** Returns response with indentations and line breaks. */
5600
- prettyPrint?: boolean;
5601
- /** 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. */
5602
- quotaUser?: string;
5603
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5604
- upload_protocol?: string;
5605
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5606
- uploadType?: string;
5607
- },
5608
- body: GenerateDefaultLineItemRequest,
5609
- ): Request<LineItem>;
5610
5187
  /** Gets a line item. */
5611
5188
  get(request?: {
5612
5189
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.displayvideo-v3",
3
- "version": "0.1.20251118",
3
+ "version": "0.1.20251204",
4
4
  "description": "TypeScript typings for Display & Video 360 API v3",
5
5
  "repository": {
6
6
  "type": "git",