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.
27543 27544 27545 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27543 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
27536 27537 27538 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27536 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
27541 27542 27543 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27541 def parameter @parameter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27548 27549 27550 27551 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27548 def update!(**args) @member_type = args[:member_type] if args.key?(:member_type) @parameter = args[:parameter] if args.key?(:parameter) end |