google-apis-displayvideo_v1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd280aeeb5cc366617cbb76da7f5e9037b9d19a7d2c04deb52e38a3c4552f2cb
4
- data.tar.gz: '068ab2f6394f8f1ff97f9f87305b0bcc439f1123f69fd410632e13e8f7058fb6'
3
+ metadata.gz: 85c4618545aa47d64dd0e067979a55c59ebca6c886d9d509180e43d7b9a8fbcf
4
+ data.tar.gz: 78670f4ec4c722ee7d5420623463e581de1d9e4c5c3f6aecebe604040ea5c59a
5
5
  SHA512:
6
- metadata.gz: 635db292bde70a97f1159a9387fb0b73090132c5a82c8d146caff27db91080ca418b0eb4a6845b8d18b57b2f5f4a58db1fc0f7fad0a1d900c22a67d8b2140614
7
- data.tar.gz: d38195f7ed7bd1a58d0e85866f197d77ff479590c373d670b74554de71886294a4ddfeef274b732fbe4a5cd058e3f26f47b17d4f7d2a6f7c5621b85fd9c4897a
6
+ metadata.gz: de7a4cd8aa12c903890293d907061c40e05e6ab93fcd7ebc91194a1ab0cde259fefad54c5e284cb72c5179fda00835932f59e06f3fe532bc2b8a0d3c88614486
7
+ data.tar.gz: 9675a91bbf4ec3d9863b5ef18c2c4af3d634b95e595f30372d0a1adf140bc9c05fec9011f66a648836e4f0a8774794c1be40817fff9cbea404e550199346a547
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.3.0 (2021-02-19)
4
+
5
+ * Regenerated from discovery document revision 20210218
6
+
3
7
  ### v0.2.0 (2021-02-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20210202
@@ -36,7 +36,7 @@ module Google
36
36
  # Create, see, and edit Display & Video 360 Campaign entities and see billing invoices
37
37
  AUTH_DISPLAY_VIDEO_MEDIAPLANNING = 'https://www.googleapis.com/auth/display-video-mediaplanning'
38
38
 
39
- # New Service: https://www.googleapis.com/auth/display-video-user-management
39
+ # Private Service: https://www.googleapis.com/auth/display-video-user-management
40
40
  AUTH_DISPLAY_VIDEO_USER_MANAGEMENT = 'https://www.googleapis.com/auth/display-video-user-management'
41
41
 
42
42
  # View and manage your reports in DoubleClick Bid Manager
@@ -1782,6 +1782,35 @@ module Google
1782
1782
  end
1783
1783
  end
1784
1784
 
1785
+ # Response message for BulkListInsertionOrderAssignedTargetingOptions.
1786
+ class BulkListInsertionOrderAssignedTargetingOptionsResponse
1787
+ include Google::Apis::Core::Hashable
1788
+
1789
+ # The list of assigned targeting options. This list will be absent if empty.
1790
+ # Corresponds to the JSON property `assignedTargetingOptions`
1791
+ # @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
1792
+ attr_accessor :assigned_targeting_options
1793
+
1794
+ # A token identifying the next page of results. This value should be specified
1795
+ # as the pageToken in a subsequent
1796
+ # BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page
1797
+ # of results. This token will be absent if there are no more
1798
+ # assigned_targeting_options to return.
1799
+ # Corresponds to the JSON property `nextPageToken`
1800
+ # @return [String]
1801
+ attr_accessor :next_page_token
1802
+
1803
+ def initialize(**args)
1804
+ update!(**args)
1805
+ end
1806
+
1807
+ # Update properties of this object
1808
+ def update!(**args)
1809
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
1810
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1811
+ end
1812
+ end
1813
+
1785
1814
  #
1786
1815
  class BulkListLineItemAssignedTargetingOptionsResponse
1787
1816
  include Google::Apis::Core::Hashable
@@ -2302,6 +2331,17 @@ module Google
2302
2331
  class ContentInstreamPositionAssignedTargetingOptionDetails
2303
2332
  include Google::Apis::Core::Hashable
2304
2333
 
