Class: Google::Apis::DisplayvideoV2::GoogleAudienceTargetingSetting

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 Google audience targeting setting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAudienceTargetingSetting

Returns a new instance of GoogleAudienceTargetingSetting.



6111
6112
6113
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6111

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

Instance Attribute Details

#google_audience_idFixnum

Required. Google audience id of the Google audience targeting setting. This id is google_audience_id. Corresponds to the JSON property googleAudienceId

Returns:

  • (Fixnum)


6109
6110
6111
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6109

def google_audience_id
  @google_audience_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6116
6117
6118
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6116

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