google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
151 lines (150 loc) • 5.74 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 feed item errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.FeedMappingErrorEnum
*/
export interface FeedMappingErrorEnum {
}
/**
* Enum describing possible feed item errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.FeedMappingErrorEnum.FeedMappingError
*/
export declare enum FeedMappingErrorEnum_FeedMappingError {
/**
* Enum unspecified.
*
* @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 given placeholder field does not exist.
*
* @generated from protobuf enum value: INVALID_PLACEHOLDER_FIELD = 2;
*/
INVALID_PLACEHOLDER_FIELD = 2,
/**
* The given criterion field does not exist.
*
* @generated from protobuf enum value: INVALID_CRITERION_FIELD = 3;
*/
INVALID_CRITERION_FIELD = 3,
/**
* The given placeholder type does not exist.
*
* @generated from protobuf enum value: INVALID_PLACEHOLDER_TYPE = 4;
*/
INVALID_PLACEHOLDER_TYPE = 4,
/**
* The given criterion type does not exist.
*
* @generated from protobuf enum value: INVALID_CRITERION_TYPE = 5;
*/
INVALID_CRITERION_TYPE = 5,
/**
* A feed mapping must contain at least one attribute field mapping.
*
* @generated from protobuf enum value: NO_ATTRIBUTE_FIELD_MAPPINGS = 7;
*/
NO_ATTRIBUTE_FIELD_MAPPINGS = 7,
/**
* The type of the feed attribute referenced in the attribute field mapping
* must match the type of the placeholder field.
*
* @generated from protobuf enum value: FEED_ATTRIBUTE_TYPE_MISMATCH = 8;
*/
FEED_ATTRIBUTE_TYPE_MISMATCH = 8,
/**
* A feed mapping for a system generated feed cannot be operated on.
*
* @generated from protobuf enum value: CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;
*/
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9,
/**
* Only one feed mapping for a placeholder type is allowed per feed or
* customer (depending on the placeholder type).
*
* @generated from protobuf enum value: MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10;
*/
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10,
/**
* Only one feed mapping for a criterion type is allowed per customer.
*
* @generated from protobuf enum value: MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;
*/
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11,
/**
* Only one feed attribute mapping for a placeholder field is allowed
* (depending on the placeholder type).
*
* @generated from protobuf enum value: MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;
*/
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12,
/**
* Only one feed attribute mapping for a criterion field is allowed
* (depending on the criterion type).
*
* @generated from protobuf enum value: MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;
*/
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13,
/**
* This feed mapping may not contain any explicit attribute field mappings.
*
* @generated from protobuf enum value: UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;
*/
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14,
/**
* Location placeholder feed mappings can only be created for Places feeds.
*
* @generated from protobuf enum value: LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;
*/
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15,
/**
* Mappings for typed feeds cannot be modified.
*
* @generated from protobuf enum value: CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;
*/
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16,
/**
* The given placeholder type can only be mapped to system generated feeds.
*
* @generated from protobuf enum value: INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;
*/
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17,
/**
* The given placeholder type cannot be mapped to a system generated feed
* with the given type.
*
* @generated from protobuf enum value: INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18;
*/
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18,
/**
* The "field" oneof was not set in an AttributeFieldMapping.
*
* @generated from protobuf enum value: ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19;
*/
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19
}
declare class FeedMappingErrorEnum$Type extends MessageType<FeedMappingErrorEnum> {
constructor();
create(value?: PartialMessage<FeedMappingErrorEnum>): FeedMappingErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeedMappingErrorEnum): FeedMappingErrorEnum;
internalBinaryWrite(message: FeedMappingErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.FeedMappingErrorEnum
*/
export declare const FeedMappingErrorEnum: FeedMappingErrorEnum$Type;
export {};