2334
+ # Output only. The ad type to target. Only applicable to insertion order
2335
+ # targeting and new line items supporting the specified ad type will inherit
2336
+ # this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`, the
2337
+ # setting will be inherited by new line item when line_item_type is `
2338
+ # LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be
2339
+ # inherited by new line item when line_item_type is `
2340
+ # LINE_ITEM_TYPE_AUDIO_DEFAULT`.
2341
+ # Corresponds to the JSON property `adType`
2342
+ # @return [String]
2343
+ attr_accessor :ad_type
2344
+
2305
2345
  # Output only. The content instream position for video or audio ads.
2306
2346
  # Corresponds to the JSON property `contentInstreamPosition`
2307
2347
  # @return [String]
@@ -2319,6 +2359,7 @@ module Google
2319
2359
 
2320
2360
  # Update properties of this object
2321
2361
  def update!(**args)
2362
+ @ad_type = args[:ad_type] if args.key?(:ad_type)
2322
2363
  @content_instream_position = args[:content_instream_position] if args.key?(:content_instream_position)
2323
2364
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
2324
2365
  end
@@ -2352,6 +2393,17 @@ module Google
2352
2393
  class ContentOutstreamPositionAssignedTargetingOptionDetails
2353
2394
  include Google::Apis::Core::Hashable
2354
2395
 
2396
+ # Output only. The ad type to target. Only applicable to insertion order
2397
+ # targeting and new line items supporting the specified ad type will inherit
2398
+ # this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`,
2399
+ # the setting will be inherited by new line item when line_item_type is `
2400
+ # LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be
2401
+ # inherited by new line item when line_item_type is `
2402
+ # LINE_ITEM_TYPE_VIDEO_DEFAULT`.
2403
+ # Corresponds to the JSON property `adType`
2404
+ # @return [String]
2405
+ attr_accessor :ad_type
2406
+
2355
2407
  # Output only. The content outstream position.
2356
2408
  # Corresponds to the JSON property `contentOutstreamPosition`
2357
2409
  # @return [String]
@@ -2369,6 +2421,7 @@ module Google
2369
2421
 
2370
2422
  # Update properties of this object
2371
2423
  def update!(**args)
2424
+ @ad_type = args[:ad_type] if args.key?(:ad_type)
2372
2425
  @content_outstream_position = args[:content_outstream_position] if args.key?(:content_outstream_position)
2373
2426
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
2374
2427
  end
@@ -2758,6 +2811,16 @@ module Google
2758
2811
  # @return [String]
2759
2812
  attr_accessor :media_duration
2760
2813
 
2814
+ # Output only. Indicates the third-party audio creative supports MP3. Output
2815
+ # only and only valid for third-party audio creatives. Third-party audio
2816
+ # creatives are creatives with following hosting_source: * `
2817
+ # HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `
2818
+ # CREATIVE_TYPE_AUDIO`
2819
+ # Corresponds to the JSON property `mp3Audio`
2820
+ # @return [Boolean]
2821
+ attr_accessor :mp3_audio
2822
+ alias_method :mp3_audio?, :mp3_audio
2823
+
2761
2824
  # Output only. The resource name of the creative.
2762
2825
  # Corresponds to the JSON property `name`
2763
2826
  # @return [String]
@@ -2774,6 +2837,16 @@ module Google
2774
2837
  # @return [Google::Apis::DisplayvideoV1::ObaIcon]
2775
2838
  attr_accessor :oba_icon
2776
2839
 
2840
+ # Output only. Indicates the third-party audio creative supports OGG. Output
2841
+ # only and only valid for third-party audio creatives. Third-party audio
2842
+ # creatives are creatives with following hosting_source: * `
2843
+ # HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `
2844
+ # CREATIVE_TYPE_AUDIO`
2845
+ # Corresponds to the JSON property `oggAudio`
2846
+ # @return [Boolean]
2847
+ attr_accessor :ogg_audio
2848
+ alias_method :ogg_audio?, :ogg_audio
2849
+
2777
2850
  # The length an audio or a video has been played.
2778
2851
  # Corresponds to the JSON property `progressOffset`
2779
2852
  # @return [Google::Apis::DisplayvideoV1::AudioVideoOffset]
@@ -2944,9 +3017,11 @@ module Google
2944
3017
  @js_tracker_url = args[:js_tracker_url] if args.key?(:js_tracker_url)
2945
3018
  @line_item_ids = args[:line_item_ids] if args.key?(:line_item_ids)
