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.



34425
34426
34427
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34425

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



34391
34392
34393
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34391

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)


34396
34397
34398
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34396

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)


34402
34403
34404
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34402

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)


34408
34409
34410
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34408

def resource_name
  @resource_name
end

#taxonomy_typeString

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

Returns:

  • (String)


34413
34414
34415
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34413

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)


34418
34419
34420
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34418

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)


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