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.



5584
5585
5586
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5584

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)


5574
5575
5576
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5574

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)


5582
5583
5584
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5582

def recency
  @recency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5589
5590
5591
5592
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5589

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