google-apis-displayvideo_v1 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50f8b68246a3085917a76756f4ac4288cf97e928e6fcbdcde43f9bfb5211bd18
4
- data.tar.gz: afde67990652921046aedf272358c2ae880d8f2621728a86937352b8c468aadc
3
+ metadata.gz: 9017a2d37e5c4c43a6a828788d0c187db688d4164dd2023da45d7f416e608222
4
+ data.tar.gz: d906d838fe9763038846be44a1eab88a4d54882bb441be9d1ab7394be4a456d0
5
5
  SHA512:
6
- metadata.gz: 19670bf96287338b6075ee2bae65cc363a1c5762fa65f8646e8a04f7ff5c1a9b6edd03088dda25cd3269e6fb304c721d6363802d56d05fd716d2edded92e6089
7
- data.tar.gz: '02859f4d7ab5e9c8ecaa782cfae1eb198fcf6540347df1ca1537cb2dd9d4e11a1b3e233c4b4212180a9c4d17df2690d8bdbfa0bdb6117802a5256c1b3a26e3c9'
6
+ metadata.gz: 8554196a5c13b64c99864a18721385bd9c63a25a9ea628452329e83c95ee56e70261cfe7ab86d2a4f683b6aa80228d1449f46e2fdd491197830531504d29a614
7
+ data.tar.gz: e1db82cea3645dc8748869dc357dcf55bec71d6d3b07685838c171582b3e173338c3bffcbaca9fd00bd8b5b4782a04680de0026b2644054b485b7c0be472ef15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.22.0 (2022-01-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20220113
@@ -2725,6 +2725,75 @@ module Google
2725
2725
  end
2726
2726
  end
2727
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
+
2728
2797
  # Assigned content instream position targeting option details. This will be
2729
2798
  # populated in the content_instream_position_details field when targeting_type
2730
2799
  # is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
@@ -4245,6 +4314,59 @@ module Google
4245
4314
  end
4246
4315
  end
4247
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
+
4248
4370
  # A generic empty message that you can re-use to avoid defining duplicated empty
4249
4371
  # messages in your APIs. A typical example is to use it as the request or the
4250
4372
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -4499,7 +4621,7 @@ module Google
4499
4621
  # @return [String]
4500
4622
  attr_accessor :audience_source
4501
4623
 
4502
- # Output only. The type of the audience.
4624
+ # The type of the audience.
4503
4625
  # Corresponds to the JSON property `audienceType`
4504
4626
  # @return [String]
4505
4627
  attr_accessor :audience_type
@@ -4570,7 +4692,11 @@ module Google
4570
4692
  attr_accessor :gmail_audience_size
4571
4693
 
4572
4694
  # The duration in days that an entry remains in the audience after the
4573
- # 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`
4574
4700
  # Corresponds to the JSON property `membershipDurationDays`
4575
4701
  # @return [Fixnum]
4576
4702
  attr_accessor :membership_duration_days
@@ -5263,6 +5389,11 @@ module Google
5263
5389
  # @return [Google::Apis::DisplayvideoV1::PerformanceGoal]
5264
5390
  attr_accessor :performance_goal
5265
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
+
5266
5397
  # Output only. The timestamp when the insertion order was last updated. Assigned
5267
5398
  # by the system.
5268
5399
  # Corresponds to the JSON property `updateTime`
@@ -5289,6 +5420,7 @@ module Google
5289
5420
  @pacing = args[:pacing] if args.key?(:pacing)
5290
5421
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
5291
5422
  @performance_goal = args[:performance_goal] if args.key?(:performance_goal)
5423
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
5292
5424
  @update_time = args[:update_time] if args.key?(:update_time)
5293
5425
  end
5294
5426
  end
@@ -6105,6 +6237,13 @@ module Google
6105
6237
  # @return [String]
6106
6238
  attr_accessor :entity_status
6107
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
+
6108
6247
  # Settings that control the active duration of a line item.
6109
6248
  # Corresponds to the JSON property `flight`
6110
6249
  # @return [Google::Apis::DisplayvideoV1::LineItemFlight]
@@ -6169,6 +6308,11 @@ module Google
6169
6308
  # @return [Google::Apis::DisplayvideoV1::PartnerRevenueModel]
6170
6309
  attr_accessor :partner_revenue_model
6171
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
+
6172
6316
  # Settings that control the targeting expansion of the line item. Targeting
6173
6317
  # expansion allows the line item to reach a larger audience based on the
6174
6318
  # original audience list and the targeting expansion level.
@@ -6203,6 +6347,7 @@ module Google
6203
6347
  @creative_ids = args[:creative_ids] if args.key?(:creative_ids)
6204
6348
  @display_name = args[:display_name] if args.key?(:display_name)
6205
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)
6206
6351
  @flight = args[:flight] if args.key?(:flight)
