OfflineUserDataJobError

  • The content provides a comprehensive list of possible errors that can occur during a request related to user data uploads and store sales.

  • Errors range from issues with user list IDs and types to invalid formats for mobile IDs and SHA256 encoded values.

  • There are specific errors related to customer allow-listing, incompatible upload key types, missing user identifiers, and exceeding the maximum number of user identifiers per request.

  • The list also includes errors concerning invalid partner IDs, encoding issues, country codes, transaction times, and conversion actions.

  • Several errors pertain to unsupported or conflicting operations, such as invalid operation order, external update ID conflicts, and limitations on remove or remove-all operations.

  • Additional errors cover issues with custom keys, customer data terms acceptance, incompatible user identifiers for attributes, and errors related to lifetime value, purchase times, and event attributes.

Enum describing possible request errors.

Proto definition

Enums

ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST

User attributes cannot be uploaded into a user list.

CONFLICTING_OPERATION

Mixing creation and removal of offline data in the same job is not allowed.

CUSTOMER_IDENTIFIER_NOT_ALLOWED

Only emails are accepted as user identifiers for shopping loyalty match. {-- api.dev/not-precedent: The identifier is not limited to ids, but also include other user info eg. phone numbers.}

CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS

The customer has not accepted the customer data terms in the conversion settings page.

CUSTOM_KEY_DISABLED

The custom key specified is not enabled for the unified store sales upload.

CUSTOM_KEY_NOT_PREDEFINED

The custom key specified is not predefined through the Google Ads UI.

CUSTOM_KEY_NOT_SET

The custom key specified is not set in the upload.

EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED

All the fields are not present in the EventAttribute of the Customer Match.

EXTERNAL_UPDATE_ID_ALREADY_EXISTS

The external update ID already exists.

FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME

First purchase date time cannot be greater than the last purchase date time.

FUTURE_TIME_NOT_ALLOWED

A time in the future is not allowed.

FUTURE_TRANSACTION_TIME

A transaction time in the future is not allowed.

INCOMPATIBLE_UPLOAD_KEY_TYPE

Upload data is not compatible with the upload key type of the associated user list.

INCOMPATIBLE_USER_IDENTIFIER

Incompatible user identifier when using third_party_user_id for store sales direct first party data or not using third_party_user_id for store sales third party data.

INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES

Identifiers not supported for Customer Match attributes. User attributes can only be provided with contact info (email, phone, address) user identifiers.

INVALID_CONVERSION_ACTION

The conversion_action specified in transaction_attributes is used to report conversions to a conversion action configured in Google Ads. This error indicates there is no such conversion action in the account.

INVALID_COUNTRY_CODE

The country code is invalid.

INVALID_ENCODING

The data in user identifier should not be encoded.

INVALID_EVENT_VALUE

The event value of the Customer Match user attribute is invalid.

INVALID_ITEM_ID

Provided item ID is invalid.

INVALID_LIFECYCLE_STAGE

Provided lifecycle stage is invalid.

INVALID_MOBILE_ID_FORMAT

The mobile ID is malformed.

INVALID_OPERATION_ORDER

When a remove-all operation is provided, it has to be the first operation of the operation list.

INVALID_PARTNER_ID

The partner ID in store sales direct metadata is invalid.

INVALID_SHA256_FORMAT

The SHA256 encoded value is malformed.

INVALID_USER_LIST_ID

The user list ID provided for the job is invalid.

INVALID_USER_LIST_TYPE

Type of the user list is not applicable for the job.

JOB_ALREADY_STARTED

Once the upload job is started, new operations cannot be added.

LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME

Last purchase date time cannot be less than acquisition date time.

LIFETIME_VALUE_BUCKET_NOT_IN_RANGE

Lifetime bucket value must be a number from 0 to 10; 0 is only accepted for remove operations

MISSING_USER_IDENTIFIER

The user identifier is missing valid data.

MOBILE_ID_NOT_SUPPORTED

Mobile ID is not supported for store sales direct data.

NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT

Customer is not on the allow-list for store sales direct data.

NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES

Customer is not on the allow-list for unified store sales data.

NOT_ON_ALLOWLIST_FOR_USER_ID

Customer is not allowisted for using user ID in upload data.

REMOVE_ALL_NOT_SUPPORTED

Remove-all is not supported for certain offline user data job types.

REMOVE_NOT_SUPPORTED

Remove operation is not allowed for store sales direct updates.

TOO_MANY_USER_IDENTIFIERS

Maximum number of user identifiers allowed per request is 100,000 and per operation is 20.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.