google-apis-displayvideo_v1 0.19.0 → 0.23.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: be7d89e0f02c27d25739268c9cabf08dc56f5a87491d9e0d54bf9e7318cdeadf
4
- data.tar.gz: c5f59f41ec89978c900e4d5d8b749aa8cb7df28f5be5148ac929a532056b9c1e
3
+ metadata.gz: 9017a2d37e5c4c43a6a828788d0c187db688d4164dd2023da45d7f416e608222
4
+ data.tar.gz: d906d838fe9763038846be44a1eab88a4d54882bb441be9d1ab7394be4a456d0
5
5
  SHA512:
6
- metadata.gz: 11f640d12cdca54c1f0e8b466a90af831a663ee0759b2978099267fbe7eff84679e32fcefade7e39a0c1c108815e9665e6229c5ddff06e113b5c4200d83bd4ea
7
- data.tar.gz: 49dd4436462571cd0ed5f7097f2fdf9744551b15149b1e1b8205600d8e10007975218340b6e51b58aaa35d3f152ecf802d79d60a04d79bb7b57b2e10d20af0cd
6
+ metadata.gz: 8554196a5c13b64c99864a18721385bd9c63a25a9ea628452329e83c95ee56e70261cfe7ab86d2a4f683b6aa80228d1449f46e2fdd491197830531504d29a614
7
+ data.tar.gz: e1db82cea3645dc8748869dc357dcf55bec71d6d3b07685838c171582b3e173338c3bffcbaca9fd00bd8b5b4782a04680de0026b2644054b485b7c0be472ef15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.23.0 (2022-01-21)
4
+
5
+ * Regenerated from discovery document revision 20220120
6
+
7
+ ### v0.22.0 (2022-01-14)
8
+
9
+ * Regenerated from discovery document revision 20220113
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.21.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.20.0 (2021-12-07)
17
+
18
+ * Regenerated from discovery document revision 20211206
19
+
3
20
  ### v0.19.0 (2021-10-22)
4
21
 
5
22
  * Regenerated from discovery document revision 20211021
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/displayvideo_v1"
51
51
  client = Google::Apis::DisplayvideoV1::DisplayVideoService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -721,6 +721,15 @@ module Google
721
721
  # @return [Google::Apis::DisplayvideoV1::AudienceGroupAssignedTargetingOptionDetails]
722
722
  attr_accessor :audience_group_details
723
723
 
724
+ # Details for audio content type assigned targeting option. This will be
725
+ # populated in the audio_content_type_details field when targeting_type is `
726
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly targeting all options is not
727
+ # supported. Remove all audio content type targeting options to achieve this
728
+ # effect.
729
+ # Corresponds to the JSON property `audioContentTypeDetails`
730
+ # @return [Google::Apis::DisplayvideoV1::AudioContentTypeAssignedTargetingOptionDetails]
731
+ attr_accessor :audio_content_type_details
732
+
724
733
  # Represents an assigned authorized seller status. This will be populated in the
725
734
  # details field of an AssignedTargetingOption when targeting_type is `
726
735
  # TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
@@ -1009,6 +1018,7 @@ module Google
1009
1018
  @app_details = args[:app_details] if args.key?(:app_details)
1010
1019
  @assigned_targeting_option_id = args[:assigned_targeting_option_id] if args.key?(:assigned_targeting_option_id)
1011
1020
  @audience_group_details = args[:audience_group_details] if args.key?(:audience_group_details)
1021
+ @audio_content_type_details = args[:audio_content_type_details] if args.key?(:audio_content_type_details)
1012
1022
  @authorized_seller_status_details = args[:authorized_seller_status_details] if args.key?(:authorized_seller_status_details)
1013
1023
  @browser_details = args[:browser_details] if args.key?(:browser_details)
1014
1024
  @business_chain_details = args[:business_chain_details] if args.key?(:business_chain_details)
@@ -1154,6 +1164,57 @@ module Google
1154
1164
  end
1155
1165
  end
1156
1166
 
