google-apis-displayvideo_v2 0.52.0 → 0.53.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99f9084fe59440429adfdde0eaf0ef2dbd416f793eebefb48f4b8a0a7d44fe46
4
- data.tar.gz: 0653ff113a517ec563a4b24a73d2fe206adbc049327f9c65787ccacf53c1f067
3
+ metadata.gz: 21d1411d6e925c7a683148cadd000c459e61617f2836821bd0dbc6b597aa5412
4
+ data.tar.gz: cf67a19e306c3ccdab9df75853535ca641b6886371e82d63b032706c3e374d62
5
5
  SHA512:
6
- metadata.gz: ca1867ece2019ee26a7dc3b8b6a5ede8292d914ec7fc7f77693f00c90145aade9d24b629cac5eb778bfe41e8023e0b34208cc4208867e59254d15f98c62f1609
7
- data.tar.gz: a9e3893e199e428ec424356d1529946e57a8a394c18163ab687a6fdf96e1b4db2bf3cc9b0a91a8cc79270de346cd9f25a3fcbd4365a282b1c51522fb3f11f7c4
6
+ metadata.gz: edbf63c1b3379f11c44169f79e4a128b6c627825b8bbf38e54bfc213c2ff6cc07b58a2804b07cc151db55b844d7802e1504a6a5096bc14aaa9df0f4875afeae7
7
+ data.tar.gz: 1b01a908d4ce5fc96d5b325ac606f440d8d09b99b614177ac8dd680ee50ebe8f63679cd43033213fff7724a6d27e5e00f9c94ecabb90569ca7488389ebf69c41
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-displayvideo_v2
2
2
 
3
+ ### v0.53.0 (2025-11-23)
4
+
5
+ * Regenerated from discovery document revision 20251118
6
+
3
7
  ### v0.52.0 (2025-09-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20250925
@@ -2204,64 +2204,6 @@ module Google
2204
2204
  end
2205
2205
  end
2206
2206
 
2207
- #
2208
- class BulkListCampaignAssignedTargetingOptionsResponse
2209
- include Google::Apis::Core::Hashable
2210
-
2211
- # The list of assigned targeting options. This list will be absent if empty.
2212
- # Corresponds to the JSON property `assignedTargetingOptions`
2213
- # @return [Array<Google::Apis::DisplayvideoV2::AssignedTargetingOption>]
2214
- attr_accessor :assigned_targeting_options
2215
-
2216
- # A token identifying the next page of results. This value should be specified
2217
- # as the pageToken in a subsequent
2218
- # BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of
2219
- # results. This token will be absent if there are no more
2220
- # assigned_targeting_options to return.
2221
- # Corresponds to the JSON property `nextPageToken`
2222
- # @return [String]
2223
- attr_accessor :next_page_token
2224
-
2225
- def initialize(**args)
2226
- update!(**args)
2227
- end
2228
-
2229
- # Update properties of this object
2230
- def update!(**args)
2231
- @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
2232
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2233
- end
2234
- end
2235
-
2236
- #
2237
- class BulkListInsertionOrderAssignedTargetingOptionsResponse
2238
- include Google::Apis::Core::Hashable
2239
-
2240
- # The list of assigned targeting options. This list will be absent if empty.
2241
- # Corresponds to the JSON property `assignedTargetingOptions`
2242
- # @return [Array<Google::Apis::DisplayvideoV2::AssignedTargetingOption>]
2243
- attr_accessor :assigned_targeting_options
2244
-
2245
- # A token identifying the next page of results. This value should be specified
2246
- # as the pageToken in a subsequent
2247
- # BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page
2248
- # of results. This token will be absent if there are no more
2249
- # assigned_targeting_options to return.
2250
- # Corresponds to the JSON property `nextPageToken`
2251
- # @return [String]
2252
- attr_accessor :next_page_token
2253
-
2254
- def initialize(**args)
2255
- update!(**args)
2256
- end
2257
-
2258
- # Update properties of this object
2259
- def update!(**args)
2260
- @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
2261
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2262
- end
2263
- end
2264
-
2265
2207
  # Request message for LineItemService.BulkUpdateLineItems.
2266
2208
  class BulkUpdateLineItemsRequest
2267
2209
  include Google::Apis::Core::Hashable
@@ -5513,56 +5455,6 @@ module Google
5513
5455
  end
5514
5456
  end
5515
5457
 
