Interface UserAttributeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserAttribute
,UserAttribute.Builder
public interface UserAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAcquisitionDateTime()
Timestamp when the user was acquired.com.google.protobuf.ByteString
getAcquisitionDateTimeBytes()
Timestamp when the user was acquired.int
getAveragePurchaseCount()
Advertiser defined average number of purchases that are made by the user in a 30 day period.long
getAveragePurchaseValueMicros()
Advertiser defined average purchase value in micros for the user.EventAttribute
getEventAttribute(int index)
Optional.int
getEventAttributeCount()
Optional.java.util.List<EventAttribute>
getEventAttributeList()
Optional.EventAttributeOrBuilder
getEventAttributeOrBuilder(int index)
Optional.java.util.List<? extends EventAttributeOrBuilder>
getEventAttributeOrBuilderList()
Optional.java.lang.String
getFirstPurchaseDateTime()
Optional.com.google.protobuf.ByteString
getFirstPurchaseDateTimeBytes()
Optional.java.lang.String
getLastPurchaseDateTime()
Timestamp of the last purchase made by the user.com.google.protobuf.ByteString
getLastPurchaseDateTimeBytes()
Timestamp of the last purchase made by the user.java.lang.String
getLifecycleStage()
Optional.com.google.protobuf.ByteString
getLifecycleStageBytes()
Optional.int
getLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user.long
getLifetimeValueMicros()
Advertiser defined lifetime value for the user.ShoppingLoyalty
getShoppingLoyalty()
The shopping loyalty related data.ShoppingLoyaltyOrBuilder
getShoppingLoyaltyOrBuilder()
The shopping loyalty related data.boolean
hasLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user.boolean
hasLifetimeValueMicros()
Advertiser defined lifetime value for the user.boolean
hasShoppingLoyalty()
The shopping loyalty related data.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLifetimeValueMicros
boolean hasLifetimeValueMicros()
Advertiser defined lifetime value for the user.
optional int64 lifetime_value_micros = 1;
- Returns:
- Whether the lifetimeValueMicros field is set.
-
getLifetimeValueMicros
long getLifetimeValueMicros()
Advertiser defined lifetime value for the user.
optional int64 lifetime_value_micros = 1;
- Returns:
- The lifetimeValueMicros.
-
hasLifetimeValueBucket
boolean hasLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted.
optional int32 lifetime_value_bucket = 2;
- Returns:
- Whether the lifetimeValueBucket field is set.
-
getLifetimeValueBucket
int getLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted.
optional int32 lifetime_value_bucket = 2;
- Returns:
- The lifetimeValueBucket.
-
getLastPurchaseDateTime
java.lang.String getLastPurchaseDateTime()
Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;
- Returns:
- The lastPurchaseDateTime.
-
getLastPurchaseDateTimeBytes
com.google.protobuf.ByteString getLastPurchaseDateTimeBytes()
Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;
- Returns:
- The bytes for lastPurchaseDateTime.
-
getAveragePurchaseCount
int getAveragePurchaseCount()
Advertiser defined average number of purchases that are made by the user in a 30 day period.
int32 average_purchase_count = 4;
- Returns:
- The averagePurchaseCount.
-
getAveragePurchaseValueMicros
long getAveragePurchaseValueMicros()
Advertiser defined average purchase value in micros for the user.
int64 average_purchase_value_micros = 5;
- Returns:
- The averagePurchaseValueMicros.
-
getAcquisitionDateTime
java.lang.String getAcquisitionDateTime()
Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;
- Returns:
- The acquisitionDateTime.
-
getAcquisitionDateTimeBytes
com.google.protobuf.ByteString getAcquisitionDateTimeBytes()
Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;
- Returns:
- The bytes for acquisitionDateTime.
-
hasShoppingLoyalty
boolean hasShoppingLoyalty()
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v13.common.ShoppingLoyalty shopping_loyalty = 7;
- Returns:
- Whether the shoppingLoyalty field is set.
-
getShoppingLoyalty
ShoppingLoyalty getShoppingLoyalty()
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v13.common.ShoppingLoyalty shopping_loyalty = 7;
- Returns:
- The shoppingLoyalty.
-
getShoppingLoyaltyOrBuilder
ShoppingLoyaltyOrBuilder getShoppingLoyaltyOrBuilder()
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v13.common.ShoppingLoyalty shopping_loyalty = 7;
-
getLifecycleStage
java.lang.String getLifecycleStage()
Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The lifecycleStage.
-
getLifecycleStageBytes
com.google.protobuf.ByteString getLifecycleStageBytes()
Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for lifecycleStage.
-
getFirstPurchaseDateTime
java.lang.String getFirstPurchaseDateTime()
Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The firstPurchaseDateTime.
-
getFirstPurchaseDateTimeBytes
com.google.protobuf.ByteString getFirstPurchaseDateTimeBytes()
Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for firstPurchaseDateTime.
-
getEventAttributeList
java.util.List<EventAttribute> getEventAttributeList()
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttribute
EventAttribute getEventAttribute(int index)
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttributeCount
int getEventAttributeCount()
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttributeOrBuilderList
java.util.List<? extends EventAttributeOrBuilder> getEventAttributeOrBuilderList()
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttributeOrBuilder
EventAttributeOrBuilder getEventAttributeOrBuilder(int index)
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
-