1167
+ # Details for audio content type assigned targeting option. This will be
1168
+ # populated in the audio_content_type_details field when targeting_type is `
1169
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly targeting all options is not
1170
+ # supported. Remove all audio content type targeting options to achieve this
1171
+ # effect.
1172
+ class AudioContentTypeAssignedTargetingOptionDetails
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ # Output only. The audio content type.
1176
+ # Corresponds to the JSON property `audioContentType`
1177
+ # @return [String]
1178
+ attr_accessor :audio_content_type
1179
+
1180
+ # Required. The targeting_option_id field when targeting_type is `
1181
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE`.
1182
+ # Corresponds to the JSON property `targetingOptionId`
1183
+ # @return [String]
1184
+ attr_accessor :targeting_option_id
1185
+
1186
+ def initialize(**args)
1187
+ update!(**args)
1188
+ end
1189
+
1190
+ # Update properties of this object
1191
+ def update!(**args)
1192
+ @audio_content_type = args[:audio_content_type] if args.key?(:audio_content_type)
1193
+ @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
1194
+ end
1195
+ end
1196
+
1197
+ # Represents a targetable audio content type. This will be populated in the
1198
+ # audio_content_type_details field when targeting_type is `
1199
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE`.
1200
+ class AudioContentTypeTargetingOptionDetails
1201
+ include Google::Apis::Core::Hashable
1202
+
1203
+ # Output only. The audio content type.
1204
+ # Corresponds to the JSON property `audioContentType`
1205
+ # @return [String]
1206
+ attr_accessor :audio_content_type
1207
+
1208
+ def initialize(**args)
1209
+ update!(**args)
1210
+ end
1211
+
1212
+ # Update properties of this object
1213
+ def update!(**args)
1214
+ @audio_content_type = args[:audio_content_type] if args.key?(:audio_content_type)
1215
+ end
1216
+ end
1217
+
1157
1218
  # The length an audio or a video has been played.
1158
1219
  class AudioVideoOffset
1159
1220
  include Google::Apis::Core::Hashable
@@ -2664,6 +2725,75 @@ module Google
2664
2725
  end
2665
2726
  end
2666
2727
 
2728
+ # Contact information defining a Customer Match audience member.
2729
+ class ContactInfo
2730
+ include Google::Apis::Core::Hashable
2731
+
2732
+ # Country code of the member.
2733
+ # Corresponds to the JSON property `countryCode`
2734
+ # @return [String]
2735
+ attr_accessor :country_code
2736
+
2737
+ # A list of SHA256 hashed email of the member.
2738
+ # Corresponds to the JSON property `hashedEmails`
2739
+ # @return [Array<String>]
2740
+ attr_accessor :hashed_emails
2741
+
2742
+ # SHA256 hashed first name of the member.
2743
+ # Corresponds to the JSON property `hashedFirstName`
2744
+ # @return [String]
2745
+ attr_accessor :hashed_first_name
2746
+
2747
+ # SHA256 hashed last name of the member.
2748
+ # Corresponds to the JSON property `hashedLastName`
2749
+ # @return [String]
2750
+ attr_accessor :hashed_last_name
2751
+
2752
+ # A list of SHA256 hashed phone numbers of the member.
2753
+ # Corresponds to the JSON property `hashedPhoneNumbers`
2754
+ # @return [Array<String>]
2755
+ attr_accessor :hashed_phone_numbers
2756
+
2757
+ # A list of zip codes of the member.
2758
+ # Corresponds to the JSON property `zipCodes`
2759
+ # @return [Array<String>]
2760
+ attr_accessor :zip_codes
2761
+
2762
+ def initialize(**args)
2763
+ update!(**args)
2764
+ end
2765
+
2766
+ # Update properties of this object
2767
+ def update!(**args)
2768
+ @country_code = args[:country_code] if args.key?(:country_code)
2769
+ @hashed_emails = args[:hashed_emails] if args.key?(:hashed_emails)
2770
+ @hashed_first_name = args[:hashed_first_name] if args.key?(:hashed_first_name)
2771
+ @hashed_last_name = args[:hashed_last_name] if args.key?(:hashed_last_name)
2772
+ @hashed_phone_numbers = args[:hashed_phone_numbers] if args.key?(:hashed_phone_numbers)
2773
+ @zip_codes = args[:zip_codes] if args.key?(:zip_codes)
2774
+ end
2775
+ end
2776
+
2777
+ # Wrapper message for a list of contact information defining Customer Match
2778
+ # audience members.
2779
+ class ContactInfoList
2780
+ include Google::Apis::Core::Hashable
2781
+
2782
+ # A list of ContactInfo objects defining Customer Match audience members.
2783
+ # Corresponds to the JSON property `contactInfos`
2784
+ # @return [Array<Google::Apis::DisplayvideoV1::ContactInfo>]
2785
+ attr_accessor :contact_infos
2786
+
2787
+ def initialize(**args)
2788
+ update!(**args)
2789
+ end
2790
+
2791
+ # Update properties of this object
2792
+ def update!(**args)
2793
+ @contact_infos = args[:contact_infos] if args.key?(:contact_infos)
2794
+ end
2795
+ end
2796
+
2667
2797
  # Assigned content instream position targeting option details. This will be
2668
2798
  # populated in the content_instream_position_details field when targeting_type
2669
2799
  # is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
@@ -4184,6 +4314,59 @@ module Google
4184
4314
  end
4185
4315
  end
4186
4316
 
4317
+ # Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
4318
+ class EditCustomerMatchMembersRequest
4319
+ include Google::Apis::Core::Hashable
4320
+
4321
+ # Wrapper message for a list of contact information defining Customer Match
4322
+ # audience members.
4323
+ # Corresponds to the JSON property `addedContactInfoList`
4324
+ # @return [Google::Apis::DisplayvideoV1::ContactInfoList]
4325
+ attr_accessor :added_contact_info_list
4326
+
4327
+ # Wrapper message for a list of mobile device IDs defining Customer Match
4328
+ # audience members.
4329
+ # Corresponds to the JSON property `addedMobileDeviceIdList`
4330
+ # @return [Google::Apis::DisplayvideoV1::MobileDeviceIdList]
4331
+ attr_accessor :added_mobile_device_id_list
4332
+
4333
+ # Required. The ID of the owner advertiser of the updated Customer Match
4334
+ # FirstAndThirdPartyAudience.
4335
+ # Corresponds to the JSON property `advertiserId`
4336
+ # @return [Fixnum]
4337
+ attr_accessor :advertiser_id
4338
+
4339
+ def initialize(**args)
4340
+ update!(**args)
4341
+ end
4342
+
4343
+ # Update properties of this object
4344
+ def update!(**args)
4345
+ @added_contact_info_list = args[:added_contact_info_list] if args.key?(:added_contact_info_list)
4346
+ @added_mobile_device_id_list = args[:added_mobile_device_id_list] if args.key?(:added_mobile_device_id_list)
4347
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
4348
+ end
4349
+ end
4350
+
4351
+ # The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
4352
+ class EditCustomerMatchMembersResponse
4353
+ include Google::Apis::Core::Hashable
4354
+
4355
+ # Required. The ID of the updated Customer Match FirstAndThirdPartyAudience.
4356
+ # Corresponds to the JSON property `firstAndThirdPartyAudienceId`
4357
+ # @return [Fixnum]
4358
+ attr_accessor :first_and_third_party_audience_id
4359
+
4360
+ def initialize(**args)
4361
+ update!(**args)
4362
+ end
4363
+
4364
+ # Update properties of this object
4365
+ def update!(**args)
4366
+ @first_and_third_party_audience_id = args[:first_and_third_party_audience_id] if args.key?(:first_and_third_party_audience_id)
4367
+ end
4368
+ end
4369
+
4187
4370
  # A generic empty message that you can re-use to avoid defining duplicated empty
4188
4371
  # messages in your APIs. A typical example is to use it as the request or the
4189
4372
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -4438,7 +4621,7 @@ module Google
4438
4621
  # @return [String]
4439
4622
  attr_accessor :audience_source
4440
4623
 
4441
- # Output only. The type of the audience.
4624
+ # The type of the audience.
4442
4625
  # Corresponds to the JSON property `audienceType`
4443
4626
  # @return [String]
4444
4627
  attr_accessor :audience_type
@@ -4495,7 +4678,7 @@ module Google
4495
4678
  # @return [Fixnum]
4496
4679
  attr_accessor :first_and_third_party_audience_id
4497
4680
 
4498
- # Output only. Whether the audience is a first or third party audience.
4681
+ # Whether the audience is a first or third party audience.
4499
4682
  # Corresponds to the JSON property `firstAndThirdPartyAudienceType`
4500
4683
  # @return [String]
4501
4684
  attr_accessor :first_and_third_party_audience_type
@@ -4509,7 +4692,11 @@ module Google
4509
4692
  attr_accessor :gmail_audience_size
4510
4693
 
4511
4694
  # The duration in days that an entry remains in the audience after the
4512
- # qualifying event. Only applicable to first party audiences.
4695
+ # qualifying event. If the audience has no expiration, the value of this field
4696
+ # should be set 10000. Otherwise, the set value must be greater than 0 and less
4697
+ # than or equal to 540. Only applicable to first party audiences. This field is
4698
+ # required for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `
4699
+ # CUSTOMER_MATCH_DEVICE_ID`
4513
4700
  # Corresponds to the JSON property `membershipDurationDays`
