google-apis-displayvideo_v1 0.21.0 → 0.25.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: cc60a89f428748408617bd671bad072b260cfb9e368be3e0e326030d5539ef57
4
- data.tar.gz: a5b7972f3533605ef3000b247ac48a9587df9f992b7575b0161c5ce07d47ccf6
3
+ metadata.gz: 33545b6c5ab4f47f8e5f88ecdce0794d61d5447ca9864849ebda45797101c148
4
+ data.tar.gz: d3cb1645e1e37da49fed88a0aa6c81f5542d6626ecf0473d5dbe33a8f8346ebe
5
5
  SHA512:
6
- metadata.gz: e75a7854429154fb9d917dd11235049049cd4f6f8a4567ee5f01e8a53a08a28603d9a4c338c2e1180a1b4d99163727f83e2a4ed12edd758a0d4f74a7d82173af
7
- data.tar.gz: 1306f4fbcc68438d26787576e31f8e02cf8f09e88ffb63dbb2c2f6f9250474d7140550ecaebed602dd3b007f2dada98601bcf35a2dabf45711a4cd05bbe9ecda
6
+ metadata.gz: 5770cfd7250ff2d6c5f3bf7e05d1356f9c3ecc3bec5d8d864f2f7bbabd4e0dae9d35b1584d7c259fac480bb5955960a921295af1cda80c0426158b0785ef6a39
7
+ data.tar.gz: f9e64aea035107b38f305ac210bc47105554c1a6b053ec6f5f060756c8239344d4cfd51bbedafb616c1a4a80a4b998fd07e0b299a8a76c01e7ef138970b7565a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.25.0 (2022-02-04)
4
+
5
+ * Regenerated from discovery document revision 20220203
6
+
7
+ ### v0.24.0 (2022-01-28)
8
+
9
+ * Regenerated from discovery document revision 20220127
10
+
11
+ ### v0.23.0 (2022-01-21)
12
+
13
+ * Regenerated from discovery document revision 20220120
14
+
15
+ ### v0.22.0 (2022-01-14)
16
+
17
+ * Regenerated from discovery document revision 20220113
18
+ * Regenerated using generator version 0.4.1
19
+
3
20
  ### v0.21.0 (2021-12-14)
4
21
 
5
22
  * Unspecified changes
@@ -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,84 @@ 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. Must also be set with the following fields: *
2733
+ # hashed_first_name * hashed_last_name * zip_codes
2734
+ # Corresponds to the JSON property `countryCode`
2735
+ # @return [String]
2736
+ attr_accessor :country_code
2737
+
2738
+ # A list of SHA256 hashed email of the member. Before hashing, remove all
2739
+ # whitespace and make sure the string is all lowercase.
2740
+ # Corresponds to the JSON property `hashedEmails`
2741
+ # @return [Array<String>]
2742
+ attr_accessor :hashed_emails
2743
+
2744
+ # SHA256 hashed first name of the member. Before hashing, remove all whitespace
2745
+ # and make sure the string is all lowercase. Must also be set with the following
2746
+ # fields: * country_code * hashed_last_name * zip_codes
2747
+ # Corresponds to the JSON property `hashedFirstName`
2748
+ # @return [String]
2749
+ attr_accessor :hashed_first_name
2750
+
2751
+ # SHA256 hashed last name of the member. Before hashing, remove all whitespace
2752
+ # and make sure the string is all lowercase. Must also be set with the following
2753
+ # fields: * country_code * hashed_first_name * zip_codes
2754
+ # Corresponds to the JSON property `hashedLastName`
2755
+ # @return [String]
2756
+ attr_accessor :hashed_last_name
2757
+
2758
+ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone
2759
+ # numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.
2760
+ # 164) and include the country calling code.
2761
+ # Corresponds to the JSON property `hashedPhoneNumbers`
2762
+ # @return [Array<String>]
2763
+ attr_accessor :hashed_phone_numbers
2764
+
2765
+ # A list of zip codes of the member. Must also be set with the following fields:
2766
+ # * country_code * hashed_first_name * hashed_last_name
2767
+ # Corresponds to the JSON property `zipCodes`
2768
+ # @return [Array<String>]
2769
+ attr_accessor :zip_codes
2770
+
2771
+ def initialize(**args)
2772
+ update!(**args)
2773
+ end
2774
+
2775
+ # Update properties of this object
2776
+ def update!(**args)
2777
+ @country_code = args[:country_code] if args.key?(:country_code)
2778
+ @hashed_emails = args[:hashed_emails] if args.key?(:hashed_emails)
2779
+ @hashed_first_name = args[:hashed_first_name] if args.key?(:hashed_first_name)
2780
+ @hashed_last_name = args[:hashed_last_name] if args.key?(:hashed_last_name)
2781
+ @hashed_phone_numbers = args[:hashed_phone_numbers] if args.key?(:hashed_phone_numbers)
2782
+ @zip_codes = args[:zip_codes] if args.key?(:zip_codes)
2783
+ end
2784
+ end
2785
+
2786
+ # Wrapper message for a list of contact information defining Customer Match
2787
+ # audience members.
2788
+ class ContactInfoList
2789
+ include Google::Apis::Core::Hashable
2790
+
2791
+ # A list of ContactInfo objects defining Customer Match audience members.
2792
+ # Corresponds to the JSON property `contactInfos`
2793
+ # @return [Array<Google::Apis::DisplayvideoV1::ContactInfo>]
2794
+ attr_accessor :contact_infos
2795
+
2796
+ def initialize(**args)
2797
+ update!(**args)
2798
+ end
2799
+
2800
+ # Update properties of this object
2801
+ def update!(**args)
2802
+ @contact_infos = args[:contact_infos] if args.key?(:contact_infos)
2803
+ end
2804
+ end
2805
+
2728
2806
  # Assigned content instream position targeting option details. This will be
