Customer

A customer.

JSON representation
{
  "resourceName": string,
  "callReportingSetting": {
    object (CallReportingSetting)
  },
  "conversionTrackingSetting": {
    object (ConversionTrackingSetting)
  },
  "remarketingSetting": {
    object (RemarketingSetting)
  },
  "payPerConversionEligibilityFailureReasons": [
    enum (CustomerPayPerConversionEligibilityFailureReason)
  ],
  "optimizationScoreWeight": number,
  "status": enum (CustomerStatus),
  "offlineConversionClientSummaries": [
    {
      object (OfflineConversionClientSummary)
    }
  ],
  "customerAgreementSetting": {
    object (CustomerAgreementSetting)
  },
  "id": string,
  "descriptiveName": string,
  "currencyCode": string,
  "timeZone": string,
  "trackingUrlTemplate": string,
  "finalUrlSuffix": string,
  "autoTaggingEnabled": boolean,
  "hasPartnersBadge": boolean,
  "manager": boolean,
  "testAccount": boolean,
  "optimizationScore": number,
  "locationAssetAutoMigrationDone": boolean,
  "imageAssetAutoMigrationDone": boolean,
  "locationAssetAutoMigrationDoneDateTime": string,
  "imageAssetAutoMigrationDoneDateTime": string
}
Fields
resourceName

string

Immutable. The resource name of the customer. Customer resource names have the form:

customers/{customerId}

callReportingSetting

object (CallReportingSetting)

Call reporting setting for a customer. Only mutable in an update operation.

conversionTrackingSetting

object (ConversionTrackingSetting)

Output only. Conversion tracking setting for a customer.

remarketingSetting

object (RemarketingSetting)

Output only. Remarketing setting for a customer.

payPerConversionEligibilityFailureReasons[]

enum (CustomerPayPerConversionEligibilityFailureReason)

Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. This field is read-only.

optimizationScoreWeight

number

Output only. Optimization score weight of the customer.

Optimization score weight can be used to compare/aggregate optimization scores across multiple non-manager customers. The aggregate optimization score of a manager is computed as the sum over all of their customers of Customer.optimization_score * Customer.optimization_score_weight. This field is 0 for all manager customers, and for unscored non-manager customers.

This field is read-only.

status

enum (CustomerStatus)

Output only. The status of the customer.

offlineConversionClientSummaries[]

object (OfflineConversionClientSummary)

Output only. Offline conversion upload diagnostics.

customerAgreementSetting

object (CustomerAgreementSetting)

Output only. Customer Agreement Setting for a customer.

id

string (int64 format)

Output only. The ID of the customer.

descriptiveName

string

Optional, non-unique descriptive name of the customer.

currencyCode

string

Immutable. The currency in which the account operates. A subset of the currency codes from the ISO 4217 standard is supported.

timeZone

string

Immutable. The local timezone ID of the customer.

trackingUrlTemplate

string

The URL template for constructing a tracking URL out of parameters. Only mutable in an update operation.

finalUrlSuffix

string

The URL template for appending params to the final URL. Only mutable in an update operation.

autoTaggingEnabled

boolean

Whether auto-tagging is enabled for the customer.

hasPartnersBadge

boolean

Output only. Whether the Customer has a Partners program badge. If the Customer is not associated with the Partners program, this will be false. For more information, see https://support.google.com/partners/answer/3125774.

manager

boolean

Output only. Whether the customer is a manager.

testAccount

boolean

Output only. Whether the customer is a test account.

optimizationScore

number

Output only. Optimization score of the customer.

Optimization score is an estimate of how well a customer's campaigns are set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null for all manager customers, and for unscored non-manager customers.

See "About optimization score" at https://support.google.com/google-ads/answer/9061546.

This field is read-only.

locationAssetAutoMigrationDone

boolean

Output only. True if feed based location has been migrated to asset based location.

imageAssetAutoMigrationDone

boolean

Output only. True if feed based image has been migrated to asset based image.

locationAssetAutoMigrationDoneDateTime

string

Output only. Timestamp of migration from feed based location to asset base location in yyyy-MM-dd HH:mm:ss format.