2946
3019
  @media_duration = args[:media_duration] if args.key?(:media_duration)
3020
+ @mp3_audio = args[:mp3_audio] if args.key?(:mp3_audio)
2947
3021
  @name = args[:name] if args.key?(:name)
2948
3022
  @notes = args[:notes] if args.key?(:notes)
2949
3023
  @oba_icon = args[:oba_icon] if args.key?(:oba_icon)
3024
+ @ogg_audio = args[:ogg_audio] if args.key?(:ogg_audio)
2950
3025
  @progress_offset = args[:progress_offset] if args.key?(:progress_offset)
2951
3026
  @require_html5 = args[:require_html5] if args.key?(:require_html5)
2952
3027
  @require_mraid = args[:require_mraid] if args.key?(:require_mraid)
@@ -5841,6 +5916,35 @@ module Google
5841
5916
  end
5842
5917
  end
5843
5918
 
5919
+ # Response message for ListInsertionOrderAssignedTargetingOptions.
5920
+ class ListInsertionOrderAssignedTargetingOptionsResponse
5921
+ include Google::Apis::Core::Hashable
5922
+
5923
+ # The list of assigned targeting options. This list will be absent if empty.
5924
+ # Corresponds to the JSON property `assignedTargetingOptions`
5925
+ # @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
5926
+ attr_accessor :assigned_targeting_options
5927
+
5928
+ # A token identifying the next page of results. This value should be specified
5929
+ # as the pageToken in a subsequent
5930
+ # ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of
5931
+ # results. This token will be absent if there are no more
5932
+ # assigned_targeting_options to return.
5933
+ # Corresponds to the JSON property `nextPageToken`
5934
+ # @return [String]
5935
+ attr_accessor :next_page_token
5936
+
5937
+ def initialize(**args)
5938
+ update!(**args)
5939
+ end
5940
+
5941
+ # Update properties of this object
5942
+ def update!(**args)
5943
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
5944
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5945
+ end
5946
+ end
5947
+
5844
5948
  #
5845
5949
  class ListInsertionOrdersResponse
5846
5950
  include Google::Apis::Core::Hashable
@@ -6660,6 +6764,17 @@ module Google
6660
6764
  class OnScreenPositionAssignedTargetingOptionDetails
6661
6765
  include Google::Apis::Core::Hashable
6662
6766
 
6767
+ # Output only. The ad type to target. Only applicable to insertion order
6768
+ # targeting and new line items supporting the specified ad type will inherit
6769
+ # this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`,
6770
+ # the setting will be inherited by new line item when line_item_type is `
6771
+ # LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be
6772
+ # inherited by new line item when line_item_type is `
6773
+ # LINE_ITEM_TYPE_VIDEO_DEFAULT`.
6774
+ # Corresponds to the JSON property `adType`
6775
+ # @return [String]
6776
+ attr_accessor :ad_type
6777
+
6663
6778
  # Output only. The on screen position.
6664
6779
  # Corresponds to the JSON property `onScreenPosition`
6665
6780
  # @return [String]
@@ -6677,6 +6792,7 @@ module Google
6677
6792
 
6678
6793
  # Update properties of this object
6679
6794
  def update!(**args)
6795
+ @ad_type = args[:ad_type] if args.key?(:ad_type)
6680
6796
  @on_screen_position = args[:on_screen_position] if args.key?(:on_screen_position)
6681
6797
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
6682
6798
  end
@@ -7184,16 +7300,19 @@ module Google
7184
7300
  # The goal amount, in micros of the advertiser's currency. Applicable when
7185
7301
  # performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CPM` * `
7186
7302
  # PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `
7187
- # PERFORMANCE_GOAL_TYPE_CPIAVC` For example 1500000 represents 1.5 standard
7188
- # units of the currency.
7303
+ # PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_VCPM` For example
7304
+ # 1500000 represents 1.5 standard units of the currency.
7189
7305
  # Corresponds to the JSON property `performanceGoalAmountMicros`
7190
7306
  # @return [Fixnum]
7191
7307
  attr_accessor :performance_goal_amount_micros
7192
7308
 
7193
7309
  # The decimal representation of the goal percentage in micros. Applicable when
7194
7310
  # performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CTR` * `
