Interface ItemOrBuilder (0.14.0)

public interface ItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdditionalItemParameters(int index)

public abstract ItemParameter getAdditionalItemParameters(int index)

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ItemParameter

getAdditionalItemParametersCount()

public abstract int getAdditionalItemParametersCount()

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalItemParametersList()

public abstract List<ItemParameter> getAdditionalItemParametersList()

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ItemParameter>

getAdditionalItemParametersOrBuilder(int index)

public abstract ItemParameterOrBuilder getAdditionalItemParametersOrBuilder(int index)

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ItemParameterOrBuilder

getAdditionalItemParametersOrBuilderList()

public abstract List<? extends ItemParameterOrBuilder> getAdditionalItemParametersOrBuilderList()

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.ItemParameterOrBuilder>

getConversionValue()

public abstract double getConversionValue()

Optional. The conversion value associated with this item within the event, for cases where the conversion value is different for each item.

optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The conversionValue.

getCustomVariables(int index)

public abstract ItemCustomVariable getCustomVariables(int index)

Optional. Additional key/value pair information to send to the conversion containers (conversion action or Floodlight activity), when tracking per-item conversions.

repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ItemCustomVariable

getCustomVariablesCount()

public abstract int getCustomVariablesCount()

Optional. Additional key/value pair information to send to the conversion containers (conversion action or Floodlight activity), when tracking per-item conversions.

repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCustomVariablesList()

public abstract List<ItemCustomVariable> getCustomVariablesList()

Optional. Additional key/value pair information to send to the conversion containers (conversion action or Floodlight activity), when tracking per-item conversions.

repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ItemCustomVariable>

getCustomVariablesOrBuilder(int index)

public abstract ItemCustomVariableOrBuilder getCustomVariablesOrBuilder(int index)

Optional. Additional key/value pair information to send to the conversion containers (conversion action or Floodlight activity), when tracking per-item conversions.

repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ItemCustomVariableOrBuilder

getCustomVariablesOrBuilderList()

public abstract List<? extends ItemCustomVariableOrBuilder> getCustomVariablesOrBuilderList()

Optional. Additional key/value pair information to send to the conversion containers (conversion action or Floodlight activity), when tracking per-item conversions.

repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.ItemCustomVariableOrBuilder>

getItemId()

public abstract String getItemId()

Optional. A unique identifier to reference the item.

string item_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The itemId.

getItemIdBytes()

public abstract ByteString getItemIdBytes()

Optional. A unique identifier to reference the item.

string item_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for itemId.

getMerchantFeedLabel()

public abstract String getMerchantFeedLabel()

Optional. The feed label of the Merchant Center feed. If countries are still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be used instead. For Store Sales events this will override the value set at the cart level. This field is ignored for other events.

string merchant_feed_label = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The merchantFeedLabel.

getMerchantFeedLabelBytes()

public abstract ByteString getMerchantFeedLabelBytes()

Optional. The feed label of the Merchant Center feed. If countries are still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be used instead. For Store Sales events this will override the value set at the cart level. This field is ignored for other events.

string merchant_feed_label = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for merchantFeedLabel.

getMerchantFeedLanguageCode()

public abstract String getMerchantFeedLanguageCode()

Optional. The language code in ISO 639-1 associated with the Merchant Center feed where your items are uploaded.

string merchant_feed_language_code = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The merchantFeedLanguageCode.

getMerchantFeedLanguageCodeBytes()

public abstract ByteString getMerchantFeedLanguageCodeBytes()

Optional. The language code in ISO 639-1 associated with the Merchant Center feed where your items are uploaded.

string merchant_feed_language_code = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for merchantFeedLanguageCode.

getMerchantId()

public abstract String getMerchantId()

Optional. The Merchant Center ID associated with the item. For Store Sales events this will override the value set at the cart level. This field is ignored for other events.

string merchant_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The merchantId.

getMerchantIdBytes()

public abstract ByteString getMerchantIdBytes()

Optional. The Merchant Center ID associated with the item. For Store Sales events this will override the value set at the cart level. This field is ignored for other events.

string merchant_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for merchantId.

getMerchantProductId()

public abstract String getMerchantProductId()

Optional. The product ID within the Merchant Center account.

string merchant_product_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The merchantProductId.

getMerchantProductIdBytes()

public abstract ByteString getMerchantProductIdBytes()

Optional. The product ID within the Merchant Center account.

string merchant_product_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for merchantProductId.

getQuantity()

public abstract long getQuantity()

Optional. The number of this item associated with the event.

int64 quantity = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The quantity.

getUnitPrice()

public abstract double getUnitPrice()

Optional. The unit price excluding tax, shipping, and any transaction level discounts.

double unit_price = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The unitPrice.

hasConversionValue()

public abstract boolean hasConversionValue()

Optional. The conversion value associated with this item within the event, for cases where the conversion value is different for each item.

optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the conversionValue field is set.