Class: Google::Apis::DfareportingV3_4::ClickTag

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

Overview

Creative Click Tag.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClickTag

Returns a new instance of ClickTag.



2063
2064
2065
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2063

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV3_4::CreativeClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl



2047
2048
2049
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2047

def click_through_url
  @click_through_url
end

#event_nameString

Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. Corresponds to the JSON property eventName

Returns:

  • (String)


2054
2055
2056
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2054

def event_name
  @event_name
end

#nameString

Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. Corresponds to the JSON property name

Returns:

  • (String)


2061
2062
2063
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2061

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2068
2069
2070
2071
2072
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2068

def update!(**args)
  @click_through_url = args[:click_through_url] if args.key?(:click_through_url)
  @event_name = args[:event_name] if args.key?(:event_name)
  @name = args[:name] if args.key?(:name)
end