google-apis-displayvideo_v4 0.9.0 → 0.10.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: deeac918163ea6f55a8b40aa55f1d053ff944462ef79caada0f0ee11300db5ac
4
- data.tar.gz: 814706adafb82ddd768d27a39e0c4cfa0f492bc0f701f293b929f9753351a2b5
3
+ metadata.gz: 88f5f74027599ba7761ff39a8859654950de6ac730a0b8a68aa2934c7f118ec6
4
+ data.tar.gz: 50e0a2967c46373685cf0b1bf3c9a4d22a6116e3923f52677d3a5461c41435e7
5
5
  SHA512:
6
- metadata.gz: 0b9e248fbe13ae1795a9e1aa17f6740ec9fc751878890bdaccdfbc8d36da940e4be7b3b6010e5acd68bc43e409927452325364779cf32ad0fedbe2737140d793
7
- data.tar.gz: 281712c25eac2320e15d874581e56de7606986f48c4aa82a65b85524f21d995f4730ab0a3c7d2f5c48c3b7df87b07918b7fb109912d505be984f8341afc69cbf
6
+ metadata.gz: 279171baba09f05f9b129e11b24f14f2a0540eca622ac242559faddabafe5c1f7450609ee860a1becdf1050b3d8832ee5eab8dd4a0d476b80499a16d559be4aa
7
+ data.tar.gz: 7950b2175783251c4862c674c2f9fffea1519653c06c197f2f61df27de52dd3d64fc405a9ebb908ee2f43cd194630a63fb4fb1218267a32316f79e14010f136e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-displayvideo_v4
2
2
 
3
+ ### v0.10.0 (2025-08-10)
4
+
5
+ * Regenerated from discovery document revision 20250803
6
+
3
7
  ### v0.9.0 (2025-07-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20250709
@@ -2878,6 +2878,64 @@ module Google
2878
2878
  end
2879
2879
  end
2880
2880
 
2881
+ #
2882
+ class BulkListCampaignAssignedTargetingOptionsResponse
2883
+ include Google::Apis::Core::Hashable
2884
+
2885
+ # The list of assigned targeting options. This list will be absent if empty.
2886
+ # Corresponds to the JSON property `assignedTargetingOptions`
2887
+ # @return [Array<Google::Apis::DisplayvideoV4::AssignedTargetingOption>]
2888
+ attr_accessor :assigned_targeting_options
2889
+
2890
+ # A token identifying the next page of results. This value should be specified
2891
+ # as the pageToken in a subsequent
2892
+ # BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of
2893
+ # results. This token will be absent if there are no more
2894
+ # assigned_targeting_options to return.
2895
+ # Corresponds to the JSON property `nextPageToken`
2896
+ # @return [String]
2897
+ attr_accessor :next_page_token
2898
+
2899
+ def initialize(**args)
2900
+ update!(**args)
2901
+ end
2902
+
2903
+ # Update properties of this object
2904
+ def update!(**args)
2905
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
2906
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2907
+ end
2908
+ end
2909
+
2910
+ #
2911
+ class BulkListInsertionOrderAssignedTargetingOptionsResponse
2912
+ include Google::Apis::Core::Hashable
2913
+
2914
+ # The list of assigned targeting options. This list will be absent if empty.
2915
+ # Corresponds to the JSON property `assignedTargetingOptions`
2916
+ # @return [Array<Google::Apis::DisplayvideoV4::AssignedTargetingOption>]
2917
+ attr_accessor :assigned_targeting_options
2918
+
2919
+ # A token identifying the next page of results. This value should be specified
2920
+ # as the pageToken in a subsequent
2921
+ # BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page
2922
+ # of results. This token will be absent if there are no more
2923
+ # assigned_targeting_options to return.
2924
+ # Corresponds to the JSON property `nextPageToken`
2925
+ # @return [String]
2926
+ attr_accessor :next_page_token
2927
+
2928
+ def initialize(**args)
2929
+ update!(**args)
2930
+ end
2931
+
2932
+ # Update properties of this object
2933
+ def update!(**args)
2934
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
2935
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2936
+ end
2937
+ end
2938
+
2881
2939
  # Request message for LineItemService.BulkUpdateLineItems.
2882
2940
  class BulkUpdateLineItemsRequest
2883
2941
  include Google::Apis::Core::Hashable
@@ -4846,6 +4904,12 @@ module Google
4846
4904
  # @return [Array<Fixnum>]
4847
4905
  attr_accessor :shared_advertiser_ids
4848
4906
 
