lib/google/apis/displayvideo_v3/classes.rb in google-apis-displayvideo_v3-0.1.0 vs lib/google/apis/displayvideo_v3/classes.rb in google-apis-displayvideo_v3-0.2.0
- old
+ new
@@ -3567,10 +3567,35 @@
@tracking_url = args[:tracking_url] if args.key?(:tracking_url)
@video = args[:video] if args.key?(:video)
end
end
+ # User consent status.
+ class Consent
+ include Google::Apis::Core::Hashable
+
+ # Represents consent for ad personalization.
+ # Corresponds to the JSON property `adPersonalization`
+ # @return [String]
+ attr_accessor :ad_personalization
+
+ # Represents consent for ad user data.
+ # Corresponds to the JSON property `adUserData`
+ # @return [String]
+ attr_accessor :ad_user_data
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @ad_personalization = args[:ad_personalization] if args.key?(:ad_personalization)
+ @ad_user_data = args[:ad_user_data] if args.key?(:ad_user_data)
+ end
+ end
+
# Contact information defining a Customer Match audience member.
class ContactInfo
include Google::Apis::Core::Hashable
# Country code of the member. Must also be set with the following fields: *
@@ -3630,10 +3655,15 @@
# Wrapper message for a list of contact information defining Customer Match
# audience members.
class ContactInfoList
include Google::Apis::Core::Hashable
+ # User consent status.
+ # Corresponds to the JSON property `consent`
+ # @return [Google::Apis::DisplayvideoV3::Consent]
+ attr_accessor :consent
+
# A list of ContactInfo objects defining Customer Match audience members. The
# size of members after splitting the contact_infos mustn't be greater than 500,
# 000.
# Corresponds to the JSON property `contactInfos`
# @return [Array<Google::Apis::DisplayvideoV3::ContactInfo>]
@@ -3643,10 +3673,11 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @consent = args[:consent] if args.key?(:consent)
@contact_infos = args[:contact_infos] if args.key?(:contact_infos)
end
end
# Details for content duration assigned targeting option. This will be populated
@@ -9419,10 +9450,15 @@
# Wrapper message for a list of mobile device IDs defining Customer Match
# audience members.
class MobileDeviceIdList
include Google::Apis::Core::Hashable
+ # User consent status.
+ # Corresponds to the JSON property `consent`
+ # @return [Google::Apis::DisplayvideoV3::Consent]
+ attr_accessor :consent
+
# A list of mobile device IDs defining Customer Match audience members. The size
# of mobile_device_ids mustn't be greater than 500,000.
# Corresponds to the JSON property `mobileDeviceIds`
# @return [Array<String>]
attr_accessor :mobile_device_ids
@@ -9431,9 +9467,10 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @consent = args[:consent] if args.key?(:consent)
@mobile_device_ids = args[:mobile_device_ids] if args.key?(:mobile_device_ids)
end
end
# Represents an amount of money with its currency type.