Class: Google::Apis::DfareportingV2_6::TagData
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_6::TagData
- 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 Data
Instance Attribute Summary collapse
-
#ad_id ⇒ String
Ad associated with this placement tag.
-
#click_tag ⇒ String
Tag string to record a click.
-
#creative_id ⇒ String
Creative associated with this placement tag.
-
#format ⇒ String
TagData tag format of this tag.
-
#impression_tag ⇒ String
Tag string for serving an ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TagData
constructor
A new instance of TagData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TagData
Returns a new instance of TagData.
10738 10739 10740 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_id ⇒ String
Ad associated with this placement tag.
Corresponds to the JSON property adId
10716 10717 10718 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10716 def ad_id @ad_id end |
#click_tag ⇒ String
Tag string to record a click.
Corresponds to the JSON property clickTag
10721 10722 10723 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10721 def click_tag @click_tag end |
#creative_id ⇒ String
Creative associated with this placement tag.
Corresponds to the JSON property creativeId
10726 10727 10728 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10726 def creative_id @creative_id end |
#format ⇒ String
TagData tag format of this tag.
Corresponds to the JSON property format
10731 10732 10733 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10731 def format @format end |
#impression_tag ⇒ String
Tag string for serving an ad.
Corresponds to the JSON property impressionTag
10736 10737 10738 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10736 def impression_tag @impression_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10743 10744 10745 10746 10747 10748 10749 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10743 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 |