4907
+ # Optional. Immutable. Designates the third party optimization partner that
4908
+ # manages this algorithm.
4909
+ # Corresponds to the JSON property `thirdPartyOptimizationPartner`
4910
+ # @return [String]
4911
+ attr_accessor :third_party_optimization_partner
4912
+
4849
4913
  def initialize(**args)
4850
4914
  update!(**args)
4851
4915
  end
@@ -4861,6 +4925,7 @@ module Google
4861
4925
  @name = args[:name] if args.key?(:name)
4862
4926
  @partner_id = args[:partner_id] if args.key?(:partner_id)
4863
4927
  @shared_advertiser_ids = args[:shared_advertiser_ids] if args.key?(:shared_advertiser_ids)
4928
+ @third_party_optimization_partner = args[:third_party_optimization_partner] if args.key?(:third_party_optimization_partner)
4864
4929
  end
4865
4930
  end
4866
4931
 
@@ -8744,6 +8809,34 @@ module Google
8744
8809
  end
8745
8810
  end
8746
8811
 
8812
+ # Response message for ListCampaignAssignedTargetingOptions.
8813
+ class ListCampaignAssignedTargetingOptionsResponse
8814
+ include Google::Apis::Core::Hashable
8815
+
8816
+ # The list of assigned targeting options. This list will be absent if empty.
8817
+ # Corresponds to the JSON property `assignedTargetingOptions`
8818
+ # @return [Array<Google::Apis::DisplayvideoV4::AssignedTargetingOption>]
8819
+ attr_accessor :assigned_targeting_options
8820
+
8821
+ # A token identifying the next page of results. This value should be specified
8822
+ # as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest
8823
+ # to fetch the next page of results. This token will be absent if there are no
8824
+ # more assigned_targeting_options to return.
8825
+ # Corresponds to the JSON property `nextPageToken`
8826
+ # @return [String]
8827
+ attr_accessor :next_page_token
8828
+
8829
+ def initialize(**args)
8830
+ update!(**args)
8831
+ end
8832
+
8833
+ # Update properties of this object
8834
+ def update!(**args)
8835
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
8836
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8837
+ end
8838
+ end
8839
+
8747
8840
  #
8748
8841
  class ListCampaignsResponse
8749
8842
  include Google::Apis::Core::Hashable
@@ -9074,6 +9167,35 @@ module Google
9074
9167
  end
9075
9168
  end
9076
9169
 
9170
+ #
9171
+ class ListInsertionOrderAssignedTargetingOptionsResponse
9172
+ include Google::Apis::Core::Hashable
9173
+
9174
+ # The list of assigned targeting options. This list will be absent if empty.
9175
+ # Corresponds to the JSON property `assignedTargetingOptions`
9176
+ # @return [Array<Google::Apis::DisplayvideoV4::AssignedTargetingOption>]
9177
+ attr_accessor :assigned_targeting_options
9178
+
9179
+ # A token identifying the next page of results. This value should be specified
9180
+ # as the pageToken in a subsequent
9181
+ # ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of
9182
+ # results. This token will be absent if there are no more
9183
+ # assigned_targeting_options to return.
9184
+ # Corresponds to the JSON property `nextPageToken`
9185
+ # @return [String]
9186
+ attr_accessor :next_page_token
9187
+
9188
+ def initialize(**args)
9189
+ update!(**args)
9190
+ end
9191
+
9192
+ # Update properties of this object
9193
+ def update!(**args)
9194
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
9195
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9196
+ end
9197
+ end
9198
+
9077
9199
  #
9078
9200
  class ListInsertionOrdersResponse
9079
9201
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV4
18
18
  # Version of the google-apis-displayvideo_v4 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.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 = "20250709"
25
+ REVISION = "20250803"
26
26
  end
27
27
  end
28
28
  end
@@ -412,6 +412,18 @@ module Google
412
412
  include Google::Apis::Core::JsonObjectSupport
413
413
  end
414
414
 
415
+ class BulkListCampaignAssignedTargetingOptionsResponse
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class BulkListInsertionOrderAssignedTargetingOptionsResponse
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class BulkUpdateLineItemsRequest
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -1300,6 +1312,12 @@ module Google
1300
1312
  include Google::Apis::Core::JsonObjectSupport
1301
1313
  end
1302
1314
 
1315
+ class ListCampaignAssignedTargetingOptionsResponse
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1303
1321
  class ListCampaignsResponse
1304
1322
  class Representation < Google::Apis::Core::JsonRepresentation; end
1305
1323
 
