Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesRawEventConversionDimensionHeader

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

Overview

Message for raw event conversion dimension header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesRawEventConversionDimensionHeader

Returns a new instance of GoogleAdsSearchads360V0ServicesRawEventConversionDimensionHeader.



7815
7816
7817
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7815

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


7808
7809
7810
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7808

def id
  @id
end

#nameString

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

Returns:

  • (String)


7813
7814
7815
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7813

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7820
7821
7822
7823
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7820

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