Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserData

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

User data holding user identifiers and attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserData

Returns a new instance of GoogleAdsSearchads360V23CommonUserData.



12530
12531
12532
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12530

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

Instance Attribute Details

Consent Corresponds to the JSON property consent



12513
12514
12515
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12513

def consent
  @consent
end

#transaction_attributeGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTransactionAttribute

Attribute of the store sales transaction. Corresponds to the JSON property transactionAttribute



12518
12519
12520
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12518

def transaction_attribute
  @transaction_attribute
end

#user_attributeGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserAttribute

User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job type. Corresponds to the JSON property userAttribute



12523
12524
12525
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12523

def user_attribute
  @user_attribute
end

#user_identifiersArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserIdentifier>

User identification info. Corresponds to the JSON property userIdentifiers



12528
12529
12530
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12528

def user_identifiers
  @user_identifiers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12535
12536
12537
12538
12539
12540
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12535

def update!(**args)
  @consent = args[:consent] if args.key?(:consent)
  @transaction_attribute = args[:transaction_attribute] if args.key?(:transaction_attribute)
  @user_attribute = args[:user_attribute] if args.key?(:user_attribute)
  @user_identifiers = args[:user_identifiers] if args.key?(:user_identifiers)
end