Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader

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

Overview

Message for raw event conversion metric header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader

Returns a new instance of GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader.



52914
52915
52916
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52914

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

Instance Attribute Details

#idFixnum

The conversion custom variable ID. Corresponds to the JSON property id

Returns:

  • (Fixnum)


52907
52908
52909
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52907

def id
  @id
end

#nameString

The user defined name of the raw event metric. Corresponds to the JSON property name

Returns:

  • (String)


52912
52913
52914
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52912

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52919
52920
52921
52922
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52919

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