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.



2023
2024
2025
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2023

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



2007
2008
2009
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2007

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)


2014
2015
2016
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2014

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)


2021
2022
2023
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2021

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2028
2029
2030
2031
2032
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2028

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