@@ -1372,6 +1390,12 @@ module Google
1372
1390
  include Google::Apis::Core::JsonObjectSupport
1373
1391
  end
1374
1392
 
1393
+ class ListInsertionOrderAssignedTargetingOptionsResponse
1394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1395
+
1396
+ include Google::Apis::Core::JsonObjectSupport
1397
+ end
1398
+
1375
1399
  class ListInsertionOrdersResponse
1376
1400
  class Representation < Google::Apis::Core::JsonRepresentation; end
1377
1401
 
@@ -2812,6 +2836,24 @@ module Google
2812
2836
  end
2813
2837
  end
2814
2838
 
2839
+ class BulkListCampaignAssignedTargetingOptionsResponse
2840
+ # @private
2841
+ class Representation < Google::Apis::Core::JsonRepresentation
2842
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV4::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
2843
+
2844
+ property :next_page_token, as: 'nextPageToken'
2845
+ end
2846
+ end
2847
+
2848
+ class BulkListInsertionOrderAssignedTargetingOptionsResponse
2849
+ # @private
2850
+ class Representation < Google::Apis::Core::JsonRepresentation
2851
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV4::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
2852
+
2853
+ property :next_page_token, as: 'nextPageToken'
2854
+ end
2855
+ end
2856
+
2815
2857
  class BulkUpdateLineItemsRequest
2816
2858
  # @private
2817
2859
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3307,6 +3349,7 @@ module Google
3307
3349
  property :name, as: 'name'
3308
3350
  property :partner_id, :numeric_string => true, as: 'partnerId'
3309
3351
  collection :shared_advertiser_ids, as: 'sharedAdvertiserIds'
3352
+ property :third_party_optimization_partner, as: 'thirdPartyOptimizationPartner'
3310
3353
  end
3311
3354
  end
3312
3355
 
@@ -4349,6 +4392,15 @@ module Google
4349
4392
  end
4350
4393
  end
4351
4394
 
4395
+ class ListCampaignAssignedTargetingOptionsResponse
4396
+ # @private
4397
+ class Representation < Google::Apis::Core::JsonRepresentation
4398
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV4::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
4399
+
4400
+ property :next_page_token, as: 'nextPageToken'
4401
+ end
4402
+ end
4403
+
4352
4404
  class ListCampaignsResponse
4353
4405
  # @private
4354
4406
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4457,6 +4509,15 @@ module Google
4457
4509
  end
4458
4510
  end
4459
4511
 
4512
+ class ListInsertionOrderAssignedTargetingOptionsResponse
4513
+ # @private
4514
+ class Representation < Google::Apis::Core::JsonRepresentation
4515
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV4::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
4516
+
4517
+ property :next_page_token, as: 'nextPageToken'
4518
+ end
4519
+ end
4520
+
4460
4521
  class ListInsertionOrdersResponse
4461
4522
  # @private
4462
4523
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -976,6 +976,71 @@ module Google
976
976
  execute_or_queue_command(command, &block)
977
977
  end
978
978
 