5516
- # Request message for LineItemService.GenerateDefaultLineItem.
5517
- class GenerateDefaultLineItemRequest
5518
- include Google::Apis::Core::Hashable
5519
-
5520
- # Whether this line item will serve European Union political ads. If
5521
- # contains_eu_political_ads has been set to `
5522
- # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
5523
- # field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
5524
- # otherwise specified. This field can then be updated using the UI, API, or
5525
- # Structured Data Files. This field must be assigned when creating a new line
5526
- # item. Otherwise, **the `advertisers.lineItems.create` request will fail**.
5527
- # Corresponds to the JSON property `containsEuPoliticalAds`
5528
- # @return [String]
5529
- attr_accessor :contains_eu_political_ads
5530
-
5531
- # Required. The display name of the line item. Must be UTF-8 encoded with a
5532
- # maximum size of 240 bytes.
5533
- # Corresponds to the JSON property `displayName`
5534
- # @return [String]
5535
- attr_accessor :display_name
5536
-
5537
- # Required. The unique ID of the insertion order that the line item belongs to.
5538
- # Corresponds to the JSON property `insertionOrderId`
5539
- # @return [Fixnum]
5540
- attr_accessor :insertion_order_id
5541
-
5542
- # Required. The type of the line item.
5543
- # Corresponds to the JSON property `lineItemType`
5544
- # @return [String]
5545
- attr_accessor :line_item_type
5546
-
5547
- # A mobile app promoted by a mobile app install line item.
5548
- # Corresponds to the JSON property `mobileApp`
5549
- # @return [Google::Apis::DisplayvideoV2::MobileApp]
5550
- attr_accessor :mobile_app
5551
-
5552
- def initialize(**args)
5553
- update!(**args)
5554
- end
5555
-
5556
- # Update properties of this object
5557
- def update!(**args)
5558
- @contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
5559
- @display_name = args[:display_name] if args.key?(:display_name)
5560
- @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
5561
- @line_item_type = args[:line_item_type] if args.key?(:line_item_type)
5562
- @mobile_app = args[:mobile_app] if args.key?(:mobile_app)
5563
- end
5564
- end
5565
-
5566
5458
  # Details for assigned geographic region targeting option. This will be
5567
5459
  # populated in the details field of an AssignedTargetingOption when
5568
5460
  # targeting_type is `TARGETING_TYPE_GEO_REGION`.
@@ -7443,34 +7335,6 @@ module Google
7443
7335
  end
7444
7336
  end
7445
7337
 
7446
- # Response message for ListCampaignAssignedTargetingOptions.
7447
- class ListCampaignAssignedTargetingOptionsResponse
7448
- include Google::Apis::Core::Hashable
7449
-
7450
- # The list of assigned targeting options. This list will be absent if empty.
7451
- # Corresponds to the JSON property `assignedTargetingOptions`
7452
- # @return [Array<Google::Apis::DisplayvideoV2::AssignedTargetingOption>]
7453
- attr_accessor :assigned_targeting_options
7454
-
7455
- # A token identifying the next page of results. This value should be specified
7456
- # as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest
7457
- # to fetch the next page of results. This token will be absent if there are no
7458
- # more assigned_targeting_options to return.
7459
- # Corresponds to the JSON property `nextPageToken`
7460
- # @return [String]
7461
- attr_accessor :next_page_token
7462
-
7463
- def initialize(**args)
7464
- update!(**args)
7465
- end
7466
-
7467
- # Update properties of this object
7468
- def update!(**args)
7469
- @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
7470
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7471
- end
7472
- end
7473
-
7474
7338
  #
7475
7339
  class ListCampaignsResponse
7476
7340
  include Google::Apis::Core::Hashable
@@ -7744,35 +7608,6 @@ module Google
7744
7608
  end
7745
7609
  end
7746
7610
 
7747
- #
7748
- class ListInsertionOrderAssignedTargetingOptionsResponse
7749
- include Google::Apis::Core::Hashable
7750
-
7751
- # The list of assigned targeting options. This list will be absent if empty.
7752
- # Corresponds to the JSON property `assignedTargetingOptions`
7753
- # @return [Array<Google::Apis::DisplayvideoV2::AssignedTargetingOption>]
7754
- attr_accessor :assigned_targeting_options
7755
-
7756
- # A token identifying the next page of results. This value should be specified
7757
- # as the pageToken in a subsequent
7758
- # ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of
7759
- # results. This token will be absent if there are no more
7760
- # assigned_targeting_options to return.
7761
- # Corresponds to the JSON property `nextPageToken`
7762
- # @return [String]
7763
- attr_accessor :next_page_token
7764
-
7765
- def initialize(**args)
7766
- update!(**args)
7767
- end
7768
-
7769
- # Update properties of this object
7770
- def update!(**args)
7771
- @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
7772
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7773
- end
7774
- end
7775
-
7776
7611
  #
7777
7612
  class ListInsertionOrdersResponse
7778
7613
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV2
18
18
  # Version of the google-apis-displayvideo_v2 gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250925"
25
+ REVISION = "20251118"
26
26
  end
27
27
  end
28
28
  end
@@ -340,18 +340,6 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
- class BulkListCampaignAssignedTargetingOptionsResponse
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
- class BulkListInsertionOrderAssignedTargetingOptionsResponse
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
343
  class BulkUpdateLineItemsRequest
356
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
345
 
@@ -880,12 +868,6 @@ module Google
880
868
  include Google::Apis::Core::JsonObjectSupport
881
869
  end
882
870
 
883
- class GenerateDefaultLineItemRequest
884
- class Representation < Google::Apis::Core::JsonRepresentation; end
885
-
886
- include Google::Apis::Core::JsonObjectSupport
887
- end
888
-
889
871
  class GeoRegionAssignedTargetingOptionDetails
890
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
873
 
@@ -1138,12 +1120,6 @@ module Google
1138
1120
  include Google::Apis::Core::JsonObjectSupport
1139
1121
  end
1140
1122
 