7195
- # PERFORMANCE_GOAL_TYPE_VIEWABILITY` For example, 70000 represents 7% (decimal 0.
7196
- # 07).
7311
+ # PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_CLICK_CVR` * `
7312
+ # PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR` * `
7313
+ # PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` * `
7314
+ # PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, 70000 represents 7% (
7315
+ # decimal 0.07).
7197
7316
  # Corresponds to the JSON property `performanceGoalPercentageMicros`
7198
7317
  # @return [Fixnum]
7199
7318
  attr_accessor :performance_goal_percentage_micros
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV1
18
18
  # Version of the google-apis-displayvideo_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210202"
25
+ REVISION = "20210218"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class BulkListInsertionOrderAssignedTargetingOptionsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class BulkListLineItemAssignedTargetingOptionsResponse
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -940,6 +946,12 @@ module Google
940
946
  include Google::Apis::Core::JsonObjectSupport
941
947
  end
942
948
 
949
+ class ListInsertionOrderAssignedTargetingOptionsResponse
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
943
955
  class ListInsertionOrdersResponse
944
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
957
 
@@ -1901,6 +1913,15 @@ module Google
1901
1913
  end
1902
1914
  end
1903
1915
 
1916
+ class BulkListInsertionOrderAssignedTargetingOptionsResponse
1917
+ # @private
1918
+ class Representation < Google::Apis::Core::JsonRepresentation
1919
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
1920
+
1921
+ property :next_page_token, as: 'nextPageToken'
1922
+ end
1923
+ end
1924
+
1904
1925
  class BulkListLineItemAssignedTargetingOptionsResponse
1905
1926
  # @private
1906
1927
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2046,6 +2067,7 @@ module Google
2046
2067
  class ContentInstreamPositionAssignedTargetingOptionDetails
2047
2068
  # @private
2048
2069
  class Representation < Google::Apis::Core::JsonRepresentation
2070
+ property :ad_type, as: 'adType'
2049
2071
  property :content_instream_position, as: 'contentInstreamPosition'
2050
2072
  property :targeting_option_id, as: 'targetingOptionId'
2051
2073
  end
@@ -2061,6 +2083,7 @@ module Google
2061
2083
  class ContentOutstreamPositionAssignedTargetingOptionDetails
2062
2084
  # @private
2063
2085
  class Representation < Google::Apis::Core::JsonRepresentation
2086
+ property :ad_type, as: 'adType'
2064
2087
  property :content_outstream_position, as: 'contentOutstreamPosition'
2065
2088
  property :targeting_option_id, as: 'targetingOptionId'
2066
2089
  end
@@ -2164,10 +2187,12 @@ module Google
2164
2187
  property :js_tracker_url, as: 'jsTrackerUrl'
2165
2188
  collection :line_item_ids, as: 'lineItemIds'
2166
2189
  property :media_duration, as: 'mediaDuration'
2190
+ property :mp3_audio, as: 'mp3Audio'
2167
2191
  property :name, as: 'name'
2168
2192
  property :notes, as: 'notes'
2169
2193
  property :oba_icon, as: 'obaIcon', class: Google::Apis::DisplayvideoV1::ObaIcon, decorator: Google::Apis::DisplayvideoV1::ObaIcon::Representation
2170
2194
 
2195
+ property :ogg_audio, as: 'oggAudio'
2171
2196
  property :progress_offset, as: 'progressOffset', class: Google::Apis::DisplayvideoV1::AudioVideoOffset, decorator: Google::Apis::DisplayvideoV1::AudioVideoOffset::Representation
2172
2197
 
2173
2198
  property :require_html5, as: 'requireHtml5'
@@ -2986,6 +3011,15 @@ module Google
2986
3011
  end
2987
3012
  end
2988
3013
 
3014
+ class ListInsertionOrderAssignedTargetingOptionsResponse
3015
+ # @private
3016
+ class Representation < Google::Apis::Core::JsonRepresentation
3017
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
3018
+
3019
+ property :next_page_token, as: 'nextPageToken'
3020
+ end
3021
+ end
3022
+
2989
3023
  class ListInsertionOrdersResponse
2990
3024
  # @private
2991
3025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3223,6 +3257,7 @@ module Google
3223
3257
  class OnScreenPositionAssignedTargetingOptionDetails
3224
3258
  # @private
3225
3259
  class Representation < Google::Apis::Core::JsonRepresentation
