Class: Google::Apis::DfareportingV2_5::ClickTag

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

Creative Click 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) ⇒ ClickTag

Returns a new instance of ClickTag.



1927
1928
1929
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1927

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

Instance Attribute Details

#event_nameString

Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives. Corresponds to the JSON property eventName

Returns:

  • (String)


1912
1913
1914
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1912

def event_name
  @event_name
end

#nameString

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

Returns:

  • (String)


1919
1920
1921
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1919

def name
  @name
end

#valueString

Parameter value for the specified click tag. This field contains a click- through url. Corresponds to the JSON property value

Returns:

  • (String)


1925
1926
1927
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1925

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1932
1933
1934
1935
1936
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1932

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