Class: Google::Apis::DfareportingV3_4::CustomEventClickAnnotation

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

Annotate a click event.

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) ⇒ CustomEventClickAnnotation

Returns a new instance of CustomEventClickAnnotation.



4711
4712
4713
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4711

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

Instance Attribute Details

#gclidString

The Google click ID. Use this field to annotate the click associated with the gclid. Corresponds to the JSON property gclid

Returns:

  • (String)


4703
4704
4705
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4703

def gclid
  @gclid
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#customEventClickAnnotation". Corresponds to the JSON property kind

Returns:

  • (String)


4709
4710
4711
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4709

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4716
4717
4718
4719
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4716

def update!(**args)
  @gclid = args[:gclid] if args.key?(:gclid)
  @kind = args[:kind] if args.key?(:kind)
end