Class: Google::Apis::DisplayvideoV2::YoutubeAdGroupAssignedTargetingOption
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeAdGroupAssignedTargetingOption
- 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
Wrapper object associating an AssignedTargetingOption resource and the youtube ad group it is assigned to.
Instance Attribute Summary collapse
-
#assigned_targeting_option ⇒ Google::Apis::DisplayvideoV2::AssignedTargetingOption
A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.
-
#youtube_ad_group_id ⇒ Fixnum
The ID of the youtube ad group the assigned targeting option is assigned to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAdGroupAssignedTargetingOption
constructor
A new instance of YoutubeAdGroupAssignedTargetingOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAdGroupAssignedTargetingOption
Returns a new instance of YoutubeAdGroupAssignedTargetingOption.
12179 12180 12181 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12179 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_targeting_option ⇒ Google::Apis::DisplayvideoV2::AssignedTargetingOption
A single assigned targeting option, which defines the state of a targeting
option for an entity with targeting settings.
Corresponds to the JSON property assignedTargetingOption
12172 12173 12174 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12172 def assigned_targeting_option @assigned_targeting_option end |
#youtube_ad_group_id ⇒ Fixnum
The ID of the youtube ad group the assigned targeting option is assigned to.
Corresponds to the JSON property youtubeAdGroupId
12177 12178 12179 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12177 def youtube_ad_group_id @youtube_ad_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12184 12185 12186 12187 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12184 def update!(**args) @assigned_targeting_option = args[:assigned_targeting_option] if args.key?(:assigned_targeting_option) @youtube_ad_group_id = args[:youtube_ad_group_id] if args.key?(:youtube_ad_group_id) end |