Class: Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudienceTargetingSetting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Details of first and third party audience targeting setting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirstAndThirdPartyAudienceTargetingSetting

Returns a new instance of FirstAndThirdPartyAudienceTargetingSetting.



6328
6329
6330
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6328

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#first_and_third_party_audience_idFixnum

Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id. Corresponds to the JSON property firstAndThirdPartyAudienceId

Returns:

  • (Fixnum)


6318
6319
6320
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6318

def first_and_third_party_audience_id
  @first_and_third_party_audience_id
end

#recencyString

The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used. Corresponds to the JSON property recency

Returns:

  • (String)


6326
6327
6328
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6326

def recency
  @recency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6333
6334
6335
6336
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6333

def update!(**args)
  @first_and_third_party_audience_id = args[:first_and_third_party_audience_id] if args.key?(:first_and_third_party_audience_id)
  @recency = args[:recency] if args.key?(:recency)
end