4514
4701
  # @return [Fixnum]
4515
4702
  attr_accessor :membership_duration_days
@@ -5202,6 +5389,11 @@ module Google
5202
5389
  # @return [Google::Apis::DisplayvideoV1::PerformanceGoal]
5203
5390
  attr_accessor :performance_goal
5204
5391
 
5392
+ # Output only. The reservation type of the insertion order.
5393
+ # Corresponds to the JSON property `reservationType`
5394
+ # @return [String]
5395
+ attr_accessor :reservation_type
5396
+
5205
5397
  # Output only. The timestamp when the insertion order was last updated. Assigned
5206
5398
  # by the system.
5207
5399
  # Corresponds to the JSON property `updateTime`
@@ -5228,6 +5420,7 @@ module Google
5228
5420
  @pacing = args[:pacing] if args.key?(:pacing)
5229
5421
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
5230
5422
  @performance_goal = args[:performance_goal] if args.key?(:performance_goal)
5423
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
5231
5424
  @update_time = args[:update_time] if args.key?(:update_time)
5232
5425
  end
5233
5426
  end
@@ -6044,6 +6237,13 @@ module Google
6044
6237
  # @return [String]
6045
6238
  attr_accessor :entity_status
6046
6239
 
6240
+ # Whether to exclude new exchanges from automatically being targeted by the line
6241
+ # item. This field is false by default.
6242
+ # Corresponds to the JSON property `excludeNewExchanges`
6243
+ # @return [Boolean]
6244
+ attr_accessor :exclude_new_exchanges
6245
+ alias_method :exclude_new_exchanges?, :exclude_new_exchanges
6246
+
6047
6247
  # Settings that control the active duration of a line item.