imageAssetAutoMigrationDoneDateTime

string

Output only. Timestamp of migration from feed based image to asset base image in yyyy-MM-dd HH:mm:ss format.

CallReportingSetting

Call reporting setting for a customer. Only mutable in an update operation.

JSON representation
{
  "callReportingEnabled": boolean,
  "callConversionReportingEnabled": boolean,
  "callConversionAction": string
}
Fields
callReportingEnabled

boolean

Enable reporting of phone call events by redirecting them through Google System.

callConversionReportingEnabled

boolean

Whether to enable call conversion reporting.

callConversionAction

string

Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when callConversionReportingEnabled is set to true.

ConversionTrackingSetting

A collection of customer-wide settings related to Google Ads Conversion Tracking.

JSON representation
{
  "acceptedCustomerDataTerms": boolean,
  "conversionTrackingStatus": enum (ConversionTrackingStatus),
  "enhancedConversionsForLeadsEnabled": boolean,
  "googleAdsConversionCustomer": string,
  "conversionTrackingId": string,
  "crossAccountConversionTrackingId": string
}
Fields
acceptedCustomerDataTerms

boolean

Output only. Whether the customer has accepted customer data terms. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only. For more information, see https://support.google.com/adspolicy/answer/7475709.

conversionTrackingStatus

enum (ConversionTrackingStatus)

Output only. Conversion tracking status. It indicates whether the customer is using conversion tracking, and who is the conversion tracking owner of this customer. If this customer is using cross-account conversion tracking, the value returned will differ based on the login-customer-id of the request.

enhancedConversionsForLeadsEnabled

boolean

Output only. Whether the customer is opted-in for enhanced conversions for leads. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only.

googleAdsConversionCustomer

string

Output only. The resource name of the customer where conversions are created and managed. This field is read-only.

conversionTrackingId

string (int64 format)

Output only. The conversion tracking id used for this account. This id doesn't indicate whether the customer uses conversion tracking (conversionTrackingStatus does). This field is read-only.

crossAccountConversionTrackingId

string (int64 format)

Output only. The conversion tracking id of the customer's manager. This is set when the customer is opted into cross account conversion tracking, and it overrides conversionTrackingId. This field can only be managed through the Google Ads UI. This field is read-only.

ConversionTrackingStatus

Conversion Tracking status of the customer.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
NOT_CONVERSION_TRACKED Customer does not use any conversion tracking.
CONVERSION_TRACKING_MANAGED_BY_SELF The conversion actions are created and managed by this customer.
CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER The conversion actions are created and managed by the manager specified in the request's login-customer-id.
CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER The conversion actions are created and managed by a manager different from the customer or manager specified in the request's login-customer-id.

RemarketingSetting

Remarketing setting for a customer.

JSON representation
{
  "googleGlobalSiteTag": string
}
Fields
googleGlobalSiteTag

string

Output only. The Google tag.

CustomerPayPerConversionEligibilityFailureReason

Enum describing possible reasons a customer is not eligible to use PaymentMode.CONVERSIONS.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
NOT_ENOUGH_CONVERSIONS Customer does not have enough conversions.
CONVERSION_LAG_TOO_HIGH Customer's conversion lag is too high.
HAS_CAMPAIGN_WITH_SHARED_BUDGET Customer uses shared budgets.
HAS_UPLOAD_CLICKS_CONVERSION Customer has conversions with ConversionActionType.UPLOAD_CLICKS.
AVERAGE_DAILY_SPEND_TOO_HIGH Customer's average daily spend is too high.
ANALYSIS_NOT_COMPLETE Customer's eligibility has not yet been calculated by the Google Ads backend. Check back soon.
OTHER Customer is not eligible due to other reasons.

OfflineConversionClientSummary

Offline conversion upload diagnostic summarized by client. This proto contains general information, breakdown by date/job and alerts for offline conversion upload results.

JSON representation
{
  "client": enum (OfflineEventUploadClient),
  "status": enum (OfflineConversionDiagnosticStatus),
  "totalEventCount": string,
  "successfulEventCount": string,
  "successRate": number,
  "lastUploadDateTime": string,
  "dailySummaries": [
    {
      object (OfflineConversionUploadSummary)
    }
  ],
  "jobSummaries": [
    {
      object (OfflineConversionUploadSummary)
    }
  ],
  "alerts": [
    {
      object (OfflineConversionUploadAlert)
    }
  ]
}
Fields
client

