Class: Google::Apis::DfareportingV2_6::PlacementTag

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/representations.rb

Overview

Placement Tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PlacementTag

Returns a new instance of PlacementTag.



8448
8449
8450
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8448

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

Instance Attribute Details

#placement_idString

Placement ID Corresponds to the JSON property placementId

Returns:

  • (String)


8441
8442
8443
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8441

def placement_id
  @placement_id
end

#tag_datasArray<Google::Apis::DfareportingV2_6::TagData>

Tags generated for this placement. Corresponds to the JSON property tagDatas



8446
8447
8448
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8446

def tag_datas
  @tag_datas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8453
8454
8455
8456
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8453

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