2729
2807
  # populated in the content_instream_position_details field when targeting_type
2730
2808
  # is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
@@ -3713,10 +3791,10 @@ module Google
3713
3791
  # day and time zone are either specified elsewhere or are insignificant. The
3714
3792
  # date is relative to the Gregorian Calendar. This can represent one of the
3715
3793
  # following: * A full date, with non-zero year, month, and day values * A month
3716
- # and day value, with a zero year, such as an anniversary * A year on its own,
3717
- # with zero month and day values * A year and month value, with a zero day, such
3718
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3719
- # google.protobuf.Timestamp`.
3794
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3795
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3796
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3797
+ # DateTime * google.protobuf.Timestamp
3720
3798
  class Date
3721
3799
  include Google::Apis::Core::Hashable
3722
3800
 
@@ -3758,10 +3836,10 @@ module Google
3758
3836
  # day and time zone are either specified elsewhere or are insignificant. The
3759
3837
  # date is relative to the Gregorian Calendar. This can represent one of the
3760
3838
  # following: * A full date, with non-zero year, month, and day values * A month
3761
- # and day value, with a zero year, such as an anniversary * A year on its own,
3762
- # with zero month and day values * A year and month value, with a zero day, such
3763
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3764
- # google.protobuf.Timestamp`.
3839
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3840
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3841
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3842
+ # DateTime * google.protobuf.Timestamp
3765
3843
  # Corresponds to the JSON property `endDate`
3766
3844
  # @return [Google::Apis::DisplayvideoV1::Date]
3767
3845
  attr_accessor :end_date
@@ -3770,10 +3848,10 @@ module Google
3770
3848
  # day and time zone are either specified elsewhere or are insignificant. The
3771
3849
  # date is relative to the Gregorian Calendar. This can represent one of the
3772
3850
  # following: * A full date, with non-zero year, month, and day values * A month
3773
- # and day value, with a zero year, such as an anniversary * A year on its own,
3774
- # with zero month and day values * A year and month value, with a zero day, such
3775
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3776
- # google.protobuf.Timestamp`.
3851
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3852
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3853
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3854
+ # DateTime * google.protobuf.Timestamp
3777
3855
  # Corresponds to the JSON property `startDate`
3778
3856
  # @return [Google::Apis::DisplayvideoV1::Date]
3779
3857
  attr_accessor :start_date
@@ -4245,6 +4323,59 @@ module Google
4245
4323
  end
4246
4324
  end
4247
4325
 