enum (OfflineEventUploadClient)

Output only. Client type of the upload event.

status

enum (OfflineConversionDiagnosticStatus)

Output only. Overall status for offline conversion client summary. Status is generated from most recent calendar day with upload stats.

totalEventCount

string (int64 format)

Output only. Total count of uploaded events.

successfulEventCount

string (int64 format)

Output only. Total count of successful uploaded events.

successRate

number

Output only. Successful rate.

lastUploadDateTime

string

Output only. Date for the latest upload batch.

dailySummaries[]

object (OfflineConversionUploadSummary)

Output only. Summary of history stats by last N days.

jobSummaries[]

object (OfflineConversionUploadSummary)

Output only. Summary of history stats by last N jobs.

alerts[]

object (OfflineConversionUploadAlert)

Output only. Details for each error code. Alerts are generated from most recent calendar day with upload stats.

OfflineEventUploadClient

Type of client.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
GOOGLE_ADS_API Google Ads API.
GOOGLE_ADS_WEB_CLIENT Google Ads web client, which could include multiple sources like Ads UI, SFTP, etc.
ADS_DATA_CONNECTOR Connection platform.

OfflineConversionDiagnosticStatus

Possible statuses of the offline ingestion setup.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
EXCELLENT Your offline data ingestion setup is active and optimal for downstream processing.
GOOD Your offline ingestion setup is active, but there are further improvements you could make. See alerts.
NEEDS_ATTENTION Your offline ingestion setup is active, but there are errors that require your attention. See alerts.
NO_RECENT_UPLOAD Your offline ingestion setup has not received data in the last 28 days, there may be something wrong.

OfflineConversionUploadSummary

Historical upload summary, grouped by upload date or job.

JSON representation
{
  "successfulCount": string,
  "failedCount": string,

  // Union field dimension_key can be only one of the following:
  "jobId": string,
  "uploadDate": string
  // End of list of possible types for union field dimension_key.
}
Fields
successfulCount

string (int64 format)

Output only. Total count of successful event.

failedCount

string (int64 format)

Output only. Total count of failed event.

Union field dimension_key. Dimension key for summary. dimension_key can be only one of the following:
jobId

string (int64 format)

Output only. Dimension key for last N jobs.

uploadDate

string

Output only. Dimension key for last N days.

OfflineConversionUploadAlert

Alert for offline conversion client summary.

JSON representation
{
  "error": {
    object (OfflineConversionUploadError)
  },
  "errorPercentage": number
}
Fields
error

object (OfflineConversionUploadError)

Output only. Error for offline conversion client alert.

errorPercentage

number

Output only. Percentage of the error.

OfflineConversionUploadError

Possible errors for offline conversion client summary.

JSON representation
{

  // Union field error_code can be only one of the following:
  "collectionSizeError": enum (CollectionSizeError),
  "conversionAdjustmentUploadError": enum (ConversionAdjustmentUploadError),
  "conversionUploadError": enum (ConversionUploadError),
  "dateError": enum (DateError),
  "distinctError": enum (DistinctError),
  "fieldError": enum (FieldError),
  "mutateError": enum (MutateError),
  "notAllowlistedError": enum (NotAllowlistedError),
  "stringFormatError": enum (StringFormatError),
  "stringLengthError": enum (StringLengthError)
  // End of list of possible types for union field error_code.
}
Fields
Union field error_code. Error with description. error_code can be only one of the following:
collectionSizeError

enum (CollectionSizeError)

Output only. Collection size error.

conversionAdjustmentUploadError

enum (ConversionAdjustmentUploadError)

Output only. Conversion adjustment upload error.

conversionUploadError

enum (ConversionUploadError)

Output only. Conversion upload error.

dateError

enum (DateError)

Output only. Date error.

distinctError

enum (DistinctError)

Output only. Distinct error.

fieldError

enum (FieldError)

Output only. Field error.

