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.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

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.

NOT_ON_ALLOWLIST_FOR_USER_ID

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

INCOMPATIBLE_UPLOAD_KEY_TYPE

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

MISSING_USER_IDENTIFIER

The user identifier is missing valid data.

INVALID_MOBILE_ID_FORMAT

The mobile ID is malformed.

TOO_MANY_USER_IDENTIFIERS

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

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.

INVALID_PARTNER_ID

The partner ID in store sales direct metadata is invalid.

INVALID_ENCODING

The data in user identifier should not be encoded.

INVALID_COUNTRY_CODE

The country code is invalid.

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.

FUTURE_TRANSACTION_TIME

A transaction time in the future is not allowed.

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.

MOBILE_ID_NOT_SUPPORTED

Mobile ID is not supported for store sales direct data.

INVALID_OPERATION_ORDER

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

CONFLICTING_OPERATION

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

EXTERNAL_UPDATE_ID_ALREADY_EXISTS

The external update ID already exists.

JOB_ALREADY_STARTED

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

REMOVE_NOT_SUPPORTED

Remove operation is not allowed for store sales direct updates.

REMOVE_ALL_NOT_SUPPORTED

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

INVALID_SHA256_FORMAT

The SHA256 encoded value is malformed.

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.

CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS

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

ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST

User attributes cannot be uploaded into a user list.

LIFETIME_VALUE_BUCKET_NOT_IN_RANGE

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

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.

FUTURE_TIME_NOT_ALLOWED

A time in the future is not allowed.

LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME

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

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.}

INVALID_ITEM_ID

Provided item ID is invalid.

FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME

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

INVALID_LIFECYCLE_STAGE

Provided lifecycle stage is invalid.

INVALID_EVENT_VALUE

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

EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED

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