Class: Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudienceTargetingSetting

Inherits:
Object
  • Object
show all
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

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.



4075
4076
4077
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4075

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)


4065
4066
4067
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4065

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)


4073
4074
4075
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4073

def recency
  @recency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4080
4081
4082
4083
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4080

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