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.
27471 27472 27473 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27471 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
27464 27465 27466 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27464 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
27469 27470 27471 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27469 def parameter @parameter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27476 27477 27478 27479 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27476 def update!(**args) @member_type = args[:member_type] if args.key?(:member_type) @parameter = args[:parameter] if args.key?(:parameter) end |