Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomInterestMember
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomInterestMember
- 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
-
#member_type ⇒ String
The type of custom interest member, KEYWORD or URL.
-
#parameter ⇒ String
Keyword text when member_type is KEYWORD or URL string when member_type is URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomInterestMember
constructor
A new instance of GoogleAdsSearchads360V23ResourcesCustomInterestMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_type ⇒ String
The type of custom interest member, KEYWORD or URL.
Corresponds to the JSON property memberType
27377 27378 27379 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27377 def member_type @member_type end |
#parameter ⇒ String
Keyword text when member_type is KEYWORD or URL string when member_type is URL.
Corresponds to the JSON property parameter
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 |