google-apis-displayvideo_v1 0.20.0 → 0.24.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: 2ebe9a0c4670431e849fec7ed07c618d8b9f40faf45dea12851f14ed6daffa23
4
- data.tar.gz: 571d792ba3df00b6c476ce238ca574c67c5addfd8d8e5ac05352c80f10dd4dd8
3
+ metadata.gz: c5a42f4edb19bea1e1436ffea9dd11b3ffd1d2e8624854720929d8d316ebfb95
4
+ data.tar.gz: 973f4963632292524ce9ab64d79251969ce91397474f3894ab676f61a82f311b
5
5
  SHA512:
6
- metadata.gz: 03be30e40183993fd48ccd1249a547ab480d5252171e4225f45293363b65847fba34d0a49b46511dbed7630b4cb9c38270c7362f6da7227cdbc389f8bfa0e13b
7
- data.tar.gz: 263d8f6205d28d4da909f69ff6292ce3e86e7306bc7af55afef5cdab7a0b935775761143a9a62daa46dd855f72ebd5b774ab7a1eabb348b0bfa1d326f0a73d80
6
+ metadata.gz: d9ace112ebd9061b616c7b142eb2ff1b843557d72e3ac252b5c4dfb91bcb2ef1db1dbc408499a75389eaf86577cd66eef5bce26e7a574e2dfcd897030924c7e9
7
+ data.tar.gz: 360909768f46f728ebcb9fd19b10b3f84abac0ab013355686f63a847389b942594d1c7b72c844ba2ab042f162f47f18cc04d22465bd8b6cd7f3e557da05ece40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.24.0 (2022-01-28)
4
+
5
+ * Regenerated from discovery document revision 20220127
6
+
7
+ ### v0.23.0 (2022-01-21)
8
+
9
+ * Regenerated from discovery document revision 20220120
10
+
11
+ ### v0.22.0 (2022-01-14)
12
+
13
+ * Regenerated from discovery document revision 20220113
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.21.0 (2021-12-14)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.20.0 (2021-12-07)
4
21
 
5
22
  * Regenerated from discovery document revision 20211206
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.
@@ -715,8 +715,8 @@ module Google
715
715
  # the details field of an AssignedTargetingOption when targeting_type is `
716
716
  # TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION,
717
717
  # except for excluded_first_and_third_party_audience_group and
718
- # excluded_google_audience_group, of which COMPLEMENT is UNION'ed with other
719
- # groups.
718
+ # excluded_google_audience_group, of which COMPLEMENT is used as an INTERSECTION
719
+ # with other groups.
720
720
  # Corresponds to the JSON property `audienceGroupDetails`
721
721
  # @return [Google::Apis::DisplayvideoV1::AudienceGroupAssignedTargetingOptionDetails]
722
722
  attr_accessor :audience_group_details
@@ -1104,8 +1104,8 @@ module Google
1104
1104
  # the details field of an AssignedTargetingOption when targeting_type is `
1105
1105
  # TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION,
1106
1106
  # except for excluded_first_and_third_party_audience_group and
1107
- # excluded_google_audience_group, of which COMPLEMENT is UNION'ed with other
1108
- # groups.
1107
+ # excluded_google_audience_group, of which COMPLEMENT is used as an INTERSECTION
1108
+ # with other groups.
1109
1109
  class AudienceGroupAssignedTargetingOptionDetails
1110
1110
  include Google::Apis::Core::Hashable
1111
1111
 
@@ -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.
@@ -4494,16 +4616,28 @@ module Google
4494
4616
  # @return [Fixnum]
4495
4617
  attr_accessor :active_display_audience_size
4496
4618
 
4619
+ # The app_id matches with the type of the mobile_device_ids being uploaded. Only
4620
+ # applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
4621
+ # Corresponds to the JSON property `appId`
4622
+ # @return [String]
4623
+ attr_accessor :app_id
4624
+
4497
4625
  # Output only. The source of the audience.
4498
4626
  # Corresponds to the JSON property `audienceSource`
4499
4627
  # @return [String]
4500
4628
  attr_accessor :audience_source
4501
4629
 
4502
- # Output only. The type of the audience.
4630
+ # The type of the audience.
4503
4631
  # Corresponds to the JSON property `audienceType`
