google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
76 lines (75 loc) • 2.94 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 asset set link errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.AssetSetLinkErrorEnum
*/
export interface AssetSetLinkErrorEnum {
}
/**
* Enum describing possible asset set link errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.AssetSetLinkErrorEnum.AssetSetLinkError
*/
export declare enum AssetSetLinkErrorEnum_AssetSetLinkError {
/**
* 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,
/**
* Advertising channel type cannot be attached to the asset set due to
* channel-based restrictions.
*
* @generated from protobuf enum value: INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2;
*/
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2,
/**
* For this asset set type, only one campaign to feed linkage is allowed.
*
* @generated from protobuf enum value: DUPLICATE_FEED_LINK = 3;
*/
DUPLICATE_FEED_LINK = 3,
/**
* The asset set type and campaign type are incompatible.
*
* @generated from protobuf enum value: INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4;
*/
INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4,
/**
* Cannot link duplicate asset sets to the same campaign.
*
* @generated from protobuf enum value: DUPLICATE_ASSET_SET_LINK = 5;
*/
DUPLICATE_ASSET_SET_LINK = 5,
/**
* Cannot remove the asset set link. If a campaign is linked with only one
* asset set and you attempt to unlink them, this error will be triggered.
*
* @generated from protobuf enum value: ASSET_SET_LINK_CANNOT_BE_REMOVED = 6;
*/
ASSET_SET_LINK_CANNOT_BE_REMOVED = 6
}
declare class AssetSetLinkErrorEnum$Type extends MessageType<AssetSetLinkErrorEnum> {
constructor();
create(value?: PartialMessage<AssetSetLinkErrorEnum>): AssetSetLinkErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssetSetLinkErrorEnum): AssetSetLinkErrorEnum;
internalBinaryWrite(message: AssetSetLinkErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.AssetSetLinkErrorEnum
*/
export declare const AssetSetLinkErrorEnum: AssetSetLinkErrorEnum$Type;
export {};