Class: Google::Apis::DfareportingV3_3::ClickTag

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

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.


1945
1946
1947
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 1945

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV3_3::CreativeClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl


1929
1930
1931
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 1929

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)

1936
1937
1938
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 1936

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)

1943
1944
1945
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 1943

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1950
1951
1952
1953
1954
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 1950

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