4326
+ # Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
4327
+ class EditCustomerMatchMembersRequest
4328
+ include Google::Apis::Core::Hashable
4329
+
4330
+ # Wrapper message for a list of contact information defining Customer Match
4331
+ # audience members.
4332
+ # Corresponds to the JSON property `addedContactInfoList`
4333
+ # @return [Google::Apis::DisplayvideoV1::ContactInfoList]
4334
+ attr_accessor :added_contact_info_list
4335
+
4336
+ # Wrapper message for a list of mobile device IDs defining Customer Match
4337
+ # audience members.
4338
+ # Corresponds to the JSON property `addedMobileDeviceIdList`
4339
+ # @return [Google::Apis::DisplayvideoV1::MobileDeviceIdList]
4340
+ attr_accessor :added_mobile_device_id_list
4341
+
4342
+ # Required. The ID of the owner advertiser of the updated Customer Match
4343
+ # FirstAndThirdPartyAudience.
4344
+ # Corresponds to the JSON property `advertiserId`
4345
+ # @return [Fixnum]
4346
+ attr_accessor :advertiser_id
4347
+
4348
+ def initialize(**args)
4349
+ update!(**args)
4350
+ end
4351
+
4352
+ # Update properties of this object
4353
+ def update!(**args)
4354
+ @added_contact_info_list = args[:added_contact_info_list] if args.key?(:added_contact_info_list)
4355
+ @added_mobile_device_id_list = args[:added_mobile_device_id_list] if args.key?(:added_mobile_device_id_list)
4356
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
4357
+ end
4358
+ end
4359
+
4360
+ # The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
4361
+ class EditCustomerMatchMembersResponse
4362
+ include Google::Apis::Core::Hashable
4363
+
4364
+ # Required. The ID of the updated Customer Match FirstAndThirdPartyAudience.
4365
+ # Corresponds to the JSON property `firstAndThirdPartyAudienceId`
4366
+ # @return [Fixnum]
4367
+ attr_accessor :first_and_third_party_audience_id
4368
+
4369
+ def initialize(**args)
4370
+ update!(**args)
4371
+ end
4372
+
4373
+ # Update properties of this object
4374
+ def update!(**args)
4375
+ @first_and_third_party_audience_id = args[:first_and_third_party_audience_id] if args.key?(:first_and_third_party_audience_id)
4376
+ end
4377
+ end
4378
+
4248
4379
  # A generic empty message that you can re-use to avoid defining duplicated empty
4249
4380
  # messages in your APIs. A typical example is to use it as the request or the
4250
4381
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -4494,16 +4625,28 @@ module Google
4494
4625
  # @return [Fixnum]
4495
4626
  attr_accessor :active_display_audience_size
4496
4627
 
4628
+ # The app_id matches with the type of the mobile_device_ids being uploaded. Only
4629
+ # applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
4630
+ # Corresponds to the JSON property `appId`
4631
+ # @return [String]
4632
+ attr_accessor :app_id
4633
+
4497
4634
  # Output only. The source of the audience.
4498
4635
  # Corresponds to the JSON property `audienceSource`
4499
4636
  # @return [String]
4500
4637
  attr_accessor :audience_source
4501
4638
 
4502
- # Output only. The type of the audience.
4639
+ # The type of the audience.
4503
4640
  # Corresponds to the JSON property `audienceType`
4504
4641
  # @return [String]
4505
4642
  attr_accessor :audience_type
4506
4643
 
4644
+ # Wrapper message for a list of contact information defining Customer Match
4645
+ # audience members.
4646
+ # Corresponds to the JSON property `contactInfoList`
4647
+ # @return [Google::Apis::DisplayvideoV1::ContactInfoList]
4648
+ attr_accessor :contact_info_list
4649
+
4507
4650
  # The user-provided description of the audience. Only applicable to first party
4508
4651
  # audiences.
4509
4652
  # Corresponds to the JSON property `description`
@@ -4556,7 +4699,7 @@ module Google
4556
4699
  # @return [Fixnum]
4557
4700
  attr_accessor :first_and_third_party_audience_id
4558
4701
 
4559
- # Output only. Whether the audience is a first or third party audience.
4702
+ # Whether the audience is a first or third party audience.
4560
4703
  # Corresponds to the JSON property `firstAndThirdPartyAudienceType`
4561
4704
  # @return [String]
4562
4705
  attr_accessor :first_and_third_party_audience_type
@@ -4570,11 +4713,21 @@ module Google
4570
4713
  attr_accessor :gmail_audience_size
4571
4714
 
4572
4715
  # The duration in days that an entry remains in the audience after the
