Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAffinityInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAffinityInfo
- 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 custom affinity criterion. A criterion of this type is only targetable.
Instance Attribute Summary collapse
-
#custom_affinity ⇒ String
The CustomInterest resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomAffinityInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonCustomAffinityInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomAffinityInfo
Returns a new instance of GoogleAdsSearchads360V23CommonCustomAffinityInfo.
3149 3150 3151 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_affinity ⇒ String
The CustomInterest resource name.
Corresponds to the JSON property customAffinity
3147 3148 3149 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3147 def custom_affinity @custom_affinity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3154 3155 3156 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3154 def update!(**args) @custom_affinity = args[:custom_affinity] if args.key?(:custom_affinity) end |