Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition

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

Condition on Audience dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition

Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition.



16425
16426
16427
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16425

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

Instance Attribute Details

#user_interestsArray<String>

User Interests. Corresponds to the JSON property userInterests

Returns:

  • (Array<String>)


16418
16419
16420
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16418

def user_interests
  @user_interests
end

#user_listsArray<String>

User Lists. Corresponds to the JSON property userLists

Returns:

  • (Array<String>)


16423
16424
16425
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16423

def user_lists
  @user_lists
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16430
16431
16432
16433
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16430

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