Class: Google::Apis::DatamanagerV1::UserProperties
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::UserProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb
Overview
Advertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.
Instance Attribute Summary collapse
-
#additional_user_properties ⇒ Array<Google::Apis::DatamanagerV1::UserProperty>
Optional.
-
#customer_type ⇒ String
Optional.
-
#customer_value_bucket ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserProperties
constructor
A new instance of UserProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserProperties
Returns a new instance of UserProperties.
3658 3659 3660 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_user_properties ⇒ Array<Google::Apis::DatamanagerV1::UserProperty>
Optional. A bucket of any additional user properties for
the user associated with this event.
Corresponds to the JSON property additionalUserProperties
3646 3647 3648 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3646 def additional_user_properties @additional_user_properties end |
#customer_type ⇒ String
Optional. Type of the customer associated with the event.
Corresponds to the JSON property customerType
3651 3652 3653 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3651 def customer_type @customer_type end |
#customer_value_bucket ⇒ String
Optional. The advertiser-assessed value of the customer.
Corresponds to the JSON property customerValueBucket
3656 3657 3658 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3656 def customer_value_bucket @customer_value_bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3663 3664 3665 3666 3667 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3663 def update!(**args) @additional_user_properties = args[:additional_user_properties] if args.key?(:additional_user_properties) @customer_type = args[:customer_type] if args.key?(:customer_type) @customer_value_bucket = args[:customer_value_bucket] if args.key?(:customer_value_bucket) end |