4573
- # qualifying event. Only applicable to first party audiences.
4716
+ # qualifying event. If the audience has no expiration, set the value of this
4717
+ # field to 10000. Otherwise, the set value must be greater than 0 and less than
4718
+ # or equal to 540. Only applicable to first party audiences. This field is
4719
+ # required if one of the following audience_type is used: * `
4720
+ # CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
4574
4721
  # Corresponds to the JSON property `membershipDurationDays`
4575
4722
  # @return [Fixnum]
4576
4723
  attr_accessor :membership_duration_days
4577
4724
 
4725
+ # Wrapper message for a list of mobile device IDs defining Customer Match
4726
+ # audience members.
4727
+ # Corresponds to the JSON property `mobileDeviceIdList`
4728
+ # @return [Google::Apis::DisplayvideoV1::MobileDeviceIdList]
4729
+ attr_accessor :mobile_device_id_list
4730
+
4578
4731
  # Output only. The resource name of the first and third party audience.
4579
4732
  # Corresponds to the JSON property `name`
4580
4733
  # @return [String]
@@ -4595,8 +4748,10 @@ module Google
4595
4748
  # Update properties of this object
4596
4749
  def update!(**args)
4597
4750
  @active_display_audience_size = args[:active_display_audience_size] if args.key?(:active_display_audience_size)
4751
+ @app_id = args[:app_id] if args.key?(:app_id)
4598
4752
  @audience_source = args[:audience_source] if args.key?(:audience_source)
4599
4753
  @audience_type = args[:audience_type] if args.key?(:audience_type)
4754
+ @contact_info_list = args[:contact_info_list] if args.key?(:contact_info_list)
4600
4755
  @description = args[:description] if args.key?(:description)
4601
4756
  @display_audience_size = args[:display_audience_size] if args.key?(:display_audience_size)
4602
4757
  @display_desktop_audience_size = args[:display_desktop_audience_size] if args.key?(:display_desktop_audience_size)
@@ -4607,6 +4762,7 @@ module Google
4607
4762
  @first_and_third_party_audience_type = args[:first_and_third_party_audience_type] if args.key?(:first_and_third_party_audience_type)
4608
4763
  @gmail_audience_size = args[:gmail_audience_size] if args.key?(:gmail_audience_size)
4609
4764
  @membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days)
4765
+ @mobile_device_id_list = args[:mobile_device_id_list] if args.key?(:mobile_device_id_list)
4610
4766
  @name = args[:name] if args.key?(:name)
4611
4767
  @youtube_audience_size = args[:youtube_audience_size] if args.key?(:youtube_audience_size)
4612
4768
  end
@@ -5263,6 +5419,11 @@ module Google
5263
5419
  # @return [Google::Apis::DisplayvideoV1::PerformanceGoal]
5264
5420
  attr_accessor :performance_goal
5265
5421
 
5422
+ # Output only. The reservation type of the insertion order.
5423
+ # Corresponds to the JSON property `reservationType`
5424
+ # @return [String]
5425
+ attr_accessor :reservation_type
5426
+
5266
5427
  # Output only. The timestamp when the insertion order was last updated. Assigned
5267
5428
  # by the system.
5268
5429
  # Corresponds to the JSON property `updateTime`
@@ -5289,6 +5450,7 @@ module Google
5289
5450
  @pacing = args[:pacing] if args.key?(:pacing)
5290
5451
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
5291
5452
  @performance_goal = args[:performance_goal] if args.key?(:performance_goal)
5453
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
5292
5454
  @update_time = args[:update_time] if args.key?(:update_time)
5293
5455
  end
5294
5456
  end
@@ -5835,10 +5997,10 @@ module Google
5835
5997
  # day and time zone are either specified elsewhere or are insignificant. The
5836
5998
  # date is relative to the Gregorian Calendar. This can represent one of the
5837
5999
  # following: * A full date, with non-zero year, month, and day values * A month
5838
- # and day value, with a zero year, such as an anniversary * A year on its own,
5839
- # with zero month and day values * A year and month value, with a zero day, such
5840
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5841
- # google.protobuf.Timestamp`.
6000
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
6001
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
6002
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
6003
+ # DateTime * google.protobuf.Timestamp
5842
6004
  # Corresponds to the JSON property `dueDate`
5843
6005
  # @return [Google::Apis::DisplayvideoV1::Date]
5844
6006
  attr_accessor :due_date
@@ -5857,10 +6019,10 @@ module Google
5857
6019
  # day and time zone are either specified elsewhere or are insignificant. The
5858
6020
  # date is relative to the Gregorian Calendar. This can represent one of the
