Class: Google::Apis::DisplayvideoV2::FirstAndThirdPartyAudienceTargetingSetting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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.



5648
5649
5650
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5648

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)


5638
5639
5640
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5638

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)


5646
5647
5648
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5646

def recency
  @recency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5653
5654
5655
5656
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5653

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