6048
6248
  # Corresponds to the JSON property `flight`
6049
6249
  # @return [Google::Apis::DisplayvideoV1::LineItemFlight]
@@ -6108,6 +6308,11 @@ module Google
6108
6308
  # @return [Google::Apis::DisplayvideoV1::PartnerRevenueModel]
6109
6309
  attr_accessor :partner_revenue_model
6110
6310
 
6311
+ # Output only. The reservation type of the line item.
6312
+ # Corresponds to the JSON property `reservationType`
6313
+ # @return [String]
6314
+ attr_accessor :reservation_type
6315
+
6111
6316
  # Settings that control the targeting expansion of the line item. Targeting
6112
6317
  # expansion allows the line item to reach a larger audience based on the
6113
6318
  # original audience list and the targeting expansion level.
@@ -6142,6 +6347,7 @@ module Google
6142
6347
  @creative_ids = args[:creative_ids] if args.key?(:creative_ids)
6143
6348
  @display_name = args[:display_name] if args.key?(:display_name)
6144
6349
  @entity_status = args[:entity_status] if args.key?(:entity_status)
6350
+ @exclude_new_exchanges = args[:exclude_new_exchanges] if args.key?(:exclude_new_exchanges)
6145
6351
  @flight = args[:flight] if args.key?(:flight)
6146
6352
  @frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap)
6147
6353
  @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
@@ -6154,6 +6360,7 @@ module Google
6154
6360
  @pacing = args[:pacing] if args.key?(:pacing)
6155
6361
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
6156
6362
  @partner_revenue_model = args[:partner_revenue_model] if args.key?(:partner_revenue_model)
6363
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
6157
6364
  @targeting_expansion = args[:targeting_expansion] if args.key?(:targeting_expansion)
6158
6365
  @update_time = args[:update_time] if args.key?(:update_time)
6159
6366
  @warning_messages = args[:warning_messages] if args.key?(:warning_messages)
@@ -7320,6 +7527,26 @@ module Google
7320
7527
  end
7321
7528
  end
7322
7529
 
7530
+ # Wrapper message for a list of mobile device IDs defining Customer Match
7531
+ # audience members.
7532
+ class MobileDeviceIdList
7533
+ include Google::Apis::Core::Hashable
7534
+
7535
+ # A list of mobile device IDs defining Customer Match audience members.
7536
+ # Corresponds to the JSON property `mobileDeviceIds`
7537
+ # @return [Array<String>]
7538
+ attr_accessor :mobile_device_ids
7539
+
7540
+ def initialize(**args)
7541
+ update!(**args)
7542
+ end
7543
+
7544
+ # Update properties of this object
7545
+ def update!(**args)
7546
+ @mobile_device_ids = args[:mobile_device_ids] if args.key?(:mobile_device_ids)
7547
+ end
7548
+ end
7549
+
7323
7550
  # Represents an amount of money with its currency type.
7324
7551
  class Money
7325
7552
  include Google::Apis::Core::Hashable
@@ -9118,6 +9345,13 @@ module Google
9118
9345
  # @return [Google::Apis::DisplayvideoV1::AppCategoryTargetingOptionDetails]
9119
9346
  attr_accessor :app_category_details
9120
9347
 
9348
+ # Represents a targetable audio content type. This will be populated in the
9349
+ # audio_content_type_details field when targeting_type is `
9350
+ # TARGETING_TYPE_AUDIO_CONTENT_TYPE`.
9351
+ # Corresponds to the JSON property `audioContentTypeDetails`
9352
+ # @return [Google::Apis::DisplayvideoV1::AudioContentTypeTargetingOptionDetails]
9353
+ attr_accessor :audio_content_type_details
9354
+
9121
9355
  # Represents a targetable authorized seller status. This will be populated in
9122
9356
  # the authorized_seller_status_details field when targeting_type is `
9123
9357
  # TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
@@ -9328,6 +9562,7 @@ module Google
9328
9562
  def update!(**args)