1141
- class ListCampaignAssignedTargetingOptionsResponse
1142
- class Representation < Google::Apis::Core::JsonRepresentation; end
1143
-
1144
- include Google::Apis::Core::JsonObjectSupport
1145
- end
1146
-
1147
1123
  class ListCampaignsResponse
1148
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1125
 
@@ -1204,12 +1180,6 @@ module Google
1204
1180
  include Google::Apis::Core::JsonObjectSupport
1205
1181
  end
1206
1182
 
1207
- class ListInsertionOrderAssignedTargetingOptionsResponse
1208
- class Representation < Google::Apis::Core::JsonRepresentation; end
1209
-
1210
- include Google::Apis::Core::JsonObjectSupport
1211
- end
1212
-
1213
1183
  class ListInsertionOrdersResponse
1214
1184
  class Representation < Google::Apis::Core::JsonRepresentation; end
1215
1185
 
@@ -2510,24 +2480,6 @@ module Google
2510
2480
  end
2511
2481
  end
2512
2482
 
2513
- class BulkListCampaignAssignedTargetingOptionsResponse
2514
- # @private
2515
- class Representation < Google::Apis::Core::JsonRepresentation
2516
- collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV2::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
2517
-
2518
- property :next_page_token, as: 'nextPageToken'
2519
- end
2520
- end
2521
-
2522
- class BulkListInsertionOrderAssignedTargetingOptionsResponse
2523
- # @private
2524
- class Representation < Google::Apis::Core::JsonRepresentation
2525
- collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV2::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
2526
-
2527
- property :next_page_token, as: 'nextPageToken'
2528
- end
2529
- end
2530
-
2531
2483
  class BulkUpdateLineItemsRequest
2532
2484
  # @private
2533
2485
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3390,18 +3342,6 @@ module Google
3390
3342
  end
3391
3343
  end
3392
3344
 
3393
- class GenerateDefaultLineItemRequest
3394
- # @private
3395
- class Representation < Google::Apis::Core::JsonRepresentation
3396
- property :contains_eu_political_ads, as: 'containsEuPoliticalAds'
3397
- property :display_name, as: 'displayName'
3398
- property :insertion_order_id, :numeric_string => true, as: 'insertionOrderId'
3399
- property :line_item_type, as: 'lineItemType'
3400
- property :mobile_app, as: 'mobileApp', class: Google::Apis::DisplayvideoV2::MobileApp, decorator: Google::Apis::DisplayvideoV2::MobileApp::Representation
3401
-
3402
- end
3403
- end
3404
-
3405
3345
  class GeoRegionAssignedTargetingOptionDetails
3406
3346
  # @private
3407
3347
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3884,15 +3824,6 @@ module Google
3884
3824
  end
3885
3825
  end
3886
3826
 
3887
- class ListCampaignAssignedTargetingOptionsResponse
3888
- # @private
3889
- class Representation < Google::Apis::Core::JsonRepresentation
3890
- collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV2::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
3891
-
3892
- property :next_page_token, as: 'nextPageToken'
3893
- end
3894
- end
3895
-
3896
3827
  class ListCampaignsResponse
3897
3828
  # @private
3898
3829
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3983,15 +3914,6 @@ module Google
3983
3914
  end
3984
3915
  end
3985
3916
 
3986
- class ListInsertionOrderAssignedTargetingOptionsResponse
3987
- # @private
3988
- class Representation < Google::Apis::Core::JsonRepresentation
3989
- collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV2::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
3990
-
3991
- property :next_page_token, as: 'nextPageToken'
3992
- end
3993
- end
3994
-
3995
3917
  class ListInsertionOrdersResponse
3996
3918
  # @private
3997
3919
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -603,71 +603,6 @@ module Google
603
603
  execute_or_queue_command(command, &block)
604
604
  end
605
605
 