4504
4632
  # @return [String]
4505
4633
  attr_accessor :audience_type
4506
4634
 
4635
+ # Wrapper message for a list of contact information defining Customer Match
4636
+ # audience members.
4637
+ # Corresponds to the JSON property `contactInfoList`
4638
+ # @return [Google::Apis::DisplayvideoV1::ContactInfoList]
4639
+ attr_accessor :contact_info_list
4640
+
4507
4641
  # The user-provided description of the audience. Only applicable to first party
4508
4642
  # audiences.
4509
4643
  # Corresponds to the JSON property `description`
@@ -4556,7 +4690,7 @@ module Google
4556
4690
  # @return [Fixnum]
4557
4691
  attr_accessor :first_and_third_party_audience_id
4558
4692
 
4559
- # Output only. Whether the audience is a first or third party audience.
4693
+ # Whether the audience is a first or third party audience.
4560
4694
  # Corresponds to the JSON property `firstAndThirdPartyAudienceType`
4561
4695
  # @return [String]
4562
4696
  attr_accessor :first_and_third_party_audience_type
@@ -4570,11 +4704,21 @@ module Google
4570
4704
  attr_accessor :gmail_audience_size
4571
4705
 
4572
4706
  # The duration in days that an entry remains in the audience after the
4573
- # qualifying event. Only applicable to first party audiences.
4707
+ # qualifying event. If the audience has no expiration, the value of this field
4708
+ # should be set 10000. Otherwise, the set value must be greater than 0 and less
4709
+ # than or equal to 540. Only applicable to first party audiences. This field is
4710
+ # required if one of the following audience_type is used: * `
4711
+ # CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
4574
4712
  # Corresponds to the JSON property `membershipDurationDays`
4575
4713
  # @return [Fixnum]
4576
4714
  attr_accessor :membership_duration_days
4577
4715
 
4716
+ # Wrapper message for a list of mobile device IDs defining Customer Match
4717
+ # audience members.
4718
+ # Corresponds to the JSON property `mobileDeviceIdList`
4719
+ # @return [Google::Apis::DisplayvideoV1::MobileDeviceIdList]
4720
+ attr_accessor :mobile_device_id_list
4721
+
4578
4722
  # Output only. The resource name of the first and third party audience.
4579
4723
  # Corresponds to the JSON property `name`
4580
4724
  # @return [String]
@@ -4595,8 +4739,10 @@ module Google
4595
4739
  # Update properties of this object
4596
4740
  def update!(**args)
4597
4741
  @active_display_audience_size = args[:active_display_audience_size] if args.key?(:active_display_audience_size)
4742
+ @app_id = args[:app_id] if args.key?(:app_id)
4598
4743
  @audience_source = args[:audience_source] if args.key?(:audience_source)
4599
4744
  @audience_type = args[:audience_type] if args.key?(:audience_type)
4745
+ @contact_info_list = args[:contact_info_list] if args.key?(:contact_info_list)
4600
4746
  @description = args[:description] if args.key?(:description)
4601
4747
  @display_audience_size = args[:display_audience_size] if args.key?(:display_audience_size)
4602
4748
  @display_desktop_audience_size = args[:display_desktop_audience_size] if args.key?(:display_desktop_audience_size)
@@ -4607,6 +4753,7 @@ module Google
4607
4753
  @first_and_third_party_audience_type = args[:first_and_third_party_audience_type] if args.key?(:first_and_third_party_audience_type)
4608
4754
  @gmail_audience_size = args[:gmail_audience_size] if args.key?(:gmail_audience_size)
4609
4755
  @membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days)
4756
+ @mobile_device_id_list = args[:mobile_device_id_list] if args.key?(:mobile_device_id_list)
4610
4757
  @name = args[:name] if args.key?(:name)
4611
4758
  @youtube_audience_size = args[:youtube_audience_size] if args.key?(:youtube_audience_size)
4612
4759
  end
@@ -5263,6 +5410,11 @@ module Google
5263
5410
  # @return [Google::Apis::DisplayvideoV1::PerformanceGoal]
5264
5411
  attr_accessor :performance_goal
5265
5412
 
5413
+ # Output only. The reservation type of the insertion order.
5414
+ # Corresponds to the JSON property `reservationType`
5415
+ # @return [String]
5416
+ attr_accessor :reservation_type
5417
+
5266
5418
  # Output only. The timestamp when the insertion order was last updated. Assigned