979
+ # Lists assigned targeting options of a campaign across targeting types.
980
+ # @param [Fixnum] advertiser_id
981
+ # Required. The ID of the advertiser the campaign belongs to.
982
+ # @param [Fixnum] campaign_id
983
+ # Required. The ID of the campaign to list assigned targeting options for.
984
+ # @param [String] filter
985
+ # Allows filtering by assigned targeting option fields. Supported syntax: *
986
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
987
+ # be combined by the `OR` logical operator. * A restriction has the form of ``
988
+ # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
989
+ # Supported fields: * `targetingType` * `inheritance` Examples: * `
990
+ # AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE`
991
+ # or `TARGETING_TYPE_GENDER`: `targetingType="TARGETING_TYPE_LANGUAGE" OR
992
+ # targetingType="TARGETING_TYPE_GENDER"` * `AssignedTargetingOption` resources
993
+ # with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
994
+ # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
995
+ # length of this field should be no more than 500 characters. Reference our [
996
+ # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
997
+ # more information.
998
+ # @param [String] order_by
999
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
1000
+ # default) The default sorting order is ascending. To specify descending order
1001
+ # for a field, a suffix "desc" should be added to the field name. Example: `
1002
+ # targetingType desc`.
1003
+ # @param [Fixnum] page_size
1004
+ # Requested page size. The size must be an integer between `1` and `5000`. If
1005
+ # unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
1006
+ # an invalid value is specified.
1007
+ # @param [String] page_token
1008
+ # A token that lets the client fetch the next page of results. Typically, this
1009
+ # is the value of next_page_token returned from the previous call to `
1010
+ # BulkListCampaignAssignedTargetingOptions` method. If not specified, the first
1011
+ # page of results will be returned.
1012
+ # @param [String] fields
1013
+ # Selector specifying which fields to include in a partial response.
1014
+ # @param [String] quota_user
1015
+ # Available to use for quota purposes for server-side applications. Can be any
1016
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1017
+ # @param [Google::Apis::RequestOptions] options
1018
+ # Request-specific options
1019
+ #
1020
+ # @yield [result, err] Result & error if block supplied
1021
+ # @yieldparam result [Google::Apis::DisplayvideoV4::BulkListCampaignAssignedTargetingOptionsResponse] parsed result object
1022
+ # @yieldparam err [StandardError] error object if request failed
1023
+ #
1024
+ # @return [Google::Apis::DisplayvideoV4::BulkListCampaignAssignedTargetingOptionsResponse]
1025
+ #
1026
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1027
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1028
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1029
+ 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)
1030
+ command = make_simple_command(:get, 'v4/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions', options)
1031
+ command.response_representation = Google::Apis::DisplayvideoV4::BulkListCampaignAssignedTargetingOptionsResponse::Representation
1032
+ command.response_class = Google::Apis::DisplayvideoV4::BulkListCampaignAssignedTargetingOptionsResponse
1033
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1034
+ command.params['campaignId'] = campaign_id unless campaign_id.nil?
1035
+ command.query['filter'] = filter unless filter.nil?
1036
+ command.query['orderBy'] = order_by unless order_by.nil?
1037
+ command.query['pageSize'] = page_size unless page_size.nil?
1038
+ command.query['pageToken'] = page_token unless page_token.nil?
1039
+ command.query['fields'] = fields unless fields.nil?
1040
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1041
+ execute_or_queue_command(command, &block)
1042
+ end
1043
+
979
1044
  # Updates an existing campaign. Returns the updated campaign if successful.
980
1045
  # @param [Fixnum] advertiser_id
981
1046
  # Output only. The unique ID of the advertiser the campaign belongs to.
@@ -1015,6 +1080,138 @@ module Google
1015
1080
  execute_or_queue_command(command, &block)
1016
1081
  end
1017
1082
 
