google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
205 lines (204 loc) • 8.05 kB
TypeScript
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* Container for enum describing possible conversion adjustment upload errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.ConversionAdjustmentUploadErrorEnum
*/
export interface ConversionAdjustmentUploadErrorEnum {
}
/**
* Enum describing possible conversion adjustment upload errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError
*/
export declare enum ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError {
/**
* Not specified.
*
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* The received error code is not known in this version.
*
* @generated from protobuf enum value: UNKNOWN = 1;
*/
UNKNOWN = 1,
/**
* The specified conversion action was created too recently.
* Try the upload again after 4-6 hours have passed since the
* conversion action was created.
*
* @generated from protobuf enum value: TOO_RECENT_CONVERSION_ACTION = 2;
*/
TOO_RECENT_CONVERSION_ACTION = 2,
/**
* No conversion action of a supported ConversionActionType that matches the
* provided information can be found for the customer.
*
* @generated from protobuf enum value: INVALID_CONVERSION_ACTION = 3;
*/
INVALID_CONVERSION_ACTION = 3,
/**
* A retraction was already reported for this conversion.
*
* @generated from protobuf enum value: CONVERSION_ALREADY_RETRACTED = 4;
*/
CONVERSION_ALREADY_RETRACTED = 4,
/**
* A conversion for the supplied combination of conversion
* action and conversion identifier could not be found.
*
* @generated from protobuf enum value: CONVERSION_NOT_FOUND = 5;
*/
CONVERSION_NOT_FOUND = 5,
/**
* The specified conversion has already expired. Conversions expire after 55
* days, after which adjustments cannot be reported against them.
*
* @generated from protobuf enum value: CONVERSION_EXPIRED = 6;
*/
CONVERSION_EXPIRED = 6,
/**
* The supplied adjustment date time precedes that of the original
* conversion.
*
* @generated from protobuf enum value: ADJUSTMENT_PRECEDES_CONVERSION = 7;
*/
ADJUSTMENT_PRECEDES_CONVERSION = 7,
/**
* A restatement with a more recent adjustment date time was already
* reported for this conversion.
*
* @generated from protobuf enum value: MORE_RECENT_RESTATEMENT_FOUND = 8;
*/
MORE_RECENT_RESTATEMENT_FOUND = 8,
/**
* The conversion was created too recently.
*
* @generated from protobuf enum value: TOO_RECENT_CONVERSION = 9;
*/
TOO_RECENT_CONVERSION = 9,
/**
* Restatements cannot be reported for a conversion action that always uses
* the default value.
*
* @generated from protobuf enum value: CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10;
*/
CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10,
/**
* The request contained more than 2000 adjustments.
*
* @generated from protobuf enum value: TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11;
*/
TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11,
/**
* The conversion has been adjusted too many times.
*
* @generated from protobuf enum value: TOO_MANY_ADJUSTMENTS = 12;
*/
TOO_MANY_ADJUSTMENTS = 12,
/**
* A restatement with this timestamp already exists for this conversion. To
* upload another adjustment, use a different timestamp.
*
* @generated from protobuf enum value: RESTATEMENT_ALREADY_EXISTS = 13;
*/
RESTATEMENT_ALREADY_EXISTS = 13,
/**
* This adjustment has the same timestamp as another adjustment in the
* request for this conversion. To upload another adjustment, use a
* different timestamp.
*
* @generated from protobuf enum value: DUPLICATE_ADJUSTMENT_IN_REQUEST = 14;
*/
DUPLICATE_ADJUSTMENT_IN_REQUEST = 14,
/**
* The customer has not accepted the customer data terms in the conversion
* settings page.
*
* @generated from protobuf enum value: CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15;
*/
CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15,
/**
* The enhanced conversion settings of the conversion action supplied is
* not eligible for enhancements.
*
* @generated from protobuf enum value: CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16;
*/
CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16,
/**
* The provided user identifier is not a SHA-256 hash. It is either unhashed
* or hashed using a different hash function.
*
* @generated from protobuf enum value: INVALID_USER_IDENTIFIER = 17;
*/
INVALID_USER_IDENTIFIER = 17,
/**
* The provided user identifier is not supported.
* ConversionAdjustmentUploadService only supports hashed_email,
* hashed_phone_number, and address_info.
*
* @generated from protobuf enum value: UNSUPPORTED_USER_IDENTIFIER = 18;
*/
UNSUPPORTED_USER_IDENTIFIER = 18,
/**
* Cannot set both gclid_date_time_pair and order_id.
*
* @generated from protobuf enum value: GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20;
*/
GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20,
/**
* An enhancement with this conversion action and order_id already exists
* for this conversion.
*
* @generated from protobuf enum value: CONVERSION_ALREADY_ENHANCED = 21;
*/
CONVERSION_ALREADY_ENHANCED = 21,
/**
* This enhancement has the same conversion action and order_id as
* another enhancement in the request.
*
* @generated from protobuf enum value: DUPLICATE_ENHANCEMENT_IN_REQUEST = 22;
*/
DUPLICATE_ENHANCEMENT_IN_REQUEST = 22,
/**
* Per our customer data policies, enhancement has been prohibited in your
* account. If you have any questions, contact your Google
* representative.
*
* @generated from protobuf enum value: CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23;
*/
CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23,
/**
* The conversion adjustment is for a conversion action of type WEBPAGE, but
* does not have an order_id. The order_id is required for an adjustment for
* a WEBPAGE conversion action.
*
* @generated from protobuf enum value: MISSING_ORDER_ID_FOR_WEBPAGE = 24;
*/
MISSING_ORDER_ID_FOR_WEBPAGE = 24,
/**
* The order_id contains personally identifiable information (PII), such as
* an email address or phone number.
*
* @generated from protobuf enum value: ORDER_ID_CONTAINS_PII = 25;
*/
ORDER_ID_CONTAINS_PII = 25
}
declare class ConversionAdjustmentUploadErrorEnum$Type extends MessageType<ConversionAdjustmentUploadErrorEnum> {
constructor();
create(value?: PartialMessage<ConversionAdjustmentUploadErrorEnum>): ConversionAdjustmentUploadErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConversionAdjustmentUploadErrorEnum): ConversionAdjustmentUploadErrorEnum;
internalBinaryWrite(message: ConversionAdjustmentUploadErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.ConversionAdjustmentUploadErrorEnum
*/
export declare const ConversionAdjustmentUploadErrorEnum: ConversionAdjustmentUploadErrorEnum$Type;
export {};