5267
5419
  # by the system.
5268
5420
  # Corresponds to the JSON property `updateTime`
@@ -5289,6 +5441,7 @@ module Google
5289
5441
  @pacing = args[:pacing] if args.key?(:pacing)
5290
5442
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
5291
5443
  @performance_goal = args[:performance_goal] if args.key?(:performance_goal)
5444
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
5292
5445
  @update_time = args[:update_time] if args.key?(:update_time)
5293
5446
  end
5294
5447
  end
@@ -6105,6 +6258,13 @@ module Google
6105
6258
  # @return [String]
6106
6259
  attr_accessor :entity_status
6107
6260
 
6261
+ # Whether to exclude new exchanges from automatically being targeted by the line
6262
+ # item. This field is false by default.
6263
+ # Corresponds to the JSON property `excludeNewExchanges`
6264
+ # @return [Boolean]
6265
+ attr_accessor :exclude_new_exchanges
6266
+ alias_method :exclude_new_exchanges?, :exclude_new_exchanges
6267
+
6108
6268
  # Settings that control the active duration of a line item.
6109
6269
  # Corresponds to the JSON property `flight`
6110
6270
  # @return [Google::Apis::DisplayvideoV1::LineItemFlight]
@@ -6169,6 +6329,11 @@ module Google
6169
6329
  # @return [Google::Apis::DisplayvideoV1::PartnerRevenueModel]
6170
6330
  attr_accessor :partner_revenue_model
6171
6331
 
6332
+ # Output only. The reservation type of the line item.
6333
+ # Corresponds to the JSON property `reservationType`
6334
+ # @return [String]
6335
+ attr_accessor :reservation_type
6336
+
6172
6337
  # Settings that control the targeting expansion of the line item. Targeting
6173
6338
  # expansion allows the line item to reach a larger audience based on the
6174
6339
  # original audience list and the targeting expansion level.
@@ -6203,6 +6368,7 @@ module Google
6203
6368
  @creative_ids = args[:creative_ids] if args.key?(:creative_ids)
6204
6369
  @display_name = args[:display_name] if args.key?(:display_name)
6205
6370
  @entity_status = args[:entity_status] if args.key?(:entity_status)
6371
+ @exclude_new_exchanges = args[:exclude_new_exchanges] if args.key?(:exclude_new_exchanges)
6206
6372
  @flight = args[:flight] if args.key?(:flight)
6207
6373
  @frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap)
6208
6374
  @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
@@ -6215,6 +6381,7 @@ module Google
6215
6381
  @pacing = args[:pacing] if args.key?(:pacing)
6216
6382
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
6217
6383
  @partner_revenue_model = args[:partner_revenue_model] if args.key?(:partner_revenue_model)
6384
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
6218
6385
  @targeting_expansion = args[:targeting_expansion] if args.key?(:targeting_expansion)
6219
6386
  @update_time = args[:update_time] if args.key?(:update_time)
6220
6387
  @warning_messages = args[:warning_messages] if args.key?(:warning_messages)
@@ -7381,6 +7548,26 @@ module Google
7381
7548
  end
7382
7549
  end
7383
7550
 
7551
+ # Wrapper message for a list of mobile device IDs defining Customer Match
7552
+ # audience members.
7553
+ class MobileDeviceIdList
7554
+ include Google::Apis::Core::Hashable
7555
+
7556
+ # A list of mobile device IDs defining Customer Match audience members.
7557
+ # Corresponds to the JSON property `mobileDeviceIds`
7558
+ # @return [Array<String>]
7559
+ attr_accessor :mobile_device_ids
7560
+
7561
+ def initialize(**args)
7562
+ update!(**args)
7563
+ end
7564
+
7565
+ # Update properties of this object
7566
+ def update!(**args)
7567
+ @mobile_device_ids = args[:mobile_device_ids] if args.key?(:mobile_device_ids)
7568
+ end
7569
+ end
7570
+
7384
7571
  # Represents an amount of money with its currency type.
7385
7572
  class Money
7386
7573
  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.20.0"
