Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesUserInterest
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesUserInterest
- 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 user interest: a particular interest-based vertical to be targeted.
Instance Attribute Summary collapse
-
#availabilities ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCriterionCategoryAvailability>
Output only.
-
#launched_to_all ⇒ Boolean
(also: #launched_to_all?)
Output only.
-
#name ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#taxonomy_type ⇒ String
Output only.
-
#user_interest_id ⇒ Fixnum
Output only.
-
#user_interest_parent ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesUserInterest
constructor
A new instance of GoogleAdsSearchads360V23ResourcesUserInterest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesUserInterest
Returns a new instance of GoogleAdsSearchads360V23ResourcesUserInterest.
34425 34426 34427 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34425 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availabilities ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCriterionCategoryAvailability>
Output only. Availability information of the user interest.
Corresponds to the JSON property availabilities
34391 34392 34393 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34391 def availabilities @availabilities end |
#launched_to_all ⇒ Boolean Also known as: launched_to_all?
Output only. True if the user interest is launched to all channels and locales.
Corresponds to the JSON property launchedToAll
34396 34397 34398 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34396 def launched_to_all @launched_to_all end |
#name ⇒ String
Output only. The name of the user interest.
Corresponds to the JSON property name
34402 34403 34404 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34402 def name @name end |
#resource_name ⇒ String
Output only. The resource name of the user interest. User interest resource
names have the form: customers/customer_id/userInterests/user_interest_id`
Corresponds to the JSON propertyresourceName`
34408 34409 34410 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34408 def resource_name @resource_name end |
#taxonomy_type ⇒ String
Output only. Taxonomy type of the user interest.
Corresponds to the JSON property taxonomyType
34413 34414 34415 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34413 def taxonomy_type @taxonomy_type end |
#user_interest_id ⇒ Fixnum
Output only. The ID of the user interest.
Corresponds to the JSON property userInterestId
34418 34419 34420 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34418 def user_interest_id @user_interest_id end |
#user_interest_parent ⇒ String
Output only. The parent of the user interest.
Corresponds to the JSON property userInterestParent
34423 34424 34425 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34423 def user_interest_parent @user_interest_parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34430 34431 34432 34433 34434 34435 34436 34437 34438 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34430 def update!(**args) @availabilities = args[:availabilities] if args.key?(:availabilities) @launched_to_all = args[:launched_to_all] if args.key?(:launched_to_all) @name = args[:name] if args.key?(:name) @resource_name = args[:resource_name] if args.key?(:resource_name) @taxonomy_type = args[:taxonomy_type] if args.key?(:taxonomy_type) @user_interest_id = args[:user_interest_id] if args.key?(:user_interest_id) @user_interest_parent = args[:user_interest_parent] if args.key?(:user_interest_parent) end |