mutateError

enum (MutateError)

Output only. Mutate error.

notAllowlistedError

enum (NotAllowlistedError)

Output only. Not allowlisted error.

stringFormatError

enum (StringFormatError)

Output only. String format error.

stringLengthError

enum (StringLengthError)

Output only. String length error.

CollectionSizeError

Enum describing possible collection size errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
TOO_FEW Too few.
TOO_MANY Too many.

ConversionAdjustmentUploadError

Enum describing possible conversion adjustment upload errors.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
TOO_RECENT_CONVERSION_ACTION Can't import events to a conversion action that was just created. Try importing again in 6 hours.
INVALID_CONVERSION_ACTION Make sure you specify an active conversion action that can be adjusted.
CONVERSION_ALREADY_RETRACTED The conversion was already retracted. This adjustment was not processed.
CONVERSION_NOT_FOUND The conversion for this conversion action and conversion identifier can't be found. Make sure your conversion identifiers are associated with the correct conversion action and try again.
CONVERSION_EXPIRED Adjustment can't be made to a conversion that occurred more than 54 days ago.
ADJUSTMENT_PRECEDES_CONVERSION Adjustment has an adjustmentDateTime that occurred before the associated conversion. Make sure your adjustmentDateTime is correct and try again.
MORE_RECENT_RESTATEMENT_FOUND More recent adjustment adjustmentDateTime has already been reported for the associated conversion. Make sure your adjustment adjustmentDateTime is correct and try again.
TOO_RECENT_CONVERSION Adjustment can't be recorded because the conversion occurred too recently. Try adjusting a conversion that occurred at least 24 hours ago.
CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE Can't make an adjustment to a conversion that is set up to use the default value. Check your conversion action value setting and try again.
TOO_MANY_ADJUSTMENTS_IN_REQUEST Try uploading fewer than 2001 adjustments in a single API request.
TOO_MANY_ADJUSTMENTS The conversion has already been adjusted the maximum number of times. Make sure you're only making necessary adjustment to existing conversion.
RESTATEMENT_ALREADY_EXISTS The conversion has prior a restatement with the same adjustmentDateTime. Make sure your adjustment has the correct and unique adjustmentDateTime and try again.
DUPLICATE_ADJUSTMENT_IN_REQUEST Imported adjustment has a duplicate conversion adjustment with same adjustmentDateTime. Make sure your adjustment has the correct adjustmentDateTime and try again.
CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS Make sure you agree to the customer data processing terms in conversion settings and try again.
CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT Can't use enhanced conversions with the specified conversion action.
INVALID_USER_IDENTIFIER Make sure you hash user provided data using SHA-256 and ensure you are normalizing according to the guidelines.
UNSUPPORTED_USER_IDENTIFIER Use user provided data such as emails or phone numbers hashed using SHA-256 and try again.
GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET Cannot set both gclidDateTimePair and orderId. Use only 1 type and try again.
CONVERSION_ALREADY_ENHANCED Conversion already has enhancements with the same Order ID and conversion action. Make sure your data is correctly configured and try again.
DUPLICATE_ENHANCEMENT_IN_REQUEST Multiple enhancements have the same conversion action and Order ID. Make sure your data is correctly configured and try again.
CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT Enhanced conversions can't be used for this account because of Google customer data policies. Contact your Google representative.
MISSING_ORDER_ID_FOR_WEBPAGE Adjustment for website conversion requires Order ID (ie, transaction ID). Make sure your website tags capture Order IDs and you send the same Order IDs with your adjustment.
ORDER_ID_CONTAINS_PII Can't use adjustment with Order IDs containing personally-identifiable information (PII).

ConversionUploadError

