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.



6226
6227
6228
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6226

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)


6216
6217
6218
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6216

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)


6224
6225
6226
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6224

def recency
  @recency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6231
6232
6233
6234
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6231

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