Class: Google::Apis::DfareportingV3_3::TagData

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

Overview

Placement Tag Data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TagData

Returns a new instance of TagData.



11094
11095
11096
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11094

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

Instance Attribute Details

#ad_idFixnum

Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING. Corresponds to the JSON property adId

Returns:

  • (Fixnum)


11071
11072
11073
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11071

def ad_id
  @ad_id
end

#click_tagString

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

Returns:

  • (String)


11076
11077
11078
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11076

def click_tag
  @click_tag
end

#creative_idFixnum

Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING. Corresponds to the JSON property creativeId

Returns:

  • (Fixnum)


11082
11083
11084
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11082

def creative_id
  @creative_id
end

#formatString

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

Returns:

  • (String)


11087
11088
11089
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11087

def format
  @format
end

#impression_tagString

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

Returns:

  • (String)


11092
11093
11094
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11092

def impression_tag
  @impression_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11099
11100
11101
11102
11103
11104
11105
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11099

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