Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPlannableUserList

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 plannable user list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesPlannableUserList

Returns a new instance of GoogleAdsSearchads360V23ServicesPlannableUserList.



51541
51542
51543
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51541

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

Instance Attribute Details

#display_nameString

The name of the user list. Corresponds to the JSON property displayName

Returns:

  • (String)


51518
51519
51520
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51518

def display_name
  @display_name
end

#plannable_statusString

The plannable status of the user list. Corresponds to the JSON property plannableStatus

Returns:

  • (String)


51523
51524
51525
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51523

def plannable_status
  @plannable_status
end

#plannable_user_list_metadataGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPlannableUserListMetadata

The metadata associated with a plannable user list. Corresponds to the JSON property plannableUserListMetadata



51528
51529
51530
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51528

def 
  @plannable_user_list_metadata
end

#user_list_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListInfo

A User List criterion. Represents a user list that is defined by the advertiser to be targeted. Corresponds to the JSON property userListInfo



51534
51535
51536
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51534

def user_list_info
  @user_list_info
end

#user_list_typeString

The user list type. Corresponds to the JSON property userListType

Returns:

  • (String)


51539
51540
51541
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51539

def user_list_type
  @user_list_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51546
51547
51548
51549
51550
51551
51552
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51546

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @plannable_status = args[:plannable_status] if args.key?(:plannable_status)
  @plannable_user_list_metadata = args[:plannable_user_list_metadata] if args.key?(:plannable_user_list_metadata)
  @user_list_info = args[:user_list_info] if args.key?(:user_list_info)
  @user_list_type = args[:user_list_type] if args.key?(:user_list_type)
end