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.
12404 12405 12406 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consent ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonConsent
Consent
Corresponds to the JSON property consent
12387 12388 12389 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12387 def @consent end |
#transaction_attribute ⇒ Google::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_attribute ⇒ Google::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_identifiers ⇒ Array<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 |