6207
6352
  @frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap)
6208
6353
  @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
@@ -6215,6 +6360,7 @@ module Google
6215
6360
  @pacing = args[:pacing] if args.key?(:pacing)
6216
6361
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
6217
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)
6218
6364
  @targeting_expansion = args[:targeting_expansion] if args.key?(:targeting_expansion)
6219
6365
  @update_time = args[:update_time] if args.key?(:update_time)
6220
6366
  @warning_messages = args[:warning_messages] if args.key?(:warning_messages)
@@ -7381,6 +7527,26 @@ module Google
7381
7527
  end
7382
7528
  end
7383
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
+
7384
7550
  # Represents an amount of money with its currency type.
7385
7551
  class Money
7386
7552
  include Google::Apis::Core::Hashable
@@ -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.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220113"
25
+ REVISION = "20220120"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,18 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
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
+
445
457
  class ContentInstreamPositionAssignedTargetingOptionDetails
446
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
459
 
@@ -658,6 +670,18 @@ module Google
658
670
  include Google::Apis::Core::JsonObjectSupport
659
671
  end
660
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
+
661
685
  class Empty
662
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
687
 
@@ -1168,6 +1192,12 @@ module Google
1168
1192
  include Google::Apis::Core::JsonObjectSupport
1169
1193
  end
1170
1194
 
1195
+ class MobileDeviceIdList
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1171
1201
  class Money
1172
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1173
1203
 
@@ -2340,6 +2370,26 @@ module Google
2340
2370
  end
2341
2371
  end
2342
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
+
2343
2393
  class ContentInstreamPositionAssignedTargetingOptionDetails
2344
2394
  # @private
2345
2395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2725,6 +2775,24 @@ module Google
2725
2775
  end
2726
2776
  end
2727
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
+
2728
2796
  class Empty
2729
2797
  # @private
2730
2798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2999,6 +3067,7 @@ module Google
2999
3067
 
3000
3068
  property :performance_goal, as: 'performanceGoal', class: Google::Apis::DisplayvideoV1::PerformanceGoal, decorator: Google::Apis::DisplayvideoV1::PerformanceGoal::Representation
3001
3069
 
3070
+ property :reservation_type, as: 'reservationType'
3002
3071
  property :update_time, as: 'updateTime'
3003
3072
  end
3004
3073
  end
@@ -3200,6 +3269,7 @@ module Google
3200
3269
  collection :creative_ids, as: 'creativeIds'
3201
3270
  property :display_name, as: 'displayName'
3202
3271
  property :entity_status, as: 'entityStatus'
3272
+ property :exclude_new_exchanges, as: 'excludeNewExchanges'
3203
3273
  property :flight, as: 'flight', class: Google::Apis::DisplayvideoV1::LineItemFlight, decorator: Google::Apis::DisplayvideoV1::LineItemFlight::Representation
3204
3274
 
3205
3275
  property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DisplayvideoV1::FrequencyCap, decorator: Google::Apis::DisplayvideoV1::FrequencyCap::Representation
@@ -3219,6 +3289,7 @@ module Google
3219
3289
 
3220
3290
  property :partner_revenue_model, as: 'partnerRevenueModel', class: Google::Apis::DisplayvideoV1::PartnerRevenueModel, decorator: Google::Apis::DisplayvideoV1::PartnerRevenueModel::Representation
3221
3291
 
3292
+ property :reservation_type, as: 'reservationType'
3222
3293
  property :targeting_expansion, as: 'targetingExpansion', class: Google::Apis::DisplayvideoV1::TargetingExpansionConfig, decorator: Google::Apis::DisplayvideoV1::TargetingExpansionConfig::Representation
3223
3294
 
3224
3295
  property :update_time, as: 'updateTime'
@@ -3581,6 +3652,13 @@ module Google
3581
3652
  end
3582
3653
  end
3583
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
+
3584
3662
  class Money
3585
3663
  # @private
3586
3664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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
@@ -4150,6 +4153,77 @@ module Google
4150
4153
  execute_or_queue_command(command, &block)
4151
4154
  end
4152
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
+
4153
4227
  # Gets a first and third party audience.
4154
4228
  # @param [Fixnum] first_and_third_party_audience_id
4155
4229
  # Required. The ID of the first and third party audience to fetch.
@@ -4250,6 +4324,49 @@ module Google
4250
4324
  execute_or_queue_command(command, &block)
4251
4325
  end
4252
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
+
4253
4370
  # Gets a Floodlight group.
4254
4371
  # @param [Fixnum] floodlight_group_id
4255
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.22.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: 2022-01-17 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.22.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: []