class Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience

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.

Attributes

active_display_audience_size[RW]

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` @return [Fixnum]

audience_source[RW]

Output only. The source of the audience. Corresponds to the JSON property `audienceSource` @return [String]

audience_type[RW]

Output only. The type of the audience. Corresponds to the JSON property `audienceType` @return [String]

description[RW]

The user-provided description of the audience. Only applicable to first party audiences. Corresponds to the JSON property `description` @return [String]

display_audience_size[RW]

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` @return [Fixnum]

display_desktop_audience_size[RW]

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` @return [Fixnum]

display_mobile_app_audience_size[RW]

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` @return [Fixnum]

display_mobile_web_audience_size[RW]

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` @return [Fixnum]

display_name[RW]

The display name of the first and third party audience. Corresponds to the JSON property `displayName` @return [String]

first_and_third_party_audience_id[RW]

Output only. The unique ID of the first and third party audience. Assigned by the system. Corresponds to the JSON property `firstAndThirdPartyAudienceId` @return [Fixnum]

first_and_third_party_audience_type[RW]

Output only. Whether the audience is a first or third party audience. Corresponds to the JSON property `firstAndThirdPartyAudienceType` @return [String]

gmail_audience_size[RW]

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` @return [Fixnum]

membership_duration_days[RW]

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` @return [Fixnum]

name[RW]

Output only. The resource name of the first and third party audience. Corresponds to the JSON property `name` @return [String]

youtube_audience_size[RW]

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` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 4439
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 4444
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