Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserData
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserData
- 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
-
#consent ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonConsent
Consent Corresponds to the JSON property
consent. -
#transaction_attribute ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTransactionAttribute
Attribute of the store sales transaction.
-
#user_attribute ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserAttribute
User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job type.
-
#user_identifiers ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserIdentifier>
User identification info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserData
constructor
A new instance of GoogleAdsSearchads360V23CommonUserData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserData
Returns a new instance of GoogleAdsSearchads360V23CommonUserData.
12470 12471 12472 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consent ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonConsent
Consent
Corresponds to the JSON property consent
12453 12454 12455 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12453 def @consent end |
#transaction_attribute ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTransactionAttribute
Attribute of the store sales transaction.
Corresponds to the JSON property transactionAttribute
12458 12459 12460 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12458 def transaction_attribute @transaction_attribute end |
#user_attribute ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserAttribute
User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job type.
Corresponds to the JSON property userAttribute
12463 12464 12465 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12463 def user_attribute @user_attribute end |
#user_identifiers ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserIdentifier>
User identification info.
Corresponds to the JSON property userIdentifiers
12468 12469 12470 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12468 def user_identifiers @user_identifiers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12475 12476 12477 12478 12479 12480 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12475 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 |