> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/PromotionBarcodeTypeEnum.PromotionBarcodeType).

A promotion barcode type.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/enums/promotion_barcode_type.proto)

| Enums ||
|---|---|
| ## `AZTEC` | Aztec 2D barcode format. Max 350 characters and no links |
| ## `CODABAR` | CODABAR 1D format. Max 12 characters and no links. Supported characters include 0123456789-$:/.+ and optional start and end guards from ABCD. |
| ## `CODE128` | Code 128 1D format. Max 18 ASCII characters only and no links |
| ## `CODE39` | Code 39 1D format. Max 8 characters and no links. Supported characters include 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. \*$/+%. |
| ## `DATA_MATRIX` | Data Matrix 2D barcode format. Max 525 ISO-8859-1 characters only and no links |
| ## `EAN13` | EAN-13 1D format. The barcode value should be 12 digits (the check digit will be computed automatically) or 13 digits (if you are providing your own check digit). |
| ## `EAN8` | EAN-8 1D format. The barcode value should be 7 digits (the check digit will be computed automatically) or 8 digits (if you are providing your own check digit). |
| ## `ITF` | ITF (Interleaved Two of Five) 1D format. Must be 14 digits long |
| ## `PDF417` | PDF417 format. Max 140 characters and no links |
| ## `UNKNOWN` | Used for return value only. Represents value unknown in this version. |
| ## `UNSPECIFIED` | Not specified. |
| ## `UPC_A` | UPC-A 1D format. The barcode value should be 11 digits (the check digit will be computed automatically) or 12 digits (if you are providing your own check digit). |