9329
9563
  @age_range_details = args[:age_range_details] if args.key?(:age_range_details)
9330
9564
  @app_category_details = args[:app_category_details] if args.key?(:app_category_details)
9565
+ @audio_content_type_details = args[:audio_content_type_details] if args.key?(:audio_content_type_details)
9331
9566
  @authorized_seller_status_details = args[:authorized_seller_status_details] if args.key?(:authorized_seller_status_details)
9332
9567
  @browser_details = args[:browser_details] if args.key?(:browser_details)
9333
9568
  @business_chain_details = args[:business_chain_details] if args.key?(:business_chain_details)
@@ -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.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211021"
25
+ REVISION = "20220120"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,18 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class AudioContentTypeAssignedTargetingOptionDetails
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class AudioContentTypeTargetingOptionDetails
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class AudioVideoOffset
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -430,6 +442,18 @@ module Google
430
442
  include Google::Apis::Core::JsonObjectSupport
431
443
  end
432
444
 
445
+ class ContactInfo
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class ContactInfoList
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class ContentInstreamPositionAssignedTargetingOptionDetails
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -646,6 +670,18 @@ module Google
646
670
  include Google::Apis::Core::JsonObjectSupport
647
671
  end
648
672
 
673
+ class EditCustomerMatchMembersRequest
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class EditCustomerMatchMembersResponse
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
649
685
  class Empty
650
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
687
 
@@ -1156,6 +1192,12 @@ module Google
1156
1192
  include Google::Apis::Core::JsonObjectSupport
1157
1193
  end
1158
1194
 
1195
+ class MobileDeviceIdList
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1159
1201
  class Money
1160
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1161
1203
 
@@ -1766,6 +1808,8 @@ module Google
1766
1808
  property :assigned_targeting_option_id, as: 'assignedTargetingOptionId'
1767
1809
  property :audience_group_details, as: 'audienceGroupDetails', class: Google::Apis::DisplayvideoV1::AudienceGroupAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::AudienceGroupAssignedTargetingOptionDetails::Representation
1768
1810
 
1811
+ property :audio_content_type_details, as: 'audioContentTypeDetails', class: Google::Apis::DisplayvideoV1::AudioContentTypeAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::AudioContentTypeAssignedTargetingOptionDetails::Representation
1812
+
1769
1813
  property :authorized_seller_status_details, as: 'authorizedSellerStatusDetails', class: Google::Apis::DisplayvideoV1::AuthorizedSellerStatusAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::AuthorizedSellerStatusAssignedTargetingOptionDetails::Representation
1770
1814
 
1771
1815
  property :browser_details, as: 'browserDetails', class: Google::Apis::DisplayvideoV1::BrowserAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::BrowserAssignedTargetingOptionDetails::Representation
@@ -1874,6 +1918,21 @@ module Google
1874
1918
  end
1875
1919
  end
1876
1920
 
1921
+ class AudioContentTypeAssignedTargetingOptionDetails
1922
+ # @private
1923
+ class Representation < Google::Apis::Core::JsonRepresentation
1924
+ property :audio_content_type, as: 'audioContentType'
1925
+ property :targeting_option_id, as: 'targetingOptionId'
1926
+ end
1927
+ end
1928
+
1929
+ class AudioContentTypeTargetingOptionDetails
1930
+ # @private
1931
+ class Representation < Google::Apis::Core::JsonRepresentation
1932
+ property :audio_content_type, as: 'audioContentType'
1933
+ end
1934
+ end
1935
+
1877
1936
  class AudioVideoOffset
1878
1937
  # @private
1879
1938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2311,6 +2370,26 @@ module Google
2311
2370
  end
2312
2371
  end
2313
2372
 
2373
+ class ContactInfo
2374
+ # @private
2375
+ class Representation < Google::Apis::Core::JsonRepresentation
2376
+ property :country_code, as: 'countryCode'
2377
+ collection :hashed_emails, as: 'hashedEmails'
2378
+ property :hashed_first_name, as: 'hashedFirstName'
2379
+ property :hashed_last_name, as: 'hashedLastName'
2380
+ collection :hashed_phone_numbers, as: 'hashedPhoneNumbers'
2381
+ collection :zip_codes, as: 'zipCodes'
2382
+ end
2383
+ end
2384
+
2385
+ class ContactInfoList
2386
+ # @private
2387
+ class Representation < Google::Apis::Core::JsonRepresentation
2388
+ collection :contact_infos, as: 'contactInfos', class: Google::Apis::DisplayvideoV1::ContactInfo, decorator: Google::Apis::DisplayvideoV1::ContactInfo::Representation
2389
+
2390
+ end
2391
+ end
2392
+
2314
2393
  class ContentInstreamPositionAssignedTargetingOptionDetails
2315
2394
  # @private
2316
2395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2696,6 +2775,24 @@ module Google
2696
2775
  end