5859
6021
  # following: * A full date, with non-zero year, month, and day values * A month
5860
- # and day value, with a zero year, such as an anniversary * A year on its own,
5861
- # with zero month and day values * A year and month value, with a zero day, such
5862
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5863
- # google.protobuf.Timestamp`.
6022
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
6023
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
6024
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
6025
+ # DateTime * google.protobuf.Timestamp
5864
6026
  # Corresponds to the JSON property `issueDate`
5865
6027
  # @return [Google::Apis::DisplayvideoV1::Date]
5866
6028
  attr_accessor :issue_date
@@ -6105,6 +6267,13 @@ module Google
6105
6267
  # @return [String]
6106
6268
  attr_accessor :entity_status
6107
6269
 
6270
+ # Whether to exclude new exchanges from automatically being targeted by the line
6271
+ # item. This field is false by default.
6272
+ # Corresponds to the JSON property `excludeNewExchanges`
6273
+ # @return [Boolean]
6274
+ attr_accessor :exclude_new_exchanges
6275
+ alias_method :exclude_new_exchanges?, :exclude_new_exchanges
6276
+
6108
6277
  # Settings that control the active duration of a line item.
6109
6278
  # Corresponds to the JSON property `flight`
6110
6279
  # @return [Google::Apis::DisplayvideoV1::LineItemFlight]
@@ -6169,6 +6338,11 @@ module Google
6169
6338
  # @return [Google::Apis::DisplayvideoV1::PartnerRevenueModel]
6170
6339
  attr_accessor :partner_revenue_model
6171
6340
 
6341
+ # Output only. The reservation type of the line item.
6342
+ # Corresponds to the JSON property `reservationType`
6343
+ # @return [String]
6344
+ attr_accessor :reservation_type
6345
+
6172
6346
  # Settings that control the targeting expansion of the line item. Targeting
6173
6347
  # expansion allows the line item to reach a larger audience based on the
6174
6348
  # original audience list and the targeting expansion level.
@@ -6203,6 +6377,7 @@ module Google
6203
6377
  @creative_ids = args[:creative_ids] if args.key?(:creative_ids)
6204
6378
  @display_name = args[:display_name] if args.key?(:display_name)
6205
6379
  @entity_status = args[:entity_status] if args.key?(:entity_status)
6380
+ @exclude_new_exchanges = args[:exclude_new_exchanges] if args.key?(:exclude_new_exchanges)
6206
6381
  @flight = args[:flight] if args.key?(:flight)
6207
6382
  @frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap)
6208
6383
  @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
@@ -6215,6 +6390,7 @@ module Google
6215
6390
  @pacing = args[:pacing] if args.key?(:pacing)
6216
6391
  @partner_costs = args[:partner_costs] if args.key?(:partner_costs)
6217
6392
  @partner_revenue_model = args[:partner_revenue_model] if args.key?(:partner_revenue_model)
6393
+ @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
6218
6394
  @targeting_expansion = args[:targeting_expansion] if args.key?(:targeting_expansion)
6219
6395
  @update_time = args[:update_time] if args.key?(:update_time)
6220
6396
  @warning_messages = args[:warning_messages] if args.key?(:warning_messages)
@@ -7381,6 +7557,26 @@ module Google
7381
7557
  end
7382
7558
  end
7383
7559
 
7560
+ # Wrapper message for a list of mobile device IDs defining Customer Match
7561
+ # audience members.
7562
+ class MobileDeviceIdList
7563
+ include Google::Apis::Core::Hashable
7564
+
7565
+ # A list of mobile device IDs defining Customer Match audience members.
7566
+ # Corresponds to the JSON property `mobileDeviceIds`
7567
+ # @return [Array<String>]
7568
+ attr_accessor :mobile_device_ids
7569
+
7570
+ def initialize(**args)
7571
+ update!(**args)
7572
+ end
7573
+
7574
+ # Update properties of this object
7575
+ def update!(**args)
7576
+ @mobile_device_ids = args[:mobile_device_ids] if args.key?(:mobile_device_ids)
7577
+ end
7578
+ end
7579
+
7384
7580
  # Represents an amount of money with its currency type.
7385
7581
  class Money
7386
7582
  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.21.0"
19
+ GEM_VERSION = "0.25.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 = "20220203"
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.21.0
4
+ version: 0.25.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-10 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.25.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.3.4
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