606
- # Lists assigned targeting options of a campaign across targeting types.
607
- # @param [Fixnum] advertiser_id
608
- # Required. The ID of the advertiser the campaign belongs to.
609
- # @param [Fixnum] campaign_id
610
- # Required. The ID of the campaign to list assigned targeting options for.
611
- # @param [String] filter
612
- # Allows filtering by assigned targeting option fields. Supported syntax: *
613
- # Filter expressions are made up of one or more restrictions. * Restrictions can
614
- # be combined by the `OR` logical operator. * A restriction has the form of ``
615
- # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
616
- # Supported fields: * `targetingType` * `inheritance` Examples: * `
617
- # AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE`
618
- # or `TARGETING_TYPE_GENDER`: `targetingType="TARGETING_TYPE_LANGUAGE" OR
619
- # targetingType="TARGETING_TYPE_GENDER"` * `AssignedTargetingOption` resources
620
- # with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
621
- # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
622
- # length of this field should be no more than 500 characters. Reference our [
623
- # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
624
- # more information.
625
- # @param [String] order_by
626
- # Field by which to sort the list. Acceptable values are: * `targetingType` (
627
- # default) The default sorting order is ascending. To specify descending order
628
- # for a field, a suffix "desc" should be added to the field name. Example: `
629
- # targetingType desc`.
630
- # @param [Fixnum] page_size
631
- # Requested page size. The size must be an integer between `1` and `5000`. If
632
- # unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
633
- # an invalid value is specified.
634
- # @param [String] page_token
635
- # A token that lets the client fetch the next page of results. Typically, this
636
- # is the value of next_page_token returned from the previous call to `
637
- # BulkListCampaignAssignedTargetingOptions` method. If not specified, the first
638
- # page of results will be returned.
639
- # @param [String] fields
640
- # Selector specifying which fields to include in a partial response.
641
- # @param [String] quota_user
642
- # Available to use for quota purposes for server-side applications. Can be any
643
- # arbitrary string assigned to a user, but should not exceed 40 characters.
644
- # @param [Google::Apis::RequestOptions] options
645
- # Request-specific options
646
- #
647
- # @yield [result, err] Result & error if block supplied
648
- # @yieldparam result [Google::Apis::DisplayvideoV2::BulkListCampaignAssignedTargetingOptionsResponse] parsed result object
649
- # @yieldparam err [StandardError] error object if request failed
650
- #
651
- # @return [Google::Apis::DisplayvideoV2::BulkListCampaignAssignedTargetingOptionsResponse]
652
- #
653
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
654
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
655
- # @raise [Google::Apis::AuthorizationError] Authorization is required
656
- def list_advertiser_campaign_assigned_targeting_options(advertiser_id, campaign_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
657
- command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions', options)
658
- command.response_representation = Google::Apis::DisplayvideoV2::BulkListCampaignAssignedTargetingOptionsResponse::Representation
659
- command.response_class = Google::Apis::DisplayvideoV2::BulkListCampaignAssignedTargetingOptionsResponse
660
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
661
- command.params['campaignId'] = campaign_id unless campaign_id.nil?
662
- command.query['filter'] = filter unless filter.nil?
663
- command.query['orderBy'] = order_by unless order_by.nil?
664
- command.query['pageSize'] = page_size unless page_size.nil?
665
- command.query['pageToken'] = page_token unless page_token.nil?
666
- command.query['fields'] = fields unless fields.nil?
667
- command.query['quotaUser'] = quota_user unless quota_user.nil?
668
- execute_or_queue_command(command, &block)
669
- end
670
-
671
606
  # Updates an existing campaign. Returns the updated campaign if successful.
672
607
  # @param [Fixnum] advertiser_id
673
608
  # Output only. The unique ID of the advertiser the campaign belongs to.
@@ -707,138 +642,6 @@ module Google
707
642
  execute_or_queue_command(command, &block)
708
643
  end
709
644
 
710
- # Gets a single targeting option assigned to a campaign.
711
- # @param [Fixnum] advertiser_id
712
- # Required. The ID of the advertiser the campaign belongs to.
713
- # @param [Fixnum] campaign_id
714
- # Required. The ID of the campaign the assigned targeting option belongs to.
715
- # @param [String] targeting_type
716
- # Required. Identifies the type of this assigned targeting option. Supported
717
- # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `
718
- # TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `
719
- # TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
720
- # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
721
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
722
- # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
723
- # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
724
- # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
725
- # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `
726
- # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
727
- # * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `
728
- # TARGETING_TYPE_VIEWABILITY`
729
- # @param [String] assigned_targeting_option_id
730
- # Required. An identifier unique to the targeting type in this campaign that
731
- # identifies the assigned targeting option being requested.
732
- # @param [String] fields
733
- # Selector specifying which fields to include in a partial response.
734
- # @param [String] quota_user
735
- # Available to use for quota purposes for server-side applications. Can be any
736
- # arbitrary string assigned to a user, but should not exceed 40 characters.
737
- # @param [Google::Apis::RequestOptions] options
738
- # Request-specific options
739
- #
740
- # @yield [result, err] Result & error if block supplied
741
- # @yieldparam result [Google::Apis::DisplayvideoV2::AssignedTargetingOption] parsed result object
742
- # @yieldparam err [StandardError] error object if request failed
743
- #
744
- # @return [Google::Apis::DisplayvideoV2::AssignedTargetingOption]
745
- #
746
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
747
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
748
- # @raise [Google::Apis::AuthorizationError] Authorization is required
749
- def get_advertiser_campaign_targeting_type_assigned_targeting_option(advertiser_id, campaign_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
750
- command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
751
- command.response_representation = Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
752
- command.response_class = Google::Apis::DisplayvideoV2::AssignedTargetingOption
753
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
754
- command.params['campaignId'] = campaign_id unless campaign_id.nil?
755
- command.params['targetingType'] = targeting_type unless targeting_type.nil?
756
- command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
757
- command.query['fields'] = fields unless fields.nil?
758
- command.query['quotaUser'] = quota_user unless quota_user.nil?
759
- execute_or_queue_command(command, &block)
760
- end
761
-
762
- # Lists the targeting options assigned to a campaign for a specified targeting
763
- # type.
764
- # @param [Fixnum] advertiser_id
765
- # Required. The ID of the advertiser the campaign belongs to.
766
- # @param [Fixnum] campaign_id
767
- # Required. The ID of the campaign to list assigned targeting options for.
768
- # @param [String] targeting_type
769
- # Required. Identifies the type of assigned targeting options to list. Supported
770
- # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `
771
- # TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `
772
- # TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
773
- # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
774
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
775
- # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
776
- # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
777
- # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
778
- # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `
779
- # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
780
- # * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `
781
- # TARGETING_TYPE_VIEWABILITY`
782
- # @param [String] filter
783
- # Allows filtering by assigned targeting option fields. Supported syntax: *
784
- # Filter expressions are made up of one or more restrictions. * Restrictions can
785
- # be combined by the `OR` logical operator. * A restriction has the form of ``
786
- # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
787
- # Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `
788
- # AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId="
789
- # 1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources
790
- # with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `
791
- # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
792
- # length of this field should be no more than 500 characters. Reference our [
793
- # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
794
- # more information.
795
- # @param [String] order_by
796
- # Field by which to sort the list. Acceptable values are: * `
797
- # assignedTargetingOptionId` (default) The default sorting order is ascending.
798
- # To specify descending order for a field, a suffix "desc" should be added to
799
- # the field name. Example: `assignedTargetingOptionId desc`.
800
- # @param [Fixnum] page_size
801
- # Requested page size. Must be between `1` and `5000`. If unspecified will
802
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
803
- # specified.
804
- # @param [String] page_token
805
- # A token identifying a page of results the server should return. Typically,
806
- # this is the value of next_page_token returned from the previous call to `
807
- # ListCampaignAssignedTargetingOptions` method. If not specified, the first page
808
- # of results will be returned.
809
- # @param [String] fields
810
- # Selector specifying which fields to include in a partial response.
811
- # @param [String] quota_user
812
- # Available to use for quota purposes for server-side applications. Can be any
813
- # arbitrary string assigned to a user, but should not exceed 40 characters.
814
- # @param [Google::Apis::RequestOptions] options
815
- # Request-specific options
816
- #
817
- # @yield [result, err] Result & error if block supplied
818
- # @yieldparam result [Google::Apis::DisplayvideoV2::ListCampaignAssignedTargetingOptionsResponse] parsed result object
819
- # @yieldparam err [StandardError] error object if request failed
820
- #
821
- # @return [Google::Apis::DisplayvideoV2::ListCampaignAssignedTargetingOptionsResponse]
822
- #
823
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
824
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
825
- # @raise [Google::Apis::AuthorizationError] Authorization is required
826
- def list_advertiser_campaign_targeting_type_assigned_targeting_options(advertiser_id, campaign_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
827
- command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
828
- command.response_representation = Google::Apis::DisplayvideoV2::ListCampaignAssignedTargetingOptionsResponse::Representation
829
- command.response_class = Google::Apis::DisplayvideoV2::ListCampaignAssignedTargetingOptionsResponse
830
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
831
- command.params['campaignId'] = campaign_id unless campaign_id.nil?
832
- command.params['targetingType'] = targeting_type unless targeting_type.nil?
833
- command.query['filter'] = filter unless filter.nil?
834
- command.query['orderBy'] = order_by unless order_by.nil?
835
- command.query['pageSize'] = page_size unless page_size.nil?
836
- command.query['pageToken'] = page_token unless page_token.nil?
837
- command.query['fields'] = fields unless fields.nil?
838
- command.query['quotaUser'] = quota_user unless quota_user.nil?
839
- execute_or_queue_command(command, &block)
840
- end
841
-
842
645
  # Creates a new channel. Returns the newly created channel if successful.
843
646
  # @param [Fixnum] advertiser_id
844
647
  # The ID of the advertiser that owns the created channel.
@@ -1634,72 +1437,6 @@ module Google
1634
1437
  execute_or_queue_command(command, &block)
1635
1438
  end
1636
1439
 
1637
- # Lists assigned targeting options of an insertion order across targeting types.
1638
- # @param [Fixnum] advertiser_id
1639
- # Required. The ID of the advertiser the insertion order belongs to.
1640
- # @param [Fixnum] insertion_order_id
1641
- # Required. The ID of the insertion order to list assigned targeting options for.
1642
- # @param [String] filter
1643
- # Allows filtering by assigned targeting option fields. Supported syntax: *
1644
- # Filter expressions are made up of one or more restrictions. * Restrictions can
1645
- # be combined by the logical operator `OR`. * A restriction has the form of ``
1646
- # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
1647
- # Supported fields: * `targetingType` * `inheritance` Examples: * `
1648
- # AssignedTargetingOption` resources of targeting type `
1649
- # TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `
1650
- # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
1651
- # TARGETING_TYPE_CHANNEL"` * `AssignedTargetingOption` resources with
1652
- # inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
1653
- # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
1654
- # length of this field should be no more than 500 characters. Reference our [
1655
- # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
1656
- # more information.
1657
- # @param [String] order_by
1658
- # Field by which to sort the list. Acceptable values are: * `targetingType` (
1659
- # default) The default sorting order is ascending. To specify descending order
1660
- # for a field, a suffix "desc" should be added to the field name. Example: `
1661
- # targetingType desc`.
1662
- # @param [Fixnum] page_size
1663
- # Requested page size. The size must be an integer between `1` and `5000`. If
1664
- # unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
1665
- # an invalid value is specified.
1666
- # @param [String] page_token
1667
- # A token that lets the client fetch the next page of results. Typically, this
1668
- # is the value of next_page_token returned from the previous call to `
1669
- # BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the
1670
- # first page of results will be returned.
1671
- # @param [String] fields
1672
- # Selector specifying which fields to include in a partial response.
1673
- # @param [String] quota_user
1674
- # Available to use for quota purposes for server-side applications. Can be any
1675
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1676
- # @param [Google::Apis::RequestOptions] options
1677
- # Request-specific options
1678
- #
1679
- # @yield [result, err] Result & error if block supplied
1680
- # @yieldparam result [Google::Apis::DisplayvideoV2::BulkListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
1681
- # @yieldparam err [StandardError] error object if request failed
1682
- #
1683
- # @return [Google::Apis::DisplayvideoV2::BulkListInsertionOrderAssignedTargetingOptionsResponse]
1684
- #
1685
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1686
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1687
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1688
- def list_advertiser_insertion_order_assigned_targeting_options(advertiser_id, insertion_order_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1689
- command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions', options)
1690
- command.response_representation = Google::Apis::DisplayvideoV2::BulkListInsertionOrderAssignedTargetingOptionsResponse::Representation
1691
- command.response_class = Google::Apis::DisplayvideoV2::BulkListInsertionOrderAssignedTargetingOptionsResponse
1692
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1693
- command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1694
- command.query['filter'] = filter unless filter.nil?
1695
- command.query['orderBy'] = order_by unless order_by.nil?
1696
- command.query['pageSize'] = page_size unless page_size.nil?
1697
- command.query['pageToken'] = page_token unless page_token.nil?
1698
- command.query['fields'] = fields unless fields.nil?
1699
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1700
- execute_or_queue_command(command, &block)
1701
- end
1702
-
1703
1440
  # Updates an existing insertion order. Returns the updated insertion order if
1704
1441
  # successful.
1705
1442
  # @param [Fixnum] advertiser_id
@@ -1740,277 +1477,6 @@ module Google
1740
1477
  execute_or_queue_command(command, &block)
1741
1478
  end
1742
1479
 
1743
- # Assigns a targeting option to an insertion order. Returns the assigned
1744
- # targeting option if successful. Supported targeting types: * `
1745
- # TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
1746
- # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
1747
- # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
1748
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1749
- # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
1750
- # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
1751
- # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
1752
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
1753
- # @param [Fixnum] advertiser_id
1754
- # Required. The ID of the advertiser the insertion order belongs to.
1755
- # @param [Fixnum] insertion_order_id
1756
- # Required. The ID of the insertion order the assigned targeting option will
1757
- # belong to.
1758
- # @param [String] targeting_type
1759
- # Required. Identifies the type of this assigned targeting option. Supported
1760
- # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
1761
- # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
1762
- # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
1763
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1764
- # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
1765
- # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
1766
- # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
1767
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
1768
- # @param [Google::Apis::DisplayvideoV2::AssignedTargetingOption] assigned_targeting_option_object
1769
- # @param [String] fields
1770
- # Selector specifying which fields to include in a partial response.
1771
- # @param [String] quota_user
1772
- # Available to use for quota purposes for server-side applications. Can be any
1773
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1774
- # @param [Google::Apis::RequestOptions] options
1775
- # Request-specific options
1776
- #
1777
- # @yield [result, err] Result & error if block supplied
1778
- # @yieldparam result [Google::Apis::DisplayvideoV2::AssignedTargetingOption] parsed result object
1779
- # @yieldparam err [StandardError] error object if request failed
1780
- #
1781
- # @return [Google::Apis::DisplayvideoV2::AssignedTargetingOption]
1782
- #
1783
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1784
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1785
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1786
- def create_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1787
- command = make_simple_command(:post, 'v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
1788
- command.request_representation = Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
1789
- command.request_object = assigned_targeting_option_object
1790
- command.response_representation = Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
1791
- command.response_class = Google::Apis::DisplayvideoV2::AssignedTargetingOption
1792
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1793
- command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1794
- command.params['targetingType'] = targeting_type unless targeting_type.nil?
1795
- command.query['fields'] = fields unless fields.nil?
1796
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1797
- execute_or_queue_command(command, &block)
1798
- end
1799
-
1800
- # Deletes an assigned targeting option from an insertion order. Supported
1801
- # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
1802
- # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
1803
- # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
1804
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1805
- # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
1806
- # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
1807
- # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
1808
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
1809
- # @param [Fixnum] advertiser_id
1810
- # Required. The ID of the advertiser the insertion order belongs to.
1811
- # @param [Fixnum] insertion_order_id
1812
- # Required. The ID of the insertion order the assigned targeting option belongs
1813
- # to.
1814
- # @param [String] targeting_type
1815
- # Required. Identifies the type of this assigned targeting option. Supported
1816
- # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
1817
- # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
1818
- # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
1819
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1820
- # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
1821
- # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
1822
- # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
1823
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
1824
- # @param [String] assigned_targeting_option_id
1825
- # Required. The ID of the assigned targeting option to delete.
1826
- # @param [String] fields
1827
- # Selector specifying which fields to include in a partial response.
1828
- # @param [String] quota_user
1829
- # Available to use for quota purposes for server-side applications. Can be any
1830
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1831
- # @param [Google::Apis::RequestOptions] options
1832
- # Request-specific options
1833
- #
1834
- # @yield [result, err] Result & error if block supplied
1835
- # @yieldparam result [Google::Apis::DisplayvideoV2::Empty] parsed result object
1836
- # @yieldparam err [StandardError] error object if request failed
1837
- #
1838
- # @return [Google::Apis::DisplayvideoV2::Empty]
1839
- #
1840
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1841
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1842
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1843
- def delete_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
1844
- command = make_simple_command(:delete, 'v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
1845
- command.response_representation = Google::Apis::DisplayvideoV2::Empty::Representation
1846
- command.response_class = Google::Apis::DisplayvideoV2::Empty
1847
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1848
- command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1849
- command.params['targetingType'] = targeting_type unless targeting_type.nil?
1850
- command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
1851
- command.query['fields'] = fields unless fields.nil?
1852
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1853
- execute_or_queue_command(command, &block)
1854
- end
1855
-
1856
- # Gets a single targeting option assigned to an insertion order.
1857
- # @param [Fixnum] advertiser_id
1858
- # Required. The ID of the advertiser the insertion order belongs to.
1859
- # @param [Fixnum] insertion_order_id
1860
- # Required. The ID of the insertion order the assigned targeting option belongs
1861
- # to.
1862
- # @param [String] targeting_type
1863
- # Required. Identifies the type of this assigned targeting option. Supported
1864
- # targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
1865
- # `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
1866
- # TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
1867
- # * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
1868
- # TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
1869
- # TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
1870
- # TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
1871
- # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
1872
- # TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
1873
- # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
1874
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1875
- # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
1876
- # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1877
- # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
1878
- # TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
1879
- # TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
1880
- # TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
1881
- # TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
1882
- # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
1883
- # TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
1884
- # TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
1885
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
1886
- # `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
1887
- # TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
1888
- # TARGETING_TYPE_VIEWABILITY`
1889
- # @param [String] assigned_targeting_option_id
1890
- # Required. An identifier unique to the targeting type in this insertion order
1891
- # that identifies the assigned targeting option being requested.
1892
- # @param [String] fields
1893
- # Selector specifying which fields to include in a partial response.
1894
- # @param [String] quota_user
1895
- # Available to use for quota purposes for server-side applications. Can be any
1896
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1897
- # @param [Google::Apis::RequestOptions] options
1898
- # Request-specific options
1899
- #
1900
- # @yield [result, err] Result & error if block supplied
1901
- # @yieldparam result [Google::Apis::DisplayvideoV2::AssignedTargetingOption] parsed result object
1902
- # @yieldparam err [StandardError] error object if request failed
1903
- #
1904
- # @return [Google::Apis::DisplayvideoV2::AssignedTargetingOption]
1905
- #
1906
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1907
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1908
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1909
- def get_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
1910
- command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
1911
- command.response_representation = Google::Apis::DisplayvideoV2::AssignedTargetingOption::Representation
1912
- command.response_class = Google::Apis::DisplayvideoV2::AssignedTargetingOption
1913
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1914
- command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1915
- command.params['targetingType'] = targeting_type unless targeting_type.nil?
1916
- command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
1917
- command.query['fields'] = fields unless fields.nil?
1918
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1919
- execute_or_queue_command(command, &block)
1920
- end
1921
-
1922
- # Lists the targeting options assigned to an insertion order.
1923
- # @param [Fixnum] advertiser_id
1924
- # Required. The ID of the advertiser the insertion order belongs to.
1925
- # @param [Fixnum] insertion_order_id
1926
- # Required. The ID of the insertion order to list assigned targeting options for.
1927
- # @param [String] targeting_type
1928
- # Required. Identifies the type of assigned targeting options to list. Supported
1929
- # targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
1930
- # `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
1931
- # TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
1932
- # * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
1933
- # TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
1934
- # TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
1935
- # TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
1936
- # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
1937
- # TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
1938
- # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
1939
- # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1940
- # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
1941
- # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1942
- # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
1943
- # TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
1944
- # TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
1945
- # TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
1946
- # TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
1947
- # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
1948
- # TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
1949
- # TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
1950
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
1951
- # `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
1952
- # TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
1953
- # TARGETING_TYPE_VIEWABILITY`
1954
- # @param [String] filter
1955
- # Allows filtering by assigned targeting option fields. Supported syntax: *
1956
- # Filter expressions are made up of one or more restrictions. * Restrictions can
1957
- # be combined by the logical operator `OR`. * A restriction has the form of ``
1958
- # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
1959
- # Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `
1960
- # AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId="
1961
- # 1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources
1962
- # with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
1963
- # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
1964
- # length of this field should be no more than 500 characters. Reference our [
1965
- # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
1966
- # more information.
1967
- # @param [String] order_by
1968
- # Field by which to sort the list. Acceptable values are: * `
1969
- # assignedTargetingOptionId` (default) The default sorting order is ascending.
1970
- # To specify descending order for a field, a suffix "desc" should be added to
1971
- # the field name. Example: `assignedTargetingOptionId desc`.
1972
- # @param [Fixnum] page_size
1973
- # Requested page size. Must be between `1` and `5000`. If unspecified will
1974
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1975
- # specified.
1976
- # @param [String] page_token
1977
- # A token identifying a page of results the server should return. Typically,
1978
- # this is the value of next_page_token returned from the previous call to `
1979
- # ListInsertionOrderAssignedTargetingOptions` method. If not specified, the
1980
- # first page of results will be returned.
1981
- # @param [String] fields
1982
- # Selector specifying which fields to include in a partial response.
1983
- # @param [String] quota_user
1984
- # Available to use for quota purposes for server-side applications. Can be any
1985
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1986
- # @param [Google::Apis::RequestOptions] options
1987
- # Request-specific options
1988
- #
1989
- # @yield [result, err] Result & error if block supplied
1990
- # @yieldparam result [Google::Apis::DisplayvideoV2::ListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
1991
- # @yieldparam err [StandardError] error object if request failed
1992
- #
1993
- # @return [Google::Apis::DisplayvideoV2::ListInsertionOrderAssignedTargetingOptionsResponse]
1994
- #
1995
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1996
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1997
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1998
- def list_advertiser_insertion_order_targeting_type_assigned_targeting_options(advertiser_id, insertion_order_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1999
- command = make_simple_command(:get, 'v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
2000
- command.response_representation = Google::Apis::DisplayvideoV2::ListInsertionOrderAssignedTargetingOptionsResponse::Representation
2001
- command.response_class = Google::Apis::DisplayvideoV2::ListInsertionOrderAssignedTargetingOptionsResponse
2002
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2003
- command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
2004
- command.params['targetingType'] = targeting_type unless targeting_type.nil?
2005
- command.query['filter'] = filter unless filter.nil?
2006
- command.query['orderBy'] = order_by unless order_by.nil?
2007
- command.query['pageSize'] = page_size unless page_size.nil?
2008
- command.query['pageToken'] = page_token unless page_token.nil?
2009
- command.query['fields'] = fields unless fields.nil?
2010
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2011
- execute_or_queue_command(command, &block)
2012
- end
2013
-
2014
1480
  # Lists invoices posted for an advertiser in a given month. Invoices generated
2015
1481
  # by billing profiles with a "Partner" invoice level are not retrievable through
2016
1482
  # this method.
@@ -2351,44 +1817,6 @@ module Google
2351
1817
  execute_or_queue_command(command, &block)
2352
1818
  end
2353
1819
 
2354
- # Creates a new line item with settings (including targeting) inherited from the
2355
- # insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly
2356
- # created line item if successful. There are default values based on the three
2357
- # fields: * The insertion order's insertion_order_type * The insertion order's
2358
- # automation_type * The given line_item_type YouTube & Partners line items
2359
- # cannot be created or updated using the API.
2360
- # @param [Fixnum] advertiser_id
2361
- # Required. The ID of the advertiser this line item belongs to.
2362
- # @param [Google::Apis::DisplayvideoV2::GenerateDefaultLineItemRequest] generate_default_line_item_request_object
2363
- # @param [String] fields
2364
- # Selector specifying which fields to include in a partial response.
2365
- # @param [String] quota_user
2366
- # Available to use for quota purposes for server-side applications. Can be any
2367
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2368
- # @param [Google::Apis::RequestOptions] options
2369
- # Request-specific options
2370
- #
2371
- # @yield [result, err] Result & error if block supplied
2372
- # @yieldparam result [Google::Apis::DisplayvideoV2::LineItem] parsed result object
2373
- # @yieldparam err [StandardError] error object if request failed
2374
- #
2375
- # @return [Google::Apis::DisplayvideoV2::LineItem]
2376
- #
2377
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2378
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2379
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2380
- def generate_default_line_item(advertiser_id, generate_default_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2381
- command = make_simple_command(:post, 'v2/advertisers/{+advertiserId}/lineItems:generateDefault', options)
2382
- command.request_representation = Google::Apis::DisplayvideoV2::GenerateDefaultLineItemRequest::Representation
2383
- command.request_object = generate_default_line_item_request_object
2384
- command.response_representation = Google::Apis::DisplayvideoV2::LineItem::Representation
2385
- command.response_class = Google::Apis::DisplayvideoV2::LineItem
2386
- command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2387
- command.query['fields'] = fields unless fields.nil?
2388
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2389
- execute_or_queue_command(command, &block)
2390
- end
2391
-
2392
1820
  # Gets a line item.
2393
1821
  # @param [Fixnum] advertiser_id
2394
1822
  # Required. The ID of the advertiser this line item belongs to.
@@ -5064,7 +4492,7 @@ module Google
5064
4492
  # ascending. To specify descending order for a field, a suffix "desc" should be
5065
4493
  # added to the field name. Example: `displayName desc`.
5066
4494
  # @param [Fixnum] page_size
5067
- # Optional. Requested page size. Must be between `1` and `100`. If unspecified
4495
+ # Optional. Requested page size. Must be between `1` and `200`. If unspecified
5068
4496
  # will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid
5069
4497
  # value is specified.
5070
4498
  # @param [String] page_token
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.53.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2
62
62
  rdoc_options: []
63
63
  require_paths: