Class: Google::Apis::DfareportingV2_5::PlacementTag

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/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.


8258
8259
8260
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8258

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

Instance Attribute Details

#placement_idString

Placement ID Corresponds to the JSON property placementId

Returns:

  • (String)

8251
8252
8253
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8251

def placement_id
  @placement_id
end

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

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


8256
8257
8258
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8256

def tag_datas
  @tag_datas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


8263
8264
8265
8266
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8263

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