google-apis-displayvideo_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/google/apis/displayvideo_v1.rb +1 -1
- data/lib/google/apis/displayvideo_v1/classes.rb +188 -18
- data/lib/google/apis/displayvideo_v1/gem_version.rb +3 -3
- data/lib/google/apis/displayvideo_v1/representations.rb +54 -0
- data/lib/google/apis/displayvideo_v1/service.rb +186 -10
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36519955e18d684befa7ee1eaeb54b211cbe6c7996775b57027834a41787de44
|
4
|
+
data.tar.gz: 754fe72b2a408027adddb37a263c803944cc3f9ea1e34675ad992272af5d70dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fd7cbbe2422ad5262aaa46b65d5b8523e9c9b8300c31cd9aecc07ea2d2c41eb1222d614e6cc8967d51ba8ea18cccecd33bca7c9578d1b1a58059522a250c8b5
|
7
|
+
data.tar.gz: 5287b9f515c1582d9e59164be91106f29e55723db20e1f23464d848434dd571ae30fafd834e12f61bffcde4c1e36efc111136b0fc2b07e794f602f094d5a2083
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release history for google-apis-displayvideo_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210312
|
6
|
+
* Regenerated using generator version 0.2.0
|
7
|
+
|
8
|
+
### v0.5.0 (2021-03-05)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210304
|
11
|
+
* Unspecified changes
|
12
|
+
|
13
|
+
### v0.4.0 (2021-02-26)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20210225
|
16
|
+
|
17
|
+
### v0.3.0 (2021-02-19)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20210218
|
20
|
+
|
21
|
+
### v0.2.0 (2021-02-04)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210202
|
24
|
+
* Regenerated using generator version 0.1.2
|
25
|
+
|
3
26
|
### v0.1.0 (2021-01-07)
|
4
27
|
|
5
28
|
* Regenerated using generator version 0.1.1
|
@@ -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
|
-
#
|
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
|
@@ -685,7 +685,7 @@ module Google
|
|
685
685
|
attr_accessor :app_details
|
686
686
|
|
687
687
|
# Output only. The unique ID of the assigned targeting option. The ID is only
|
688
|
-
# unique within a given
|
688
|
+
# unique within a given resource and targeting type. It may be reused in other
|
689
689
|
# contexts.
|
690
690
|
# Corresponds to the JSON property `assignedTargetingOptionId`
|
691
691
|
# @return [String]
|
@@ -1301,8 +1301,7 @@ module Google
|
|
1301
1301
|
attr_accessor :display_name
|
1302
1302
|
|
1303
1303
|
# Indicates if this option is being negatively targeted. All assigned browser
|
1304
|
-
# targeting options on the same
|
1305
|
-
# field.
|
1304
|
+
# targeting options on the same resource must have the same value for this field.
|
1306
1305
|
# Corresponds to the JSON property `negative`
|
1307
1306
|
# @return [Boolean]
|
1308
1307
|
attr_accessor :negative
|
@@ -1782,6 +1781,35 @@ module Google
|
|
1782
1781
|
end
|
1783
1782
|
end
|
1784
1783
|
|
1784
|
+
# Response message for BulkListInsertionOrderAssignedTargetingOptions.
|
1785
|
+
class BulkListInsertionOrderAssignedTargetingOptionsResponse
|
1786
|
+
include Google::Apis::Core::Hashable
|
1787
|
+
|
1788
|
+
# The list of assigned targeting options. This list will be absent if empty.
|
1789
|
+
# Corresponds to the JSON property `assignedTargetingOptions`
|
1790
|
+
# @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
|
1791
|
+
attr_accessor :assigned_targeting_options
|
1792
|
+
|
1793
|
+
# A token identifying the next page of results. This value should be specified
|
1794
|
+
# as the pageToken in a subsequent
|
1795
|
+
# BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page
|
1796
|
+
# of results. This token will be absent if there are no more
|
1797
|
+
# assigned_targeting_options to return.
|
1798
|
+
# Corresponds to the JSON property `nextPageToken`
|
1799
|
+
# @return [String]
|
1800
|
+
attr_accessor :next_page_token
|
1801
|
+
|
1802
|
+
def initialize(**args)
|
1803
|
+
update!(**args)
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
# Update properties of this object
|
1807
|
+
def update!(**args)
|
1808
|
+
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
1809
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1810
|
+
end
|
1811
|
+
end
|
1812
|
+
|
1785
1813
|
#
|
1786
1814
|
class BulkListLineItemAssignedTargetingOptionsResponse
|
1787
1815
|
include Google::Apis::Core::Hashable
|
@@ -1949,7 +1977,7 @@ module Google
|
|
1949
1977
|
attr_accessor :display_name
|
1950
1978
|
|
1951
1979
|
# Indicates if this option is being negatively targeted. All assigned carrier
|
1952
|
-
# and ISP targeting options on the same
|
1980
|
+
# and ISP targeting options on the same resource must have the same value for
|
1953
1981
|
# this field.
|
1954
1982
|
# Corresponds to the JSON property `negative`
|
1955
1983
|
# @return [Boolean]
|
@@ -2302,6 +2330,17 @@ module Google
|
|
2302
2330
|
class ContentInstreamPositionAssignedTargetingOptionDetails
|
2303
2331
|
include Google::Apis::Core::Hashable
|
2304
2332
|
|
2333
|
+
# Output only. The ad type to target. Only applicable to insertion order
|
2334
|
+
# targeting and new line items supporting the specified ad type will inherit
|
2335
|
+
# this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`, the
|
2336
|
+
# setting will be inherited by new line item when line_item_type is `
|
2337
|
+
# LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be
|
2338
|
+
# inherited by new line item when line_item_type is `
|
2339
|
+
# LINE_ITEM_TYPE_AUDIO_DEFAULT`.
|
2340
|
+
# Corresponds to the JSON property `adType`
|
2341
|
+
# @return [String]
|
2342
|
+
attr_accessor :ad_type
|
2343
|
+
|
2305
2344
|
# Output only. The content instream position for video or audio ads.
|
2306
2345
|
# Corresponds to the JSON property `contentInstreamPosition`
|
2307
2346
|
# @return [String]
|
@@ -2319,6 +2358,7 @@ module Google
|
|
2319
2358
|
|
2320
2359
|
# Update properties of this object
|
2321
2360
|
def update!(**args)
|
2361
|
+
@ad_type = args[:ad_type] if args.key?(:ad_type)
|
2322
2362
|
@content_instream_position = args[:content_instream_position] if args.key?(:content_instream_position)
|
2323
2363
|
@targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
|
2324
2364
|
end
|
@@ -2352,6 +2392,17 @@ module Google
|
|
2352
2392
|
class ContentOutstreamPositionAssignedTargetingOptionDetails
|
2353
2393
|
include Google::Apis::Core::Hashable
|
2354
2394
|
|
2395
|
+
# Output only. The ad type to target. Only applicable to insertion order
|
2396
|
+
# targeting and new line items supporting the specified ad type will inherit
|
2397
|
+
# this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`,
|
2398
|
+
# the setting will be inherited by new line item when line_item_type is `
|
2399
|
+
# LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be
|
2400
|
+
# inherited by new line item when line_item_type is `
|
2401
|
+
# LINE_ITEM_TYPE_VIDEO_DEFAULT`.
|
2402
|
+
# Corresponds to the JSON property `adType`
|
2403
|
+
# @return [String]
|
2404
|
+
attr_accessor :ad_type
|
2405
|
+
|
2355
2406
|
# Output only. The content outstream position.
|
2356
2407
|
# Corresponds to the JSON property `contentOutstreamPosition`
|
2357
2408
|
# @return [String]
|
@@ -2369,6 +2420,7 @@ module Google
|
|
2369
2420
|
|
2370
2421
|
# Update properties of this object
|
2371
2422
|
def update!(**args)
|
2423
|
+
@ad_type = args[:ad_type] if args.key?(:ad_type)
|
2372
2424
|
@content_outstream_position = args[:content_outstream_position] if args.key?(:content_outstream_position)
|
2373
2425
|
@targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
|
2374
2426
|
end
|
@@ -2758,6 +2810,16 @@ module Google
|
|
2758
2810
|
# @return [String]
|
2759
2811
|
attr_accessor :media_duration
|
2760
2812
|
|
2813
|
+
# Output only. Indicates the third-party audio creative supports MP3. Output
|
2814
|
+
# only and only valid for third-party audio creatives. Third-party audio
|
2815
|
+
# creatives are creatives with following hosting_source: * `
|
2816
|
+
# HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `
|
2817
|
+
# CREATIVE_TYPE_AUDIO`
|
2818
|
+
# Corresponds to the JSON property `mp3Audio`
|
2819
|
+
# @return [Boolean]
|
2820
|
+
attr_accessor :mp3_audio
|
2821
|
+
alias_method :mp3_audio?, :mp3_audio
|
2822
|
+
|
2761
2823
|
# Output only. The resource name of the creative.
|
2762
2824
|
# Corresponds to the JSON property `name`
|
2763
2825
|
# @return [String]
|
@@ -2774,6 +2836,16 @@ module Google
|
|
2774
2836
|
# @return [Google::Apis::DisplayvideoV1::ObaIcon]
|
2775
2837
|
attr_accessor :oba_icon
|
2776
2838
|
|
2839
|
+
# Output only. Indicates the third-party audio creative supports OGG. Output
|
2840
|
+
# only and only valid for third-party audio creatives. Third-party audio
|
2841
|
+
# creatives are creatives with following hosting_source: * `
|
2842
|
+
# HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `
|
2843
|
+
# CREATIVE_TYPE_AUDIO`
|
2844
|
+
# Corresponds to the JSON property `oggAudio`
|
2845
|
+
# @return [Boolean]
|
2846
|
+
attr_accessor :ogg_audio
|
2847
|
+
alias_method :ogg_audio?, :ogg_audio
|
2848
|
+
|
2777
2849
|
# The length an audio or a video has been played.
|
2778
2850
|
# Corresponds to the JSON property `progressOffset`
|
2779
2851
|
# @return [Google::Apis::DisplayvideoV1::AudioVideoOffset]
|
@@ -2810,7 +2882,7 @@ module Google
|
|
2810
2882
|
# CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` Third-party VAST tag
|
2811
2883
|
# creatives are creatives with following hosting_source: * `
|
2812
2884
|
# HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `
|
2813
|
-
# CREATIVE_TYPE_VIDEO`
|
2885
|
+
# CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`
|
2814
2886
|
# Corresponds to the JSON property `requirePingForAttribution`
|
2815
2887
|
# @return [Boolean]
|
2816
2888
|
attr_accessor :require_ping_for_attribution
|
@@ -2897,7 +2969,7 @@ module Google
|
|
2897
2969
|
# Required and only valid for third-party VAST tag creatives. Third-party VAST
|
2898
2970
|
# tag creatives are creatives with following hosting_source: * `
|
2899
2971
|
# HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `
|
2900
|
-
# CREATIVE_TYPE_VIDEO`
|
2972
|
+
# CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`
|
2901
2973
|
# Corresponds to the JSON property `vastTagUrl`
|
2902
2974
|
# @return [String]
|
2903
2975
|
attr_accessor :vast_tag_url
|
@@ -2944,9 +3016,11 @@ module Google
|
|
2944
3016
|
@js_tracker_url = args[:js_tracker_url] if args.key?(:js_tracker_url)
|
2945
3017
|
@line_item_ids = args[:line_item_ids] if args.key?(:line_item_ids)
|
2946
3018
|
@media_duration = args[:media_duration] if args.key?(:media_duration)
|
3019
|
+
@mp3_audio = args[:mp3_audio] if args.key?(:mp3_audio)
|
2947
3020
|
@name = args[:name] if args.key?(:name)
|
2948
3021
|
@notes = args[:notes] if args.key?(:notes)
|
2949
3022
|
@oba_icon = args[:oba_icon] if args.key?(:oba_icon)
|
3023
|
+
@ogg_audio = args[:ogg_audio] if args.key?(:ogg_audio)
|
2950
3024
|
@progress_offset = args[:progress_offset] if args.key?(:progress_offset)
|
2951
3025
|
@require_html5 = args[:require_html5] if args.key?(:require_html5)
|
2952
3026
|
@require_mraid = args[:require_mraid] if args.key?(:require_mraid)
|
@@ -4180,18 +4254,18 @@ module Google
|
|
4180
4254
|
include Google::Apis::Core::Hashable
|
4181
4255
|
|
4182
4256
|
# The maximum number of times a user may be shown with the same ad during this
|
4183
|
-
# period. Must be greater than 0.
|
4257
|
+
# period. Must be greater than 0. Required when unlimited is `false`.
|
4184
4258
|
# Corresponds to the JSON property `maxImpressions`
|
4185
4259
|
# @return [Fixnum]
|
4186
4260
|
attr_accessor :max_impressions
|
4187
4261
|
|
4188
|
-
# The time unit in which the frequency cap will be applied.
|
4262
|
+
# The time unit in which the frequency cap will be applied. Required when
|
4189
4263
|
# unlimited is `false`.
|
4190
4264
|
# Corresponds to the JSON property `timeUnit`
|
4191
4265
|
# @return [String]
|
4192
4266
|
attr_accessor :time_unit
|
4193
4267
|
|
4194
|
-
# The number of time_unit the frequency cap will last.
|
4268
|
+
# The number of time_unit the frequency cap will last. Required when unlimited
|
4195
4269
|
# is `false`. The following restrictions apply based on the value of time_unit: *
|
4196
4270
|
# `TIME_UNIT_LIFETIME` - this field is output only and will default to 1 * `
|
4197
4271
|
# TIME_UNIT_MONTHS` - must be between 1 and 2 * `TIME_UNIT_WEEKS` - must be
|
@@ -4613,6 +4687,12 @@ module Google
|
|
4613
4687
|
# @return [Fixnum]
|
4614
4688
|
attr_accessor :insertion_order_id
|
4615
4689
|
|
4690
|
+
# The type of insertion order. If this field is unspecified in creation, the
|
4691
|
+
# value defaults to `RTB`.
|
4692
|
+
# Corresponds to the JSON property `insertionOrderType`
|
4693
|
+
# @return [String]
|
4694
|
+
attr_accessor :insertion_order_type
|
4695
|
+
|
4616
4696
|
# Integration details of an entry.
|
4617
4697
|
# Corresponds to the JSON property `integrationDetails`
|
4618
4698
|
# @return [Google::Apis::DisplayvideoV1::IntegrationDetails]
|
@@ -4660,6 +4740,7 @@ module Google
|
|
4660
4740
|
@entity_status = args[:entity_status] if args.key?(:entity_status)
|
4661
4741
|
@frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap)
|
4662
4742
|
@insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
|
4743
|
+
@insertion_order_type = args[:insertion_order_type] if args.key?(:insertion_order_type)
|
4663
4744
|
@integration_details = args[:integration_details] if args.key?(:integration_details)
|
4664
4745
|
@name = args[:name] if args.key?(:name)
|
4665
4746
|
@pacing = args[:pacing] if args.key?(:pacing)
|
@@ -5213,8 +5294,7 @@ module Google
|
|
5213
5294
|
attr_accessor :display_name
|
5214
5295
|
|
5215
5296
|
# Indicates if this option is being negatively targeted. All assigned language
|
5216
|
-
# targeting options on the same
|
5217
|
-
# field.
|
5297
|
+
# targeting options on the same resource must have the same value for this field.
|
5218
5298
|
# Corresponds to the JSON property `negative`
|
5219
5299
|
# @return [Boolean]
|
5220
5300
|
attr_accessor :negative
|
@@ -5348,6 +5428,11 @@ module Google
|
|
5348
5428
|
# @return [String]
|
5349
5429
|
attr_accessor :line_item_type
|
5350
5430
|
|
5431
|
+
# A mobile app promoted by a mobile app install line item.
|
5432
|
+
# Corresponds to the JSON property `mobileApp`
|
5433
|
+
# @return [Google::Apis::DisplayvideoV1::MobileApp]
|
5434
|
+
attr_accessor :mobile_app
|
5435
|
+
|
5351
5436
|
# Output only. The resource name of the line item.
|
5352
5437
|
# Corresponds to the JSON property `name`
|
5353
5438
|
# @return [String]
|
@@ -5411,6 +5496,7 @@ module Google
|
|
5411
5496
|
@inventory_source_ids = args[:inventory_source_ids] if args.key?(:inventory_source_ids)
|
5412
5497
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
5413
5498
|
@line_item_type = args[:line_item_type] if args.key?(:line_item_type)
|
5499
|
+
@mobile_app = args[:mobile_app] if args.key?(:mobile_app)
|
5414
5500
|
@name = args[:name] if args.key?(:name)
|
5415
5501
|
@pacing = args[:pacing] if args.key?(:pacing)
|
5416
5502
|
@partner_costs = args[:partner_costs] if args.key?(:partner_costs)
|
@@ -5828,6 +5914,35 @@ module Google
|
|
5828
5914
|
end
|
5829
5915
|
end
|
5830
5916
|
|
5917
|
+
# Response message for ListInsertionOrderAssignedTargetingOptions.
|
5918
|
+
class ListInsertionOrderAssignedTargetingOptionsResponse
|
5919
|
+
include Google::Apis::Core::Hashable
|
5920
|
+
|
5921
|
+
# The list of assigned targeting options. This list will be absent if empty.
|
5922
|
+
# Corresponds to the JSON property `assignedTargetingOptions`
|
5923
|
+
# @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
|
5924
|
+
attr_accessor :assigned_targeting_options
|
5925
|
+
|
5926
|
+
# A token identifying the next page of results. This value should be specified
|
5927
|
+
# as the pageToken in a subsequent
|
5928
|
+
# ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of
|
5929
|
+
# results. This token will be absent if there are no more
|
5930
|
+
# assigned_targeting_options to return.
|
5931
|
+
# Corresponds to the JSON property `nextPageToken`
|
5932
|
+
# @return [String]
|
5933
|
+
attr_accessor :next_page_token
|
5934
|
+
|
5935
|
+
def initialize(**args)
|
5936
|
+
update!(**args)
|
5937
|
+
end
|
5938
|
+
|
5939
|
+
# Update properties of this object
|
5940
|
+
def update!(**args)
|
5941
|
+
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
5942
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5943
|
+
end
|
5944
|
+
end
|
5945
|
+
|
5831
5946
|
#
|
5832
5947
|
class ListInsertionOrdersResponse
|
5833
5948
|
include Google::Apis::Core::Hashable
|
@@ -6409,6 +6524,46 @@ module Google
|
|
6409
6524
|
end
|
6410
6525
|
end
|
6411
6526
|
|
6527
|
+
# A mobile app promoted by a mobile app install line item.
|
6528
|
+
class MobileApp
|
6529
|
+
include Google::Apis::Core::Hashable
|
6530
|
+
|
6531
|
+
# Required. The ID of the app provided by the platform store. Android apps are
|
6532
|
+
# identified by the bundle ID used by Android's Play store, such as `com.google.
|
6533
|
+
# android.gm`. iOS apps are identified by a nine-digit app ID used by Apple's
|
6534
|
+
# App store, such as `422689480`.
|
6535
|
+
# Corresponds to the JSON property `appId`
|
6536
|
+
# @return [String]
|
6537
|
+
attr_accessor :app_id
|
6538
|
+
|
6539
|
+
# Output only. The app name.
|
6540
|
+
# Corresponds to the JSON property `displayName`
|
6541
|
+
# @return [String]
|
6542
|
+
attr_accessor :display_name
|
6543
|
+
|
6544
|
+
# Output only. The app platform.
|
6545
|
+
# Corresponds to the JSON property `platform`
|
6546
|
+
# @return [String]
|
6547
|
+
attr_accessor :platform
|
6548
|
+
|
6549
|
+
# Output only. The app publisher.
|
6550
|
+
# Corresponds to the JSON property `publisher`
|
6551
|
+
# @return [String]
|
6552
|
+
attr_accessor :publisher
|
6553
|
+
|
6554
|
+
def initialize(**args)
|
6555
|
+
update!(**args)
|
6556
|
+
end
|
6557
|
+
|
6558
|
+
# Update properties of this object
|
6559
|
+
def update!(**args)
|
6560
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
6561
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6562
|
+
@platform = args[:platform] if args.key?(:platform)
|
6563
|
+
@publisher = args[:publisher] if args.key?(:publisher)
|
6564
|
+
end
|
6565
|
+
end
|
6566
|
+
|
6412
6567
|
# Represents an amount of money with its currency type.
|
6413
6568
|
class Money
|
6414
6569
|
include Google::Apis::Core::Hashable
|
@@ -6607,6 +6762,17 @@ module Google
|
|
6607
6762
|
class OnScreenPositionAssignedTargetingOptionDetails
|
6608
6763
|
include Google::Apis::Core::Hashable
|
6609
6764
|
|
6765
|
+
# Output only. The ad type to target. Only applicable to insertion order
|
6766
|
+
# targeting and new line items supporting the specified ad type will inherit
|
6767
|
+
# this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`,
|
6768
|
+
# the setting will be inherited by new line item when line_item_type is `
|
6769
|
+
# LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be
|
6770
|
+
# inherited by new line item when line_item_type is `
|
6771
|
+
# LINE_ITEM_TYPE_VIDEO_DEFAULT`.
|
6772
|
+
# Corresponds to the JSON property `adType`
|
6773
|
+
# @return [String]
|
6774
|
+
attr_accessor :ad_type
|
6775
|
+
|
6610
6776
|
# Output only. The on screen position.
|
6611
6777
|
# Corresponds to the JSON property `onScreenPosition`
|
6612
6778
|
# @return [String]
|
@@ -6624,6 +6790,7 @@ module Google
|
|
6624
6790
|
|
6625
6791
|
# Update properties of this object
|
6626
6792
|
def update!(**args)
|
6793
|
+
@ad_type = args[:ad_type] if args.key?(:ad_type)
|
6627
6794
|
@on_screen_position = args[:on_screen_position] if args.key?(:on_screen_position)
|
6628
6795
|
@targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
|
6629
6796
|
end
|
@@ -7131,16 +7298,19 @@ module Google
|
|
7131
7298
|
# The goal amount, in micros of the advertiser's currency. Applicable when
|
7132
7299
|
# performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CPM` * `
|
7133
7300
|
# PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `
|
7134
|
-
# PERFORMANCE_GOAL_TYPE_CPIAVC` For example
|
7135
|
-
# units of the currency.
|
7301
|
+
# PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_VCPM` For example
|
7302
|
+
# 1500000 represents 1.5 standard units of the currency.
|
7136
7303
|
# Corresponds to the JSON property `performanceGoalAmountMicros`
|
7137
7304
|
# @return [Fixnum]
|
7138
7305
|
attr_accessor :performance_goal_amount_micros
|
7139
7306
|
|
7140
7307
|
# The decimal representation of the goal percentage in micros. Applicable when
|
7141
7308
|
# performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CTR` * `
|
7142
|
-
# PERFORMANCE_GOAL_TYPE_VIEWABILITY`
|
7143
|
-
#
|
7309
|
+
# PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_CLICK_CVR` * `
|
7310
|
+
# PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR` * `
|
7311
|
+
# PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` * `
|
7312
|
+
# PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, 70000 represents 7% (
|
7313
|
+
# decimal 0.07).
|
7144
7314
|
# Corresponds to the JSON property `performanceGoalPercentageMicros`
|
7145
7315
|
# @return [Fixnum]
|
7146
7316
|
attr_accessor :performance_goal_percentage_micros
|
@@ -7251,9 +7421,9 @@ module Google
|
|
7251
7421
|
|
7252
7422
|
# Required. Radius range for proximity location list. This represents the size
|
7253
7423
|
# of the area around a chosen location that will be targeted. `All` proximity
|
7254
|
-
# location targeting under a single
|
7424
|
+
# location targeting under a single resource must have the same radius range
|
7255
7425
|
# value. Set this value to match any existing targeting. If updated, this field
|
7256
|
-
# will change the radius range for all proximity targeting under the
|
7426
|
+
# will change the radius range for all proximity targeting under the resource.
|
7257
7427
|
# Corresponds to the JSON property `proximityRadiusRange`
|
7258
7428
|
# @return [String]
|
7259
7429
|
attr_accessor :proximity_radius_range
|
@@ -7616,7 +7786,7 @@ module Google
|
|
7616
7786
|
# @return [String]
|
7617
7787
|
attr_accessor :name
|
7618
7788
|
|
7619
|
-
# Required. The
|
7789
|
+
# Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum
|
7620
7790
|
# length of 240 bytes.
|
7621
7791
|
# Corresponds to the JSON property `urlOrAppId`
|
7622
7792
|
# @return [String]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210312"
|
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
|
|
@@ -1054,6 +1066,12 @@ module Google
|
|
1054
1066
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1067
|
end
|
1056
1068
|
|
1069
|
+
class MobileApp
|
1070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1071
|
+
|
1072
|
+
include Google::Apis::Core::JsonObjectSupport
|
1073
|
+
end
|
1074
|
+
|
1057
1075
|
class Money
|
1058
1076
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1077
|
|
@@ -1895,6 +1913,15 @@ module Google
|
|
1895
1913
|
end
|
1896
1914
|
end
|
1897
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
|
+
|
1898
1925
|
class BulkListLineItemAssignedTargetingOptionsResponse
|
1899
1926
|
# @private
|
1900
1927
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2040,6 +2067,7 @@ module Google
|
|
2040
2067
|
class ContentInstreamPositionAssignedTargetingOptionDetails
|
2041
2068
|
# @private
|
2042
2069
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2070
|
+
property :ad_type, as: 'adType'
|
2043
2071
|
property :content_instream_position, as: 'contentInstreamPosition'
|
2044
2072
|
property :targeting_option_id, as: 'targetingOptionId'
|
2045
2073
|
end
|
@@ -2055,6 +2083,7 @@ module Google
|
|
2055
2083
|
class ContentOutstreamPositionAssignedTargetingOptionDetails
|
2056
2084
|
# @private
|
2057
2085
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2086
|
+
property :ad_type, as: 'adType'
|
2058
2087
|
property :content_outstream_position, as: 'contentOutstreamPosition'
|
2059
2088
|
property :targeting_option_id, as: 'targetingOptionId'
|
2060
2089
|
end
|
@@ -2158,10 +2187,12 @@ module Google
|
|
2158
2187
|
property :js_tracker_url, as: 'jsTrackerUrl'
|
2159
2188
|
collection :line_item_ids, as: 'lineItemIds'
|
2160
2189
|
property :media_duration, as: 'mediaDuration'
|
2190
|
+
property :mp3_audio, as: 'mp3Audio'
|
2161
2191
|
property :name, as: 'name'
|
2162
2192
|
property :notes, as: 'notes'
|
2163
2193
|
property :oba_icon, as: 'obaIcon', class: Google::Apis::DisplayvideoV1::ObaIcon, decorator: Google::Apis::DisplayvideoV1::ObaIcon::Representation
|
2164
2194
|
|
2195
|
+
property :ogg_audio, as: 'oggAudio'
|
2165
2196
|
property :progress_offset, as: 'progressOffset', class: Google::Apis::DisplayvideoV1::AudioVideoOffset, decorator: Google::Apis::DisplayvideoV1::AudioVideoOffset::Representation
|
2166
2197
|
|
2167
2198
|
property :require_html5, as: 'requireHtml5'
|
@@ -2646,6 +2677,7 @@ module Google
|
|
2646
2677
|
property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DisplayvideoV1::FrequencyCap, decorator: Google::Apis::DisplayvideoV1::FrequencyCap::Representation
|
2647
2678
|
|
2648
2679
|
property :insertion_order_id, :numeric_string => true, as: 'insertionOrderId'
|
2680
|
+
property :insertion_order_type, as: 'insertionOrderType'
|
2649
2681
|
property :integration_details, as: 'integrationDetails', class: Google::Apis::DisplayvideoV1::IntegrationDetails, decorator: Google::Apis::DisplayvideoV1::IntegrationDetails::Representation
|
2650
2682
|
|
2651
2683
|
property :name, as: 'name'
|
@@ -2836,6 +2868,8 @@ module Google
|
|
2836
2868
|
collection :inventory_source_ids, as: 'inventorySourceIds'
|
2837
2869
|
property :line_item_id, :numeric_string => true, as: 'lineItemId'
|
2838
2870
|
property :line_item_type, as: 'lineItemType'
|
2871
|
+
property :mobile_app, as: 'mobileApp', class: Google::Apis::DisplayvideoV1::MobileApp, decorator: Google::Apis::DisplayvideoV1::MobileApp::Representation
|
2872
|
+
|
2839
2873
|
property :name, as: 'name'
|
2840
2874
|
property :pacing, as: 'pacing', class: Google::Apis::DisplayvideoV1::Pacing, decorator: Google::Apis::DisplayvideoV1::Pacing::Representation
|
2841
2875
|
|
@@ -2977,6 +3011,15 @@ module Google
|
|
2977
3011
|
end
|
2978
3012
|
end
|
2979
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
|
+
|
2980
3023
|
class ListInsertionOrdersResponse
|
2981
3024
|
# @private
|
2982
3025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3152,6 +3195,16 @@ module Google
|
|
3152
3195
|
end
|
3153
3196
|
end
|
3154
3197
|
|
3198
|
+
class MobileApp
|
3199
|
+
# @private
|
3200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3201
|
+
property :app_id, as: 'appId'
|
3202
|
+
property :display_name, as: 'displayName'
|
3203
|
+
property :platform, as: 'platform'
|
3204
|
+
property :publisher, as: 'publisher'
|
3205
|
+
end
|
3206
|
+
end
|
3207
|
+
|
3155
3208
|
class Money
|
3156
3209
|
# @private
|
3157
3210
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3204,6 +3257,7 @@ module Google
|
|
3204
3257
|
class OnScreenPositionAssignedTargetingOptionDetails
|
3205
3258
|
# @private
|
3206
3259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3260
|
+
property :ad_type, as: 'adType'
|
3207
3261
|
property :on_screen_position, as: 'onScreenPosition'
|
3208
3262
|
property :targeting_option_id, as: 'targetingOptionId'
|
3209
3263
|
end
|
@@ -283,15 +283,21 @@ module Google
|
|
283
283
|
# expressions are made up of one or more restrictions. * Restrictions can be
|
284
284
|
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
285
285
|
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
286
|
-
# value``. * The operator must be `
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
286
|
+
# value``. * The operator used on `updateTime` must be `GREATER THAN OR EQUAL TO
|
287
|
+
# (>=)` or `LESS THAN OR EQUAL TO (<=)`. * The operator must be `EQUALS (=)`. *
|
288
|
+
# Supported fields: - `advertiserId` - `displayName` - `entityStatus` - `
|
289
|
+
# updateTime` (input in ISO 8601 format, or YYYY-MM-DDTHH:MM:SSZ) Examples: *
|
290
|
+
# All active advertisers under a partner: `entityStatus="ENTITY_STATUS_ACTIVE"` *
|
291
|
+
# All advertisers with an update time less than or equal to `2020-11-04T18:54:
|
292
|
+
# 47Z (format of ISO 8601)`: `updateTime<="2020-11-04T18:54:47Z"` * All
|
293
|
+
# advertisers with an update time greater than or equal to `2020-11-04T18:54:47Z
|
294
|
+
# (format of ISO 8601)`: `updateTime>="2020-11-04T18:54:47Z"` The length of this
|
295
|
+
# field should be no more than 500 characters.
|
290
296
|
# @param [String] order_by
|
291
297
|
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
292
|
-
# default) * `entityStatus` The default sorting order is
|
293
|
-
# descending order for a field, a suffix "desc" should be
|
294
|
-
# name. For example, `displayName desc`.
|
298
|
+
# default) * `entityStatus` * `updateTime` The default sorting order is
|
299
|
+
# ascending. To specify descending order for a field, a suffix "desc" should be
|
300
|
+
# added to the field name. For example, `displayName desc`.
|
295
301
|
# @param [Fixnum] page_size
|
296
302
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
297
303
|
# default to `100`.
|
@@ -925,7 +931,7 @@ module Google
|
|
925
931
|
# for a field, a suffix " desc" should be added to the field name. Example: `
|
926
932
|
# urlOrAppId desc`.
|
927
933
|
# @param [Fixnum] page_size
|
928
|
-
# Requested page size. Must be between `1` and `
|
934
|
+
# Requested page size. Must be between `1` and `10000`. If unspecified will
|
929
935
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
930
936
|
# specified.
|
931
937
|
# @param [String] page_token
|
@@ -1188,6 +1194,70 @@ module Google
|
|
1188
1194
|
execute_or_queue_command(command, &block)
|
1189
1195
|
end
|
1190
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
|
+
|
1191
1261
|
# Creates a new insertion order. Returns the newly created insertion order if
|
1192
1262
|
# successful.
|
1193
1263
|
# @param [Fixnum] advertiser_id
|
@@ -1402,6 +1472,112 @@ module Google
|
|
1402
1472
|
execute_or_queue_command(command, &block)
|
1403
1473
|
end
|
1404
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
|
+
|
1405
1581
|
# Bulk edits targeting options under a single line item. The operation will
|
1406
1582
|
# delete the assigned targeting options provided in
|
1407
1583
|
# BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
|
@@ -2806,7 +2982,7 @@ module Google
|
|
2806
2982
|
# for a field, a suffix " desc" should be added to the field name. Example: `
|
2807
2983
|
# keywordValue desc`.
|
2808
2984
|
# @param [Fixnum] page_size
|
2809
|
-
# Requested page size. Must be between `1` and `
|
2985
|
+
# Requested page size. Must be between `1` and `1000`. If unspecified will
|
2810
2986
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
2811
2987
|
# specified.
|
2812
2988
|
# @param [String] page_token
|
@@ -4562,7 +4738,7 @@ module Google
|
|
4562
4738
|
# for a field, a suffix " desc" should be added to the field name. Example: `
|
4563
4739
|
# urlOrAppId desc`.
|
4564
4740
|
# @param [Fixnum] page_size
|
4565
|
-
# Requested page size. Must be between `1` and `
|
4741
|
+
# Requested page size. Must be between `1` and `10000`. If unspecified will
|
4566
4742
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
4567
4743
|
# specified.
|
4568
4744
|
# @param [String] page_token
|
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.
|
4
|
+
version: 0.6.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-
|
11
|
+
date: 2021-03-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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.6.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: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Display & Video 360 API V1
|