Class: Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
Instance Attribute Summary collapse
-
#active_display_audience_size ⇒ Fixnum
Output only.
-
#audience_source ⇒ String
Output only.
-
#audience_type ⇒ String
Output only.
-
#description ⇒ String
The user-provided description of the audience.
-
#display_audience_size ⇒ Fixnum
Output only.
-
#display_desktop_audience_size ⇒ Fixnum
Output only.
-
#display_mobile_app_audience_size ⇒ Fixnum
Output only.
-
#display_mobile_web_audience_size ⇒ Fixnum
Output only.
-
#display_name ⇒ String
The display name of the first and third party audience.
-
#first_and_third_party_audience_id ⇒ Fixnum
Output only.
-
#first_and_third_party_audience_type ⇒ String
Output only.
-
#gmail_audience_size ⇒ Fixnum
Output only.
-
#membership_duration_days ⇒ Fixnum
The duration in days that an entry remains in the audience after the qualifying event.
-
#name ⇒ String
Output only.
-
#youtube_audience_size ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirstAndThirdPartyAudience
constructor
A new instance of FirstAndThirdPartyAudience.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FirstAndThirdPartyAudience
Returns a new instance of FirstAndThirdPartyAudience.
4012 4013 4014 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4012 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_display_audience_size ⇒ Fixnum
Output only. The estimated audience size for the Display network in the past
month. If the size is less than 1000, the number will be hidden and 0 will be
returned due to privacy reasons. Otherwise, the number will be rounded off to
two significant digits. Only returned in GET request.
Corresponds to the JSON property activeDisplayAudienceSize
3916 3917 3918 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3916 def active_display_audience_size @active_display_audience_size end |
#audience_source ⇒ String
Output only. The source of the audience.
Corresponds to the JSON property audienceSource
3921 3922 3923 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3921 def audience_source @audience_source end |
#audience_type ⇒ String
Output only. The type of the audience.
Corresponds to the JSON property audienceType
3926 3927 3928 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3926 def audience_type @audience_type end |
#description ⇒ String
The user-provided description of the audience. Only applicable to first party
audiences.
Corresponds to the JSON property description
3932 3933 3934 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3932 def description @description end |
#display_audience_size ⇒ Fixnum
Output only. The estimated audience size for the Display network. If the size
is less than 1000, the number will be hidden and 0 will be returned due to
privacy reasons. Otherwise, the number will be rounded off to two significant
digits. Only returned in GET request.
Corresponds to the JSON property displayAudienceSize
3940 3941 3942 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3940 def display_audience_size @display_audience_size end |
#display_desktop_audience_size ⇒ Fixnum
Output only. The estimated desktop audience size in Display network. If the
size is less than 1000, the number will be hidden and 0 will be returned due
to privacy reasons. Otherwise, the number will be rounded off to two
significant digits. Only applicable to first party audiences. Only returned in
GET request.
Corresponds to the JSON property displayDesktopAudienceSize
3949 3950 3951 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3949 def display_desktop_audience_size @display_desktop_audience_size end |
#display_mobile_app_audience_size ⇒ Fixnum
Output only. The estimated mobile app audience size in Display network. If the
size is less than 1000, the number will be hidden and 0 will be returned due
to privacy reasons. Otherwise, the number will be rounded off to two
significant digits. Only applicable to first party audiences. Only returned in
GET request.
Corresponds to the JSON property displayMobileAppAudienceSize
3958 3959 3960 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3958 def display_mobile_app_audience_size @display_mobile_app_audience_size end |
#display_mobile_web_audience_size ⇒ Fixnum
Output only. The estimated mobile web audience size in Display network. If the
size is less than 1000, the number will be hidden and 0 will be returned due
to privacy reasons. Otherwise, the number will be rounded off to two
significant digits. Only applicable to first party audiences. Only returned in
GET request.
Corresponds to the JSON property displayMobileWebAudienceSize
3967 3968 3969 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3967 def display_mobile_web_audience_size @display_mobile_web_audience_size end |
#display_name ⇒ String
The display name of the first and third party audience.
Corresponds to the JSON property displayName
3972 3973 3974 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3972 def display_name @display_name end |
#first_and_third_party_audience_id ⇒ Fixnum
Output only. The unique ID of the first and third party audience. Assigned by
the system.
Corresponds to the JSON property firstAndThirdPartyAudienceId
3978 3979 3980 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3978 def first_and_third_party_audience_id @first_and_third_party_audience_id end |
#first_and_third_party_audience_type ⇒ String
Output only. Whether the audience is a first or third party audience.
Corresponds to the JSON property firstAndThirdPartyAudienceType
3983 3984 3985 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3983 def first_and_third_party_audience_type @first_and_third_party_audience_type end |
#gmail_audience_size ⇒ Fixnum
Output only. The estimated audience size for Gmail network. If the size is
less than 1000, the number will be hidden and 0 will be returned due to
privacy reasons. Otherwise, the number will be rounded off to two significant
digits. Only applicable to first party audiences. Only returned in GET request.
Corresponds to the JSON property gmailAudienceSize
3991 3992 3993 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3991 def gmail_audience_size @gmail_audience_size end |
#membership_duration_days ⇒ Fixnum
The duration in days that an entry remains in the audience after the
qualifying event. Only applicable to first party audiences.
Corresponds to the JSON property membershipDurationDays
3997 3998 3999 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3997 def membership_duration_days @membership_duration_days end |
#name ⇒ String
Output only. The resource name of the first and third party audience.
Corresponds to the JSON property name
4002 4003 4004 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4002 def name @name end |
#youtube_audience_size ⇒ Fixnum
Output only. The estimated audience size for YouTube network. If the size is
less than 1000, the number will be hidden and 0 will be returned due to
privacy reasons. Otherwise, the number will be rounded off to two significant
digits. Only applicable to first party audiences. Only returned in GET request.
Corresponds to the JSON property youtubeAudienceSize
4010 4011 4012 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4010 def youtube_audience_size @youtube_audience_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4017 def update!(**args) @active_display_audience_size = args[:active_display_audience_size] if args.key?(:active_display_audience_size) @audience_source = args[:audience_source] if args.key?(:audience_source) @audience_type = args[:audience_type] if args.key?(:audience_type) @description = args[:description] if args.key?(:description) @display_audience_size = args[:display_audience_size] if args.key?(:display_audience_size) @display_desktop_audience_size = args[:display_desktop_audience_size] if args.key?(:display_desktop_audience_size) @display_mobile_app_audience_size = args[:display_mobile_app_audience_size] if args.key?(:display_mobile_app_audience_size) @display_mobile_web_audience_size = args[:display_mobile_web_audience_size] if args.key?(:display_mobile_web_audience_size) @display_name = args[:display_name] if args.key?(:display_name) @first_and_third_party_audience_id = args[:first_and_third_party_audience_id] if args.key?(:first_and_third_party_audience_id) @first_and_third_party_audience_type = args[:first_and_third_party_audience_type] if args.key?(:first_and_third_party_audience_type) @gmail_audience_size = args[:gmail_audience_size] if args.key?(:gmail_audience_size) @membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days) @name = args[:name] if args.key?(:name) @youtube_audience_size = args[:youtube_audience_size] if args.key?(:youtube_audience_size) end |