Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader

Returns a new instance of GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader.



39313
39314
39315
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39313

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


39306
39307
39308
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39306

def id
  @id
end

#nameString

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

Returns:

  • (String)


39311
39312
39313
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39311

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39318
39319
39320
39321
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39318

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