Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesUserInterest

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

A user interest: a particular interest-based vertical to be targeted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesUserInterest

Returns a new instance of GoogleAdsSearchads360V23ResourcesUserInterest.



34251
34252
34253
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34251

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

Instance Attribute Details

#availabilitiesArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCriterionCategoryAvailability>

Output only. Availability information of the user interest. Corresponds to the JSON property availabilities



34217
34218
34219
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34217

def availabilities
  @availabilities
end

#launched_to_allBoolean 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

Returns:

  • (Boolean)


34222
34223
34224
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34222

def launched_to_all
  @launched_to_all
end

#nameString

Output only. The name of the user interest. Corresponds to the JSON property name

Returns:

  • (String)


34228
34229
34230
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34228

def name
  @name
end

#resource_nameString

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`

Returns:

  • (String)


34234
34235
34236
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34234

def resource_name
  @resource_name
end

#taxonomy_typeString

Output only. Taxonomy type of the user interest. Corresponds to the JSON property taxonomyType

Returns:

  • (String)


34239
34240
34241
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34239

def taxonomy_type
  @taxonomy_type
end

#user_interest_idFixnum

Output only. The ID of the user interest. Corresponds to the JSON property userInterestId

Returns:

  • (Fixnum)


34244
34245
34246
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34244

def user_interest_id
  @user_interest_id
end

#user_interest_parentString

Output only. The parent of the user interest. Corresponds to the JSON property userInterestParent

Returns:

  • (String)


34249
34250
34251
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34249

def user_interest_parent
  @user_interest_parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34256
34257
34258
34259
34260
34261
34262
34263
34264
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34256

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