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.



34353
34354
34355
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34353

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



34319
34320
34321
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34319

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)


34324
34325
34326
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34324

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)


34330
34331
34332
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34330

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)


34336
34337
34338
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34336

def resource_name
  @resource_name
end

#taxonomy_typeString

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

Returns:

  • (String)


34341
34342
34343
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34341

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)


34346
34347
34348
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34346

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)


34351
34352
34353
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34351

def user_interest_parent
  @user_interest_parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34358
34359
34360
34361
34362
34363
34364
34365
34366
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34358

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