2697
2776
  end
2698
2777
 
2778
+ class EditCustomerMatchMembersRequest
2779
+ # @private
2780
+ class Representation < Google::Apis::Core::JsonRepresentation
2781
+ property :added_contact_info_list, as: 'addedContactInfoList', class: Google::Apis::DisplayvideoV1::ContactInfoList, decorator: Google::Apis::DisplayvideoV1::ContactInfoList::Representation
2782
+
2783
+ property :added_mobile_device_id_list, as: 'addedMobileDeviceIdList', class: Google::Apis::DisplayvideoV1::MobileDeviceIdList, decorator: Google::Apis::DisplayvideoV1::MobileDeviceIdList::Representation
2784
+
2785
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
2786
+ end
2787
+ end
2788
+
2789
+ class EditCustomerMatchMembersResponse
2790
+ # @private
2791
+ class Representation < Google::Apis::Core::JsonRepresentation
2792
+ property :first_and_third_party_audience_id, :numeric_string => true, as: 'firstAndThirdPartyAudienceId'
2793
+ end
2794
+ end
2795
+
2699
2796
  class Empty
2700
2797
  # @private
2701
2798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2970,6 +3067,7 @@ module Google
2970
3067
 
2971
3068
  property :performance_goal, as: 'performanceGoal', class: Google::Apis::DisplayvideoV1::PerformanceGoal, decorator: Google::Apis::DisplayvideoV1::PerformanceGoal::Representation
2972
3069
 
3070
+ property :reservation_type, as: 'reservationType'
2973
3071
  property :update_time, as: 'updateTime'
2974
3072
  end
2975
3073
  end
@@ -3171,6 +3269,7 @@ module Google
3171
3269
  collection :creative_ids, as: 'creativeIds'
3172
3270
  property :display_name, as: 'displayName'
3173
3271
  property :entity_status, as: 'entityStatus'
3272
+ property :exclude_new_exchanges, as: 'excludeNewExchanges'
3174
3273
  property :flight, as: 'flight', class: Google::Apis::DisplayvideoV1::LineItemFlight, decorator: Google::Apis::DisplayvideoV1::LineItemFlight::Representation
3175
3274
 
3176
3275
  property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DisplayvideoV1::FrequencyCap, decorator: Google::Apis::DisplayvideoV1::FrequencyCap::Representation
@@ -3190,6 +3289,7 @@ module Google
3190
3289
 
3191
3290
  property :partner_revenue_model, as: 'partnerRevenueModel', class: Google::Apis::DisplayvideoV1::PartnerRevenueModel, decorator: Google::Apis::DisplayvideoV1::PartnerRevenueModel::Representation
3192
3291
 
3292
+ property :reservation_type, as: 'reservationType'
3193
3293
  property :targeting_expansion, as: 'targetingExpansion', class: Google::Apis::DisplayvideoV1::TargetingExpansionConfig, decorator: Google::Apis::DisplayvideoV1::TargetingExpansionConfig::Representation
3194
3294
 
3195
3295
  property :update_time, as: 'updateTime'
@@ -3552,6 +3652,13 @@ module Google
3552
3652
  end
3553
3653
  end
3554
3654
 
3655
+ class MobileDeviceIdList
3656
+ # @private
3657
+ class Representation < Google::Apis::Core::JsonRepresentation
3658
+ collection :mobile_device_ids, as: 'mobileDeviceIds'
3659
+ end
3660
+ end
3661
+
3555
3662
  class Money
3556
3663
  # @private
3557
3664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4041,6 +4148,8 @@ module Google
4041
4148
 
4042
4149
  property :app_category_details, as: 'appCategoryDetails', class: Google::Apis::DisplayvideoV1::AppCategoryTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::AppCategoryTargetingOptionDetails::Representation
4043
4150
 
4151
+ property :audio_content_type_details, as: 'audioContentTypeDetails', class: Google::Apis::DisplayvideoV1::AudioContentTypeTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::AudioContentTypeTargetingOptionDetails::Representation
4152
+
4044
4153
  property :authorized_seller_status_details, as: 'authorizedSellerStatusDetails', class: Google::Apis::DisplayvideoV1::AuthorizedSellerStatusTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::AuthorizedSellerStatusTargetingOptionDetails::Representation
4045
4154
 
4046
4155
  property :browser_details, as: 'browserDetails', class: Google::Apis::DisplayvideoV1::BrowserTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::BrowserTargetingOptionDetails::Representation
@@ -379,7 +379,10 @@ module Google
379
379
 
380
380
  # Uploads an asset. Returns the ID of the newly uploaded asset if successful.
381
381
  # The asset file size should be no more than 10 MB for images, 200 MB for ZIP
