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.



12404
12405
12406
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12404

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

Instance Attribute Details

Consent Corresponds to the JSON property consent



12387
12388
12389
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12387

def consent
  @consent
end

#transaction_attributeGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTransactionAttribute

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



12392
12393
12394
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12392

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



12397
12398
12399
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12397

def user_attribute
  @user_attribute
end

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

User identification info. Corresponds to the JSON property userIdentifiers



12402
12403
12404
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12402

def user_identifiers
  @user_identifiers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12409
12410
12411
12412
12413
12414
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12409

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