custom_label_0–4: Definition

Custom labels, custom_label_0 through custom_label_4, allow you to create specific filters to use in your Shopping campaigns. Use these filters for reporting and bidding on groups of products. The information you include in this attribute won’t be shown to users.

For example, you could label a group of products as seasonal, clearance, or selling rate.

When to use

Optional for each product

If you advertise your products through Shopping campaigns in AdWords, use custom labels to group products for reporting and bidding. 

The custom label attributes are numbered 0–4: 

  • custom_label_0 
  • custom_label_1
  • custom_label_2 
  • custom_label_3 
  • custom_label_4 

Format

Follow these formatting guidelines to make sure we understand the data you're submitting. 

Type String (Unicode characters. Recommended: ASCII only), not case sensitive
Limits

1–100 characters, up to 1,000 unique values account-wide for each custom label attribute (up to 5,000 labels total)

Repeated field No, but you can create up to five custom labels numbered  custom_label_0 through custom_label_4
 
File format Example value
Text feeds

summer

XML feeds <g:custom_label_0>summer</g:custom_label_0>
Content API v2 (JSON) "customLabel0": "summer"
Content API v2 (XML) <custom_label_0>summer</custom_label_0>

Guidelines

Follow these guidelines to make sure you submit high-quality data for your products and get the best performance from your ads.

Minimum requirements

These are the requirements you'll need to meet to show ads for your product. If you don't follow these requirements, we'll disapprove your product and let you know in the Diagnostics page of your Merchant Center account. 

  • Submit only 1 value for each custom label attribute. 
  • Create up to 1,000 unique labels for each custom label attribute across your account (up to 5,000 labels total, 1,000 labels per attribute). If you submit products with a custom label after you exceed the limit, you won’t see reporting on products with those additional labels. You might also see other reporting errors. To fix the issue, reduce the number of unique labels, and then resubmit your product data.
  • Use the custom label attributes for Shopping campaigns only. For Display with dynamic remarketing campaigns, use the adwords_labels and adwords_grouping attributes. Learn more about the Display ads attribute specification.

Best practices

These are best practices that can help you go beyond the basic requirements to optimize your product data for performance. 

  • Create up to five custom labels for each product: custom_label_0 through custom_label_4
  • Choose your own definition for each of the five custom labels. Keep in mind the possible values for each label. You can add the values to each product in your Merchant Center account based on your definition.
  • Use Feed Rules to assign custom labels automatically based on values you already submitted in your product data. For example, if you want a custom label to represent different price ranges, you could set a rule that automatically applies a certain value to custom_label_0 based on the price range. For example, you might use the following labels: 0-5, 5-10, 10-20, 20+. Learn more about Feed Rules.

Examples

Custom label definitions

Set up your own definitions for custom labels and include only one type of label per attribute. This definition isn’t something that you enter in AdWords or Merchant Center, but it will help your own understanding of what values you should include.

Attribute custom_label_0
Your definition Season
Example values winter, spring, summer, fall
   
Attribute custom_label_1
Your definition Selling rate
Example values best seller, low seller
   
Attribute custom_label_2
Your definition Price ranges
Example values 0-5, 5-10, 10-20, 20+
   
Attribute custom_label_3
Your definition Margin
Example values low margin, high margin
   
Attribute custom_label_4
Your definition Release year
Example values 1998, 2000, 2010, 2016
Sample values

For each product that you submit, you can include only one label (e.g., “summer”) per attribute (e.g., custom_label_0). However if you want to include multiple labels, add the other custom label attributes.

Remember that each of these attributes is optional. So include a custom label only if it’s helpful to you.

Product Google Malibu Sunglasses
custom_label_0 summer
custom_label_2 5-10
custom_label_4 2016
Was this article helpful?
How can we improve it?