3260
+ property :ad_type, as: 'adType'
3226
3261
  property :on_screen_position, as: 'onScreenPosition'
3227
3262
  property :targeting_option_id, as: 'targetingOptionId'
3228
3263
  end
@@ -1194,6 +1194,70 @@ module Google
1194
1194
  execute_or_queue_command(command, &block)
1195
1195
  end
1196
1196
 
1197
+ # Lists assigned targeting options of an insertion order across targeting types.
1198
+ # @param [Fixnum] advertiser_id
1199
+ # Required. The ID of the advertiser the insertion order belongs to.
1200
+ # @param [Fixnum] insertion_order_id
1201
+ # Required. The ID of the insertion order to list assigned targeting options for.
1202
+ # @param [String] filter
1203
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1204
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1205
+ # be combined by the logical operator `OR` on the same field. * A restriction
1206
+ # has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
1207
+ # )`. * Supported fields: - `targetingType` - `inheritance` Examples: *
1208
+ # AssignedTargetingOptions of targeting type
1209
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `
1210
+ # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
1211
+ # TARGETING_TYPE_CHANNEL"` * AssignedTargetingOptions with inheritance status of
1212
+ # NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR
1213
+ # inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1214
+ # more than 500 characters.
1215
+ # @param [String] order_by
1216
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
1217
+ # default) The default sorting order is ascending. To specify descending order
1218
+ # for a field, a suffix "desc" should be added to the field name. Example: `
1219
+ # targetingType desc`.
1220
+ # @param [Fixnum] page_size
1221
+ # Requested page size. The size must be an integer between `1` and `5000`. If
1222
+ # unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
1223
+ # an invalid value is specified.
1224
+ # @param [String] page_token
1225
+ # A token that lets the client fetch the next page of results. Typically, this
1226
+ # is the value of next_page_token returned from the previous call to `
1227
+ # BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the
1228
+ # first page of results will be returned.
1229
+ # @param [String] fields
1230
+ # Selector specifying which fields to include in a partial response.
1231
+ # @param [String] quota_user
1232
+ # Available to use for quota purposes for server-side applications. Can be any
1233
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1234
+ # @param [Google::Apis::RequestOptions] options
1235
+ # Request-specific options
1236
+ #
1237
+ # @yield [result, err] Result & error if block supplied
1238
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
1239
+ # @yieldparam err [StandardError] error object if request failed
1240
+ #
1241
+ # @return [Google::Apis::DisplayvideoV1::BulkListInsertionOrderAssignedTargetingOptionsResponse]
1242
+ #
1243
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1244
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1245
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1246
+ def bulk_advertiser_insertion_order_list_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)
1247
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:bulkListInsertionOrderAssignedTargetingOptions', options)
1248
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkListInsertionOrderAssignedTargetingOptionsResponse::Representation
1249
+ command.response_class = Google::Apis::DisplayvideoV1::BulkListInsertionOrderAssignedTargetingOptionsResponse
1250
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1251
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1252
+ command.query['filter'] = filter unless filter.nil?
1253
+ command.query['orderBy'] = order_by unless order_by.nil?
1254
+ command.query['pageSize'] = page_size unless page_size.nil?
1255
+ command.query['pageToken'] = page_token unless page_token.nil?
1256
+ command.query['fields'] = fields unless fields.nil?
1257
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1258
+ execute_or_queue_command(command, &block)
1259
+ end
1260
+
1197
1261
  # Creates a new insertion order. Returns the newly created insertion order if
1198
1262
  # successful.
1199
1263
  # @param [Fixnum] advertiser_id
@@ -1408,6 +1472,112 @@ module Google
1408
1472
  execute_or_queue_command(command, &block)
1409
1473
  end
1410
1474
 