382
- # files, and 1 GB for videos.
382
+ # files, and 1 GB for videos. Must be used within the [multipart media upload
383
+ # process](/display-video/api/guides/how-tos/upload#multipart). Examples using
384
+ # provided client libraries can be found in our [Creating Creatives guide](/
385
+ # display-video/api/guides/creating-creatives/overview#upload_an_asset).
383
386
  # @param [Fixnum] advertiser_id
384
387
  # Required. The ID of the advertiser this asset belongs to.
385
388
  # @param [Google::Apis::DisplayvideoV1::CreateAssetRequest] create_asset_request_object
@@ -1899,7 +1902,11 @@ module Google
1899
1902
  # delete the assigned targeting options provided in
1900
1903
  # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
1901
1904
  # create the assigned targeting options provided in
1902
- # BulkEditLineItemAssignedTargetingOptionsRequest.create_requests .
1905
+ # BulkEditLineItemAssignedTargetingOptionsRequest.create_requests. Requests to
1906
+ # this endpoint cannot be made concurrently with the following requests updating
1907
+ # the same line item: * BulkEditLineItemAssignedTargetingOptions *
1908
+ # UpdateLineItem * CreateLineItemAssignedTargetingOption *
1909
+ # DeleteLineItemAssignedTargetingOption
1903
1910
  # @param [Fixnum] advertiser_id
1904
1911
  # Required. The ID of the advertiser the line item belongs to.
1905
1912
  # @param [Fixnum] line_item_id
@@ -2217,6 +2224,10 @@ module Google
2217
2224
  end
2218
2225
 
2219
2226
  # Updates an existing line item. Returns the updated line item if successful.
2227
+ # Requests to this endpoint cannot be made concurrently with the following
2228
+ # requests updating the same line item: *
2229
+ # BulkEditLineItemAssignedTargetingOptions * UpdateLineItem *
2230
+ # CreateLineItemAssignedTargetingOption * DeleteLineItemAssignedTargetingOption
2220
2231
  # @param [Fixnum] advertiser_id
2221
2232
  # Output only. The unique ID of the advertiser the line item belongs to.
2222
2233
  # @param [Fixnum] line_item_id
@@ -2256,7 +2267,10 @@ module Google
2256
2267
  end
2257
2268
 
2258
2269
  # Assigns a targeting option to a line item. Returns the assigned targeting
2259
- # option if successful.
2270
+ # option if successful. Requests to this endpoint cannot be made concurrently
2271
+ # with the following requests updating the same line item: *
2272
+ # BulkEditLineItemAssignedTargetingOptions * UpdateLineItem *
2273
+ # CreateLineItemAssignedTargetingOption * DeleteLineItemAssignedTargetingOption
2260
2274
  # @param [Fixnum] advertiser_id
2261
2275
  # Required. The ID of the advertiser the line item belongs to.
2262
2276
  # @param [Fixnum] line_item_id
@@ -2295,7 +2309,10 @@ module Google
2295
2309
  execute_or_queue_command(command, &block)
2296
2310
  end
2297
2311
 
2298
- # Deletes an assigned targeting option from a line item.
2312
+ # Deletes an assigned targeting option from a line item. Requests to this
2313
+ # endpoint cannot be made concurrently with the following requests updating the
2314
+ # same line item: * BulkEditLineItemAssignedTargetingOptions * UpdateLineItem *
2315
+ # CreateLineItemAssignedTargetingOption * DeleteLineItemAssignedTargetingOption
2299
2316
  # @param [Fixnum] advertiser_id
2300
2317
  # Required. The ID of the advertiser the line item belongs to.
2301
2318
  # @param [Fixnum] line_item_id
@@ -4136,6 +4153,77 @@ module Google
4136
4153
  execute_or_queue_command(command, &block)
4137
4154
  end
4138
4155
 