Enum describing possible conversion upload errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN Used for return value only. Represents value unknown in this version.
TOO_MANY_CONVERSIONS_IN_REQUEST Upload fewer than 2001 events in a single request.
UNPARSEABLE_GCLID The imported gclid could not be decoded. Make sure you have not modified the click IDs.
CONVERSION_PRECEDES_EVENT The imported event has a conversionDateTime that precedes the click. Make sure your conversionDateTime is correct and try again.
EXPIRED_EVENT The imported event can't be recorded because its click occurred before this conversion's click-through window. Make sure you import the most recent data.
TOO_RECENT_EVENT The click associated with the given identifier or iOS URL parameter occurred less than 6 hours ago. Retry after 6 hours have passed.
EVENT_NOT_FOUND The imported event could not be attributed to a click. This may be because the event did not come from a Google Ads campaign.
UNAUTHORIZED_CUSTOMER The click ID or call is associated with an Ads account you don't have access to. Make sure you import conversions for accounts managed by your manager account.
INVALID_CONVERSION_ACTION Make sure you specify a valid conversion action set up for offline import.
TOO_RECENT_CONVERSION_ACTION Can't import events to a conversion action that was just created. Try importing again in 6 hours.
CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME At the time of the click, conversion tracking was not enabled in the effective conversion account of the click's Google Ads account.
EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION The imported event includes external attribution data, but the conversion action isn't set up to use an external attribution model. Make sure the conversion action is correctly configured and try again.
EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION The conversion action is set up to use an external attribution model, but the imported event is missing data. Make sure imported events include the external attribution credit and all necessary fields.
ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION Order IDs can't be used for a conversion measured with an external attribution model. Make sure the conversion is correctly configured and imported events include only necessary data and try again.
ORDER_ID_ALREADY_IN_USE The imported event includes an order ID that was previously recorded, so the event was not processed.
DUPLICATE_ORDER_ID Imported events include multiple conversions with the same order ID and were not processed. Make sure order IDs are unique and try again.
TOO_RECENT_CALL Can't import calls that occurred less than 6 hours ago. Try uploading again in 6 hours.
EXPIRED_CALL The call can't be recorded because it occurred before this conversion action's lookback window. Make sure your import is configured to get the most recent data.
CALL_NOT_FOUND The call or click leading to the imported event can't be found. Make sure your data source is set up to include correct identifiers.
CONVERSION_PRECEDES_CALL The call has a conversionDateTime that precedes the associated click. Make sure your conversionDateTime is correct.
CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME At the time of the imported call, conversion tracking was not enabled in the effective conversion account of the click's Google Ads account.
UNPARSEABLE_CALLERS_PHONE_NUMBER Make sure phone numbers are formatted as E.164 (+16502531234), International (+64 3-331 6005), or US national number (6502531234).
CLICK_CONVERSION_ALREADY_EXISTS The imported event has the same click and conversionDateTime as an existing conversion. Use a unique conversionDateTime or order ID for each unique event and try again.
CALL_CONVERSION_ALREADY_EXISTS The imported call has the same conversionDateTime as an existing conversion. Make sure your conversionDateTime correctly configured and try again.
DUPLICATE_CLICK_CONVERSION_IN_REQUEST Multiple events have the same click and conversionDateTime. Make sure your conversionDateTime is correctly configured and try again.
DUPLICATE_CALL_CONVERSION_IN_REQUEST Multiple events have the same call and conversionDateTime. Make sure your conversionDateTime is correctly configured and try again.
CUSTOM_VARIABLE_NOT_ENABLED Enable the custom variable in your conversion settings and try again.
CUSTOM_VARIABLE_VALUE_CONTAINS_PII Can't import events with custom variables containing personally-identifiable information (PII). Remove these variables and try again.
INVALID_CUSTOMER_FOR_CLICK The click from the imported event is associated with a different Google Ads account. Make sure you're importing to the correct account.
INVALID_CUSTOMER_FOR_CALL The click from the call is associated with a different Google Ads account. Make sure you're importing to the correct account. Query conversionTrackingSetting.google_ads_conversion_customer on Customer to identify the correct account.
CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY The connversion can't be imported because the conversion source didn't comply with Apple App Transparency Tracking (ATT) policies or because the customer didn't consent to tracking.
CLICK_NOT_FOUND The email address or phone number for this event can't be matched to a click. This may be because it didn't come from a Google Ads campaign, and you can safely ignore this warning. If this includes more imported events than is expected, you may need to check your setup.
INVALID_USER_IDENTIFIER Make sure you hash user provided data using SHA-256 and ensure you are normalizing according to the guidelines.
EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER User provided data can't be used with external attribution models. Use a different attribution model or omit user identifiers and try again.
UNSUPPORTED_USER_IDENTIFIER The provided user identifiers are not supported. Use only hashed email or phone number and try again.
GBRAID_WBRAID_BOTH_SET Can't use both gbraid and wbraid parameters. Use only 1 and try again.
UNPARSEABLE_WBRAID Can't parse event import data. Check if your wbraid parameter was not modified and try again.
UNPARSEABLE_GBRAID Can't parse event import data. Check if your gbraid parameter was not modified and try again.
ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID Conversion actions that use one-per-click counting can't be used with gbraid or wbraid parameters.
CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS Enhanced conversions can't be used for this account because of Google customer data policies. Contact your Google representative.
CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS Make sure you agree to the customer data processing terms in conversion settings and try again. You can check your setting by querying conversionTrackingSetting.accepted_customer_data_terms on Customer.
ORDER_ID_CONTAINS_PII Can't import events with order IDs containing personally-identifiable information (PII).
CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS Make sure you've turned on enhanced conversions for leads in conversion settings and try again. You can check your setting by querying conversionTrackingSetting.enhanced_conversions_for_leads_enabled on Customer.