1083
+ # Gets a single targeting option assigned to a campaign.
1084
+ # @param [Fixnum] advertiser_id
1085
+ # Required. The ID of the advertiser the campaign belongs to.
1086
+ # @param [Fixnum] campaign_id
1087
+ # Required. The ID of the campaign the assigned targeting option belongs to.
1088
+ # @param [String] targeting_type
1089
+ # Required. Identifies the type of this assigned targeting option. Supported
1090
+ # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `
1091
+ # TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `
1092
+ # TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
1093
+ # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
1094
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1095
+ # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
1096
+ # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1097
+ # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
1098
+ # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `
1099
+ # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
1100
+ # * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `
1101
+ # TARGETING_TYPE_VIEWABILITY`
1102
+ # @param [String] assigned_targeting_option_id
1103
+ # Required. An identifier unique to the targeting type in this campaign that
1104
+ # identifies the assigned targeting option being requested.
1105
+ # @param [String] fields
1106
+ # Selector specifying which fields to include in a partial response.
1107
+ # @param [String] quota_user
1108
+ # Available to use for quota purposes for server-side applications. Can be any
1109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1110
+ # @param [Google::Apis::RequestOptions] options
1111
+ # Request-specific options
1112
+ #
1113
+ # @yield [result, err] Result & error if block supplied
1114
+ # @yieldparam result [Google::Apis::DisplayvideoV4::AssignedTargetingOption] parsed result object
1115
+ # @yieldparam err [StandardError] error object if request failed
1116
+ #
1117
+ # @return [Google::Apis::DisplayvideoV4::AssignedTargetingOption]
1118
+ #
1119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1122
+ 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)
1123
+ command = make_simple_command(:get, 'v4/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
1124
+ command.response_representation = Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
1125
+ command.response_class = Google::Apis::DisplayvideoV4::AssignedTargetingOption
1126
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1127
+ command.params['campaignId'] = campaign_id unless campaign_id.nil?
1128
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
1129
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
1130
+ command.query['fields'] = fields unless fields.nil?
1131
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1132
+ execute_or_queue_command(command, &block)
1133
+ end
1134
+
1135
+ # Lists the targeting options assigned to a campaign for a specified targeting
1136
+ # type.
1137
+ # @param [Fixnum] advertiser_id
1138
+ # Required. The ID of the advertiser the campaign belongs to.
1139
+ # @param [Fixnum] campaign_id
1140
+ # Required. The ID of the campaign to list assigned targeting options for.
1141
+ # @param [String] targeting_type
1142
+ # Required. Identifies the type of assigned targeting options to list. Supported
1143
+ # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `
1144
+ # TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `
1145
+ # TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
1146
+ # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
1147
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
1148
+ # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
1149
+ # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1150
+ # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
1151
+ # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `
1152
+ # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
1153
+ # * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `
1154
+ # TARGETING_TYPE_VIEWABILITY`
1155
+ # @param [String] filter
1156
+ # Allows filtering by assigned targeting option fields. Supported syntax: *
1157
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1158
+ # be combined by the `OR` logical operator. * A restriction has the form of ``
1159
+ # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
1160
+ # Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `
1161
+ # AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId="
1162
+ # 1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources
1163
+ # with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `
1164
+ # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
1165
+ # length of this field should be no more than 500 characters. Reference our [
1166
+ # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
1167
+ # more information.
1168
+ # @param [String] order_by
1169
+ # Field by which to sort the list. Acceptable values are: * `
1170
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
1171
+ # To specify descending order for a field, a suffix "desc" should be added to
1172
+ # the field name. Example: `assignedTargetingOptionId desc`.
1173
+ # @param [Fixnum] page_size
1174
+ # Requested page size. Must be between `1` and `5000`. If unspecified will
1175
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1176
+ # specified.
1177
+ # @param [String] page_token
1178
+ # A token identifying a page of results the server should return. Typically,
1179
+ # this is the value of next_page_token returned from the previous call to `
1180
+ # ListCampaignAssignedTargetingOptions` method. If not specified, the first page
1181
+ # of results will be returned.
1182
+ # @param [String] fields
1183
+ # Selector specifying which fields to include in a partial response.
1184
+ # @param [String] quota_user
1185
+ # Available to use for quota purposes for server-side applications. Can be any
1186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1187
+ # @param [Google::Apis::RequestOptions] options
1188
+ # Request-specific options
1189
+ #
1190
+ # @yield [result, err] Result & error if block supplied
1191
+ # @yieldparam result [Google::Apis::DisplayvideoV4::ListCampaignAssignedTargetingOptionsResponse] parsed result object
1192
+ # @yieldparam err [StandardError] error object if request failed
1193
+ #
1194
+ # @return [Google::Apis::DisplayvideoV4::ListCampaignAssignedTargetingOptionsResponse]
1195
+ #
1196
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1197
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1198
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1199
+ 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)
1200
+ command = make_simple_command(:get, 'v4/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
1201
+ command.response_representation = Google::Apis::DisplayvideoV4::ListCampaignAssignedTargetingOptionsResponse::Representation
1202
+ command.response_class = Google::Apis::DisplayvideoV4::ListCampaignAssignedTargetingOptionsResponse
1203
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1204
+ command.params['campaignId'] = campaign_id unless campaign_id.nil?
1205
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
1206
+ command.query['filter'] = filter unless filter.nil?
1207
+ command.query['orderBy'] = order_by unless order_by.nil?
1208
+ command.query['pageSize'] = page_size unless page_size.nil?
1209
+ command.query['pageToken'] = page_token unless page_token.nil?
1210
+ command.query['fields'] = fields unless fields.nil?
1211
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1212
+ execute_or_queue_command(command, &block)
1213
+ end
1214
+
1018
1215
  # Creates a new channel. Returns the newly created channel if successful.
1019
1216
  # @param [Fixnum] advertiser_id
1020
1217
  # The ID of the advertiser that owns the created channel.
@@ -1810,6 +2007,72 @@ module Google
1810
2007
  execute_or_queue_command(command, &block)
1811
2008
  end
1812
2009
 
2010
+ # Lists assigned targeting options of an insertion order across targeting types.
2011
+ # @param [Fixnum] advertiser_id
2012
+ # Required. The ID of the advertiser the insertion order belongs to.
2013
+ # @param [Fixnum] insertion_order_id
2014
+ # Required. The ID of the insertion order to list assigned targeting options for.
2015
+ # @param [String] filter
2016
+ # Allows filtering by assigned targeting option fields. Supported syntax: *
2017
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2018
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2019
+ # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
2020
+ # Supported fields: * `targetingType` * `inheritance` Examples: * `
2021
+ # AssignedTargetingOption` resources of targeting type `
2022
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `
2023
+ # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
2024
+ # TARGETING_TYPE_CHANNEL"` * `AssignedTargetingOption` resources with
2025
+ # inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
2026
+ # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
2027
+ # length of this field should be no more than 500 characters. Reference our [
2028
+ # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
2029
+ # more information.
2030
+ # @param [String] order_by
2031
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
2032
+ # default) The default sorting order is ascending. To specify descending order
2033
+ # for a field, a suffix "desc" should be added to the field name. Example: `
2034
+ # targetingType desc`.
2035
+ # @param [Fixnum] page_size
2036
+ # Requested page size. The size must be an integer between `1` and `5000`. If
2037
+ # unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
2038
+ # an invalid value is specified.
2039
+ # @param [String] page_token
2040
+ # A token that lets the client fetch the next page of results. Typically, this
2041
+ # is the value of next_page_token returned from the previous call to `
2042
+ # BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the
2043
+ # first page of results will be returned.
2044
+ # @param [String] fields
2045
+ # Selector specifying which fields to include in a partial response.
2046
+ # @param [String] quota_user
2047
+ # Available to use for quota purposes for server-side applications. Can be any
2048
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2049
+ # @param [Google::Apis::RequestOptions] options
2050
+ # Request-specific options
2051
+ #
2052
+ # @yield [result, err] Result & error if block supplied
2053
+ # @yieldparam result [Google::Apis::DisplayvideoV4::BulkListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
2054
+ # @yieldparam err [StandardError] error object if request failed
2055
+ #
2056
+ # @return [Google::Apis::DisplayvideoV4::BulkListInsertionOrderAssignedTargetingOptionsResponse]
2057
+ #
2058
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2059
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2060
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2061
+ 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)
2062
+ command = make_simple_command(:get, 'v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions', options)
2063
+ command.response_representation = Google::Apis::DisplayvideoV4::BulkListInsertionOrderAssignedTargetingOptionsResponse::Representation
2064
+ command.response_class = Google::Apis::DisplayvideoV4::BulkListInsertionOrderAssignedTargetingOptionsResponse
2065
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2066
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
2067
+ command.query['filter'] = filter unless filter.nil?
2068
+ command.query['orderBy'] = order_by unless order_by.nil?
2069
+ command.query['pageSize'] = page_size unless page_size.nil?
2070
+ command.query['pageToken'] = page_token unless page_token.nil?
2071
+ command.query['fields'] = fields unless fields.nil?
2072
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2073
+ execute_or_queue_command(command, &block)
2074
+ end
2075
+
1813
2076
  # Updates an existing insertion order. Returns the updated insertion order if