4156
+ # Creates a FirstAndThirdPartyAudience. Only supported for the following
4157
+ # audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
4158
+ # @param [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] first_and_third_party_audience_object
4159
+ # @param [Fixnum] advertiser_id
4160
+ # Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience
4161
+ # will be created.
4162
+ # @param [String] fields
4163
+ # Selector specifying which fields to include in a partial response.
4164
+ # @param [String] quota_user
4165
+ # Available to use for quota purposes for server-side applications. Can be any
4166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4167
+ # @param [Google::Apis::RequestOptions] options
4168
+ # Request-specific options
4169
+ #
4170
+ # @yield [result, err] Result & error if block supplied
4171
+ # @yieldparam result [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] parsed result object
4172
+ # @yieldparam err [StandardError] error object if request failed
4173
+ #
4174
+ # @return [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience]
4175
+ #
4176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4179
+ def create_first_and_third_party_audience(first_and_third_party_audience_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4180
+ command = make_simple_command(:post, 'v1/firstAndThirdPartyAudiences', options)
4181
+ command.request_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
4182
+ command.request_object = first_and_third_party_audience_object
4183
+ command.response_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
4184
+ command.response_class = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
4185
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
4186
+ command.query['fields'] = fields unless fields.nil?
4187
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4188
+ execute_or_queue_command(command, &block)
4189
+ end
4190
+
4191
+ # Updates the member list of a Customer Match audience. Only supported for the
4192
+ # following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `
4193
+ # CUSTOMER_MATCH_DEVICE_ID`
4194
+ # @param [Fixnum] first_and_third_party_audience_id
4195
+ # Required. The ID of the Customer Match FirstAndThirdPartyAudience whose
4196
+ # members will be edited.
4197
+ # @param [Google::Apis::DisplayvideoV1::EditCustomerMatchMembersRequest] edit_customer_match_members_request_object
4198
+ # @param [String] fields
4199
+ # Selector specifying which fields to include in a partial response.
4200
+ # @param [String] quota_user
4201
+ # Available to use for quota purposes for server-side applications. Can be any
4202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4203
+ # @param [Google::Apis::RequestOptions] options
4204
+ # Request-specific options
4205
+ #
4206
+ # @yield [result, err] Result & error if block supplied
4207
+ # @yieldparam result [Google::Apis::DisplayvideoV1::EditCustomerMatchMembersResponse] parsed result object
4208
+ # @yieldparam err [StandardError] error object if request failed
4209
+ #
4210
+ # @return [Google::Apis::DisplayvideoV1::EditCustomerMatchMembersResponse]
4211
+ #
4212
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4213
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4214
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4215
+ def edit_first_and_third_party_audience_customer_match_members(first_and_third_party_audience_id, edit_customer_match_members_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4216
+ command = make_simple_command(:post, 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}:editCustomerMatchMembers', options)
4217
+ command.request_representation = Google::Apis::DisplayvideoV1::EditCustomerMatchMembersRequest::Representation
4218
+ command.request_object = edit_customer_match_members_request_object
4219
+ command.response_representation = Google::Apis::DisplayvideoV1::EditCustomerMatchMembersResponse::Representation
4220
+ command.response_class = Google::Apis::DisplayvideoV1::EditCustomerMatchMembersResponse
4221
+ command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_id.nil?
4222
+ command.query['fields'] = fields unless fields.nil?
4223
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4224
+ execute_or_queue_command(command, &block)
4225
+ end
4226
+
4139
4227
  # Gets a first and third party audience.
4140
4228
  # @param [Fixnum] first_and_third_party_audience_id
4141
4229
  # Required. The ID of the first and third party audience to fetch.
@@ -4236,6 +4324,49 @@ module Google
4236
4324
  execute_or_queue_command(command, &block)
4237
4325
  end
4238
4326
 
4327
+ # Updates an existing FirstAndThirdPartyAudience. Only supported for the
4328
+ # following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `
4329
+ # CUSTOMER_MATCH_DEVICE_ID`
4330
+ # @param [Fixnum] first_and_third_party_audience_id
4331
+ # Output only. The unique ID of the first and third party audience. Assigned by
4332
+ # the system.
4333
+ # @param [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] first_and_third_party_audience_object
4334
+ # @param [Fixnum] advertiser_id
4335
+ # Required. The ID of the owner advertiser of the updated
4336
+ # FirstAndThirdPartyAudience.
4337
+ # @param [String] update_mask
4338
+ # Required. The mask to control which fields to update.
4339
+ # @param [String] fields
4340
+ # Selector specifying which fields to include in a partial response.
4341
+ # @param [String] quota_user
4342
+ # Available to use for quota purposes for server-side applications. Can be any
4343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4344
+ # @param [Google::Apis::RequestOptions] options
4345
+ # Request-specific options
4346
+ #
4347
+ # @yield [result, err] Result & error if block supplied
4348
+ # @yieldparam result [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] parsed result object
4349
+ # @yieldparam err [StandardError] error object if request failed
4350
+ #
4351
+ # @return [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience]
4352
+ #
4353
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4354
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4355
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4356
+ def patch_first_and_third_party_audience(first_and_third_party_audience_id, first_and_third_party_audience_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4357
+ command = make_simple_command(:patch, 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', options)
4358
+ command.request_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
4359
+ command.request_object = first_and_third_party_audience_object
4360
+ command.response_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
4361
+ command.response_class = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
4362
+ command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_id.nil?
4363
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
4364
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4365
+ command.query['fields'] = fields unless fields.nil?
4366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4367
+ execute_or_queue_command(command, &block)
4368
+ end
4369
+
4239
4370
  # Gets a Floodlight group.
4240
4371
  # @param [Fixnum] floodlight_group_id
4241
4372
  # Required. The ID of the Floodlight group to fetch.
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.19.0
4
+ version: 0.23.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Display & Video 360 API V1