- [JSON representation](https://developers.google.com/data-manager/api/reference/rest/v1/FieldWarning#SCHEMA_REPRESENTATION)
- [WarningReason](https://developers.google.com/data-manager/api/reference/rest/v1/FieldWarning#WarningReason)

Detailed row-level warning with field paths.

| JSON representation |
|---|
| ``` { "reason": enum (`https://developers.google.com/data-manager/api/reference/rest/v1/FieldWarning#WarningReason`), "description": string, "field": string } ``` |

| Fields ||
|---|---|
| `reason` | ``enum (`https://developers.google.com/data-manager/api/reference/rest/v1/FieldWarning#WarningReason`)`` The warning reason. |
| `description` | `string` The detailed warning message describing the issue. |
| `field` | `string` The field path that triggered the warning. Uses the same format as `https://developers.google.com/data-manager/api/reference/rest/v1/BadRequest#FieldViolation.FIELDS.field`. |

## WarningReason

Reasons for non-blocking warnings returned during ingestion.

| Enums ||
|---|---|
| `WARNING_REASON_UNSPECIFIED` | Unspecified warning reason. |
| `WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED` | A custom variable in `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#Event.FIELDS.custom_variables` is not enabled in the account. |
| `WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED` | A custom variable value in `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#Event.FIELDS.custom_variables` is not among the predefined allowed values configured for the custom variable on the destination account. |
| `WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#Event.FIELDS.cart_data` is not supported with `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#AdIdentifiers.FIELDS.gbraid` or `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#AdIdentifiers.FIELDS.wbraid`. |
| `WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#Item.FIELDS.merchant_product_id` is missing in the cart item. |
| `WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#Item.FIELDS.unit_price` is missing in the cart item. |
| `WARNING_REASON_GENERIC` | Generic warning reason for issues that do not fit into other specific categories. |
| `WARNING_REASON_INVALID_CLIENT_ID` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#Event.FIELDS.client_id` is invalid. |
| `WARNING_REASON_INVALID_SUBDIVISION_CODE` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#EventLocation.FIELDS.subdivision_code` is invalid. |
| `WARNING_REASON_INVALID_REGION_CODE` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#EventLocation.FIELDS.region_code` is invalid. |
| `WARNING_REASON_INVALID_SUBCONTINENT_CODE` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#EventLocation.FIELDS.subcontinent_code` is invalid. |
| `WARNING_REASON_INVALID_CONTINENT_CODE` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#EventLocation.FIELDS.continent_code` is invalid. |
| `WARNING_REASON_INVALID_DEVICE_CATEGORY` | The device `https://developers.google.com/data-manager/api/reference/rest/v1/DeviceInfo#FIELDS.category` is invalid. |
| `WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION` | The device `https://developers.google.com/data-manager/api/reference/rest/v1/DeviceInfo#FIELDS.screen_height` or `https://developers.google.com/data-manager/api/reference/rest/v1/DeviceInfo#FIELDS.screen_width` is invalid. |
| `WARNING_REASON_INVALID_MERCHANT_ID` | The `https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#CartData.FIELDS.merchant_id` is invalid. |
| `WARNING_REASON_INVALID_NUMBER_FORMAT` | The number format is invalid. |