1475
+ # Gets a single targeting option assigned to an insertion order.
1476
+ # @param [Fixnum] advertiser_id
1477
+ # Required. The ID of the advertiser the insertion order belongs to.
1478
+ # @param [Fixnum] insertion_order_id
1479
+ # Required. The ID of the insertion order the assigned targeting option belongs
1480
+ # to.
1481
+ # @param [String] targeting_type
1482
+ # Required. Identifies the type of this assigned targeting option.
1483
+ # @param [String] assigned_targeting_option_id
1484
+ # Required. An identifier unique to the targeting type in this insertion order
1485
+ # that identifies the assigned targeting option being requested.
1486
+ # @param [String] fields
1487
+ # Selector specifying which fields to include in a partial response.
1488
+ # @param [String] quota_user
1489
+ # Available to use for quota purposes for server-side applications. Can be any
1490
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1491
+ # @param [Google::Apis::RequestOptions] options
1492
+ # Request-specific options
1493
+ #
1494
+ # @yield [result, err] Result & error if block supplied
1495
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
1496
+ # @yieldparam err [StandardError] error object if request failed
1497
+ #
1498
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
1499
+ #
1500
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1501
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1502
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1503
+ 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)
1504
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
1505
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
1506
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
1507
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1508
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1509
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
1510
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
1511
+ command.query['fields'] = fields unless fields.nil?
1512
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1513
+ execute_or_queue_command(command, &block)
1514
+ end
1515
+
1516
+ # Lists the targeting options assigned to an insertion order.
1517
+ # @param [Fixnum] advertiser_id
1518
+ # Required. The ID of the advertiser the insertion order belongs to.
1519
+ # @param [Fixnum] insertion_order_id
1520
+ # Required. The ID of the insertion order to list assigned targeting options for.
1521
+ # @param [String] targeting_type
1522
+ # Required. Identifies the type of assigned targeting options to list.
1523
+ # @param [String] filter
1524
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1525
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1526
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
1527
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
1528
+ # fields: - `assignedTargetingOptionId` - `inheritance` Examples: *
1529
+ # AssignedTargetingOptions with ID 1 or 2 `assignedTargetingOptionId="1" OR
1530
+ # assignedTargetingOptionId="2"` * AssignedTargetingOptions with inheritance
1531
+ # status of NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED"
1532
+ # OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1533
+ # more than 500 characters.
1534
+ # @param [String] order_by
1535
+ # Field by which to sort the list. Acceptable values are: * `
1536
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
1537
+ # To specify descending order for a field, a suffix "desc" should be added to
1538
+ # the field name. Example: `assignedTargetingOptionId desc`.
1539
+ # @param [Fixnum] page_size
1540
+ # Requested page size. Must be between `1` and `100`. If unspecified will
1541
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1542
+ # specified.
1543
+ # @param [String] page_token
1544
+ # A token identifying a page of results the server should return. Typically,
1545
+ # this is the value of next_page_token returned from the previous call to `
1546
+ # ListInsertionOrderAssignedTargetingOptions` method. If not specified, the
1547
+ # first page of results will be returned.
1548
+ # @param [String] fields
1549
+ # Selector specifying which fields to include in a partial response.
1550
+ # @param [String] quota_user
1551
+ # Available to use for quota purposes for server-side applications. Can be any
1552
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1553
+ # @param [Google::Apis::RequestOptions] options
1554
+ # Request-specific options
1555
+ #
1556
+ # @yield [result, err] Result & error if block supplied
1557
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
1558
+ # @yieldparam err [StandardError] error object if request failed
1559
+ #
1560
+ # @return [Google::Apis::DisplayvideoV1::ListInsertionOrderAssignedTargetingOptionsResponse]
1561
+ #
1562
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1563
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1564
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1565
+ 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)
1566
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
1567
+ command.response_representation = Google::Apis::DisplayvideoV1::ListInsertionOrderAssignedTargetingOptionsResponse::Representation
1568
+ command.response_class = Google::Apis::DisplayvideoV1::ListInsertionOrderAssignedTargetingOptionsResponse
1569
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1570
+ command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
1571
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
1572
+ command.query['filter'] = filter unless filter.nil?
1573
+ command.query['orderBy'] = order_by unless order_by.nil?
1574
+ command.query['pageSize'] = page_size unless page_size.nil?
1575
+ command.query['pageToken'] = page_token unless page_token.nil?
1576
+ command.query['fields'] = fields unless fields.nil?
1577
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1578
+ execute_or_queue_command(command, &block)
1579
+ end
1580
+
1411
1581
  # Bulk edits targeting options under a single line item. The operation will
1412
1582
  # delete the assigned targeting options provided in
1413
1583
  # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-displayvideo_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-displayvideo_v1
57
57
  post_install_message:
58
58
  rdoc_options: []