Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomInterestMember

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

A member of custom interest audience. A member can be a keyword or url. It is immutable, that is, it can only be created or removed but not changed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomInterestMember

Returns a new instance of GoogleAdsSearchads360V23ResourcesCustomInterestMember.



27384
27385
27386
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27384

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

Instance Attribute Details

#member_typeString

The type of custom interest member, KEYWORD or URL. Corresponds to the JSON property memberType

Returns:

  • (String)


27377
27378
27379
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27377

def member_type
  @member_type
end

#parameterString

Keyword text when member_type is KEYWORD or URL string when member_type is URL. Corresponds to the JSON property parameter

Returns:

  • (String)


27382
27383
27384
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27382

def parameter
  @parameter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27389
27390
27391
27392
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27389

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