19
+ GEM_VERSION = "0.24.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 = "20211206"
25
+ REVISION = "20220127"
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
@@ -2800,8 +2868,11 @@ module Google
2800
2868
  # @private
2801
2869
  class Representation < Google::Apis::Core::JsonRepresentation
2802
2870
  property :active_display_audience_size, :numeric_string => true, as: 'activeDisplayAudienceSize'
2871
+ property :app_id, as: 'appId'
2803
2872
  property :audience_source, as: 'audienceSource'
2804
2873
  property :audience_type, as: 'audienceType'
2874
+ property :contact_info_list, as: 'contactInfoList', class: Google::Apis::DisplayvideoV1::ContactInfoList, decorator: Google::Apis::DisplayvideoV1::ContactInfoList::Representation
2875
+
2805
2876
  property :description, as: 'description'
2806
2877
  property :display_audience_size, :numeric_string => true, as: 'displayAudienceSize'
2807
2878
  property :display_desktop_audience_size, :numeric_string => true, as: 'displayDesktopAudienceSize'
@@ -2812,6 +2883,8 @@ module Google
2812
2883
  property :first_and_third_party_audience_type, as: 'firstAndThirdPartyAudienceType'
2813
2884
  property :gmail_audience_size, :numeric_string => true, as: 'gmailAudienceSize'
2814
2885
  property :membership_duration_days, :numeric_string => true, as: 'membershipDurationDays'
2886
+ property :mobile_device_id_list, as: 'mobileDeviceIdList', class: Google::Apis::DisplayvideoV1::MobileDeviceIdList, decorator: Google::Apis::DisplayvideoV1::MobileDeviceIdList::Representation
2887
+
2815
2888
  property :name, as: 'name'
2816
2889
  property :youtube_audience_size, :numeric_string => true, as: 'youtubeAudienceSize'
2817
2890
  end
@@ -2999,6 +3072,7 @@ module Google
2999
3072
 
3000
3073
  property :performance_goal, as: 'performanceGoal', class: Google::Apis::DisplayvideoV1::PerformanceGoal, decorator: Google::Apis::DisplayvideoV1::PerformanceGoal::Representation
3001
3074
 
3075
+ property :reservation_type, as: 'reservationType'
3002
3076
  property :update_time, as: 'updateTime'
3003
3077
  end
3004
3078
  end
@@ -3200,6 +3274,7 @@ module Google
3200
3274
  collection :creative_ids, as: 'creativeIds'
3201
3275
  property :display_name, as: 'displayName'
3202
3276
  property :entity_status, as: 'entityStatus'
3277
+ property :exclude_new_exchanges, as: 'excludeNewExchanges'
3203
3278
  property :flight, as: 'flight', class: Google::Apis::DisplayvideoV1::LineItemFlight, decorator: Google::Apis::DisplayvideoV1::LineItemFlight::Representation
3204
3279
 
3205
3280
  property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DisplayvideoV1::FrequencyCap, decorator: Google::Apis::DisplayvideoV1::FrequencyCap::Representation
@@ -3219,6 +3294,7 @@ module Google
3219
3294
 
3220
3295
  property :partner_revenue_model, as: 'partnerRevenueModel', class: Google::Apis::DisplayvideoV1::PartnerRevenueModel, decorator: Google::Apis::DisplayvideoV1::PartnerRevenueModel::Representation
3221
3296
 
3297
+ property :reservation_type, as: 'reservationType'
3222
3298
  property :targeting_expansion, as: 'targetingExpansion', class: Google::Apis::DisplayvideoV1::TargetingExpansionConfig, decorator: Google::Apis::DisplayvideoV1::TargetingExpansionConfig::Representation
3223
3299
 
3224
3300
  property :update_time, as: 'updateTime'
@@ -3581,6 +3657,13 @@ module Google
3581
3657
  end
3582
3658
  end
3583
3659
 
3660
+ class MobileDeviceIdList
3661
+ # @private
3662
+ class Representation < Google::Apis::Core::JsonRepresentation
3663
+ collection :mobile_device_ids, as: 'mobileDeviceIds'
3664
+ end
3665
+ end
3666
+
3584
3667
  class Money
3585
3668
  # @private
3586
3669
  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.20.0
4
+ version: 0.24.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-12-13 00:00:00.000000000 Z
11
+ date: 2022-01-31 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.24.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