Class: Google::Apis::DfareportingV2_3::TagData

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

Overview

Placement Tag Data

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) ⇒ TagData

Returns a new instance of TagData.



10121
10122
10123
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10121

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

Instance Attribute Details

#ad_idString

Ad associated with this placement tag. Corresponds to the JSON property adId

Returns:

  • (String)


10099
10100
10101
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10099

def ad_id
  @ad_id
end

#click_tagString

Tag string to record a click. Corresponds to the JSON property clickTag

Returns:

  • (String)


10104
10105
10106
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10104

def click_tag
  @click_tag
end

#creative_idString

Creative associated with this placement tag. Corresponds to the JSON property creativeId

Returns:

  • (String)


10109
10110
10111
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10109

def creative_id
  @creative_id
end

#formatString

TagData tag format of this tag. Corresponds to the JSON property format

Returns:

  • (String)


10114
10115
10116
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10114

def format
  @format
end

#impression_tagString

Tag string for serving an ad. Corresponds to the JSON property impressionTag

Returns:

  • (String)


10119
10120
10121
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10119

def impression_tag
  @impression_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10126
10127
10128
10129
10130
10131
10132
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10126

def update!(**args)
  @ad_id = args[:ad_id] if args.key?(:ad_id)
  @click_tag = args[:click_tag] if args.key?(:click_tag)
  @creative_id = args[:creative_id] if args.key?(:creative_id)
  @format = args[:format] if args.key?(:format)
  @impression_tag = args[:impression_tag] if args.key?(:impression_tag)
end