Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesConversionCustomDimensionHeader

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 conversion custom dimension header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesConversionCustomDimensionHeader

Returns a new instance of GoogleAdsSearchads360V0ServicesConversionCustomDimensionHeader.



8461
8462
8463
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8461

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


8454
8455
8456
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8454

def id
  @id
end

#nameString

The user defined name of the conversion custom dimension. Corresponds to the JSON property name

Returns:

  • (String)


8459
8460
8461
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8459

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8466
8467
8468
8469
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8466

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