DateError

Enum describing possible date errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_FIELD_VALUES_IN_DATE Given field values do not correspond to a valid date.
INVALID_FIELD_VALUES_IN_DATE_TIME Given field values do not correspond to a valid date time.
INVALID_STRING_DATE The string date's format should be yyyy-mm-dd.
INVALID_STRING_DATE_TIME_MICROS The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
INVALID_STRING_DATE_TIME_SECONDS The string date time's format should be yyyy-mm-dd hh:mm:ss.
INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm.
EARLIER_THAN_MINIMUM_DATE Date is before allowed minimum.
LATER_THAN_MAXIMUM_DATE Date is after allowed maximum.
DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE Date range bounds are not in order.
DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL Both dates in range are null.

DistinctError

Enum describing possible distinct errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_ELEMENT Duplicate element.
DUPLICATE_TYPE Duplicate type.

FieldError

Enum describing possible field errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
REQUIRED The required field was not present.
IMMUTABLE_FIELD The field attempted to be mutated is immutable.
INVALID_VALUE The field's value is invalid.
VALUE_MUST_BE_UNSET The field cannot be set.
REQUIRED_NONEMPTY_LIST The required repeated field was empty.
FIELD_CANNOT_BE_CLEARED The field cannot be cleared.
BLOCKED_VALUE The field's value is on a deny-list for this field.
FIELD_CAN_ONLY_BE_CLEARED The field's value cannot be modified, except for clearing.

MutateError

Enum describing possible mutate errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
RESOURCE_NOT_FOUND Requested resource was not found.
ID_EXISTS_IN_MULTIPLE_MUTATES Cannot mutate the same resource twice in one request.
INCONSISTENT_FIELD_VALUES The field's contents don't match another field that represents the same data.
MUTATE_NOT_ALLOWED Mutates are not allowed for the requested resource.
RESOURCE_NOT_IN_GOOGLE_ADS The resource isn't in Google Ads. It belongs to another ads system.
RESOURCE_ALREADY_EXISTS The resource being created already exists.
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY This resource cannot be used with "validateOnly".
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE This operation cannot be used with "partialFailure".
RESOURCE_READ_ONLY Attempt to write to read-only fields.

NotAllowlistedError

Enum describing possible not allowlisted errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE Customer is not allowlisted for accessing this feature.

StringFormatError

Enum describing possible string format errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ILLEGAL_CHARS The input string value contains disallowed characters.
INVALID_FORMAT The input string value is invalid for the associated field.

StringLengthError

Enum describing possible string length errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
EMPTY The specified field should have a least one non-whitespace character in it.
TOO_SHORT Too short.
TOO_LONG Too long.

CustomerAgreementSetting

Customer Agreement Setting for a customer.

JSON representation
{
  "acceptedLeadFormTerms": boolean
}
Fields
acceptedLeadFormTerms

boolean

Output only. Whether the customer has accepted lead form term of service.