1814
2077
  # successful.
1815
2078
  # @param [Fixnum] advertiser_id
@@ -1850,6 +2113,277 @@ module Google
1850
2113
  execute_or_queue_command(command, &block)
1851
2114
  end
1852
2115
 
2116
+ # Assigns a targeting option to an insertion order. Returns the assigned
2117
+ # targeting option if successful. Supported targeting types: * `
2118
+ # TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
2119
+ # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
2120
+ # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
2121
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
2122
+ # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
2123
+ # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
2124
+ # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
2125
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
2126
+ # @param [Fixnum] advertiser_id
2127
+ # Required. The ID of the advertiser the insertion order belongs to.
2128
+ # @param [Fixnum] insertion_order_id
2129
+ # Required. The ID of the insertion order the assigned targeting option will
2130
+ # belong to.
2131
+ # @param [String] targeting_type
2132
+ # Required. Identifies the type of this assigned targeting option. Supported
2133
+ # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
2134
+ # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
2135
+ # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
2136
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
2137
+ # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
2138
+ # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
2139
+ # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
2140
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
2141
+ # @param [Google::Apis::DisplayvideoV4::AssignedTargetingOption] assigned_targeting_option_object
2142
+ # @param [String] fields
2143
+ # Selector specifying which fields to include in a partial response.
2144
+ # @param [String] quota_user
2145
+ # Available to use for quota purposes for server-side applications. Can be any
2146
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2147
+ # @param [Google::Apis::RequestOptions] options
2148
+ # Request-specific options
2149
+ #
2150
+ # @yield [result, err] Result & error if block supplied
2151
+ # @yieldparam result [Google::Apis::DisplayvideoV4::AssignedTargetingOption] parsed result object
2152
+ # @yieldparam err [StandardError] error object if request failed
2153
+ #
2154
+ # @return [Google::Apis::DisplayvideoV4::AssignedTargetingOption]
2155
+ #
2156
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2157
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2158
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2159
+ 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)
2160
+ command = make_simple_command(:post, 'v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
2161
+ command.request_representation = Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
2162
+ command.request_object = assigned_targeting_option_object
2163
+ command.response_representation = Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
2164
+ command.response_class = Google::Apis::DisplayvideoV4::AssignedTargetingOption
2165
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2166
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
2167
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2168
+ command.query['fields'] = fields unless fields.nil?
2169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2170
+ execute_or_queue_command(command, &block)
2171
+ end
2172
+
2173
+ # Deletes an assigned targeting option from an insertion order. Supported
2174
+ # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
2175
+ # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
2176
+ # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
2177
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
2178
+ # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
2179
+ # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
2180
+ # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
2181
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
2182
+ # @param [Fixnum] advertiser_id
2183
+ # Required. The ID of the advertiser the insertion order belongs to.
2184
+ # @param [Fixnum] insertion_order_id
2185
+ # Required. The ID of the insertion order the assigned targeting option belongs
2186
+ # to.
2187
+ # @param [String] targeting_type
2188
+ # Required. Identifies the type of this assigned targeting option. Supported
2189
+ # targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
2190
+ # TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
2191
+ # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
2192
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
2193
+ # * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
2194
+ # TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
2195
+ # TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
2196
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
2197
+ # @param [String] assigned_targeting_option_id
2198
+ # Required. The ID of the assigned targeting option to delete.
2199
+ # @param [String] fields
2200
+ # Selector specifying which fields to include in a partial response.
2201
+ # @param [String] quota_user
2202
+ # Available to use for quota purposes for server-side applications. Can be any
2203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2204
+ # @param [Google::Apis::RequestOptions] options
2205
+ # Request-specific options
2206
+ #
2207
+ # @yield [result, err] Result & error if block supplied
2208
+ # @yieldparam result [Google::Apis::DisplayvideoV4::Empty] parsed result object
2209
+ # @yieldparam err [StandardError] error object if request failed
2210
+ #
2211
+ # @return [Google::Apis::DisplayvideoV4::Empty]
2212
+ #
2213
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2214
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2215
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2216
+ 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)
2217
+ command = make_simple_command(:delete, 'v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
2218
+ command.response_representation = Google::Apis::DisplayvideoV4::Empty::Representation
2219
+ command.response_class = Google::Apis::DisplayvideoV4::Empty
2220
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2221
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
2222
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2223
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
2224
+ command.query['fields'] = fields unless fields.nil?
2225
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2226
+ execute_or_queue_command(command, &block)
2227
+ end
2228
+
2229
+ # Gets a single targeting option assigned to an insertion order.
2230
+ # @param [Fixnum] advertiser_id
2231
+ # Required. The ID of the advertiser the insertion order belongs to.
2232
+ # @param [Fixnum] insertion_order_id
2233
+ # Required. The ID of the insertion order the assigned targeting option belongs
2234
+ # to.
2235
+ # @param [String] targeting_type
2236
+ # Required. Identifies the type of this assigned targeting option. Supported
2237
+ # targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
2238
+ # `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
2239
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
2240
+ # * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
2241
+ # TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
2242
+ # TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
2243
+ # TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
2244
+ # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
2245
+ # TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
2246
+ # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
2247
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
2248
+ # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
2249
+ # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
2250
+ # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
2251
+ # TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
2252
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
2253
+ # TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
2254
+ # TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
2255
+ # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
2256
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
2257
+ # TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
2258
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
2259
+ # `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
2260
+ # TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
2261
+ # TARGETING_TYPE_VIEWABILITY`
2262
+ # @param [String] assigned_targeting_option_id
2263
+ # Required. An identifier unique to the targeting type in this insertion order
2264
+ # that identifies the assigned targeting option being requested.
2265
+ # @param [String] fields
2266
+ # Selector specifying which fields to include in a partial response.
2267
+ # @param [String] quota_user
2268
+ # Available to use for quota purposes for server-side applications. Can be any
2269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2270
+ # @param [Google::Apis::RequestOptions] options
2271
+ # Request-specific options
2272
+ #
2273
+ # @yield [result, err] Result & error if block supplied
2274
+ # @yieldparam result [Google::Apis::DisplayvideoV4::AssignedTargetingOption] parsed result object
2275
+ # @yieldparam err [StandardError] error object if request failed
2276
+ #
2277
+ # @return [Google::Apis::DisplayvideoV4::AssignedTargetingOption]
2278
+ #
2279
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2280
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2281
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2282
+ 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)
2283
+ command = make_simple_command(:get, 'v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
2284
+ command.response_representation = Google::Apis::DisplayvideoV4::AssignedTargetingOption::Representation
2285
+ command.response_class = Google::Apis::DisplayvideoV4::AssignedTargetingOption
2286
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2287
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
2288
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2289
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
2290
+ command.query['fields'] = fields unless fields.nil?
2291
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2292
+ execute_or_queue_command(command, &block)
2293
+ end
2294
+
2295
+ # Lists the targeting options assigned to an insertion order.
2296
+ # @param [Fixnum] advertiser_id
2297
+ # Required. The ID of the advertiser the insertion order belongs to.
2298
+ # @param [Fixnum] insertion_order_id
2299
+ # Required. The ID of the insertion order to list assigned targeting options for.
2300
+ # @param [String] targeting_type
2301
+ # Required. Identifies the type of assigned targeting options to list. Supported
2302
+ # targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
2303
+ # `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
2304
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
2305
+ # * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
2306
+ # TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
2307
+ # TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
2308
+ # TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
2309
+ # TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
2310
+ # TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
2311
+ # TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
2312
+ # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
2313
+ # * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
2314
+ # TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
2315
+ # TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
2316
+ # TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
2317
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
2318
+ # TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
2319
+ # TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
2320
+ # TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
2321
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
2322
+ # TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
2323
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
2324
+ # `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
2325
+ # TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
2326
+ # TARGETING_TYPE_VIEWABILITY`
2327
+ # @param [String] filter
2328
+ # Allows filtering by assigned targeting option fields. Supported syntax: *
2329
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2330
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2331
+ # field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
2332
+ # Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `
2333
+ # AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId="
2334
+ # 1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources
2335
+ # with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
2336
+ # inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
2337
+ # length of this field should be no more than 500 characters. Reference our [
2338
+ # filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
2339
+ # more information.
2340
+ # @param [String] order_by
2341
+ # Field by which to sort the list. Acceptable values are: * `
2342
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
2343
+ # To specify descending order for a field, a suffix "desc" should be added to
2344
+ # the field name. Example: `assignedTargetingOptionId desc`.
2345
+ # @param [Fixnum] page_size
2346
+ # Requested page size. Must be between `1` and `5000`. If unspecified will
2347
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2348
+ # specified.
2349
+ # @param [String] page_token
2350
+ # A token identifying a page of results the server should return. Typically,
2351
+ # this is the value of next_page_token returned from the previous call to `
2352
+ # ListInsertionOrderAssignedTargetingOptions` method. If not specified, the
2353
+ # first page of results will be returned.
2354
+ # @param [String] fields
2355
+ # Selector specifying which fields to include in a partial response.
2356
+ # @param [String] quota_user
2357
+ # Available to use for quota purposes for server-side applications. Can be any
2358
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2359
+ # @param [Google::Apis::RequestOptions] options
2360
+ # Request-specific options
2361
+ #
2362
+ # @yield [result, err] Result & error if block supplied
2363
+ # @yieldparam result [Google::Apis::DisplayvideoV4::ListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
2364
+ # @yieldparam err [StandardError] error object if request failed
2365
+ #
2366
+ # @return [Google::Apis::DisplayvideoV4::ListInsertionOrderAssignedTargetingOptionsResponse]
2367
+ #
2368
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2369
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2370
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2371
+ 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)
2372
+ command = make_simple_command(:get, 'v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
2373
+ command.response_representation = Google::Apis::DisplayvideoV4::ListInsertionOrderAssignedTargetingOptionsResponse::Representation
2374
+ command.response_class = Google::Apis::DisplayvideoV4::ListInsertionOrderAssignedTargetingOptionsResponse
2375
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2376
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
2377
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2378
+ command.query['filter'] = filter unless filter.nil?
2379
+ command.query['orderBy'] = order_by unless order_by.nil?
2380
+ command.query['pageSize'] = page_size unless page_size.nil?
2381
+ command.query['pageToken'] = page_token unless page_token.nil?
2382
+ command.query['fields'] = fields unless fields.nil?
2383
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2384
+ execute_or_queue_command(command, &block)
2385
+ end
2386
+
1853
2387
  # Lists invoices posted for an advertiser in a given month. Invoices generated
1854
2388
  # by billing profiles with a "Partner" invoice level are not retrievable through
1855
2389
  # this method.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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_v4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.9.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.10.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v4
62
62
  rdoc_options: []
63
63
  require_paths: