UNPKG

google-ads-api-client

Version:

A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.

63 lines (62 loc) 2.31 kB
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 ad sharing errors. * * @generated from protobuf message google.ads.googleads.v11.errors.AdSharingErrorEnum */ export interface AdSharingErrorEnum { } /** * Enum describing possible ad sharing errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.AdSharingErrorEnum.AdSharingError */ export declare enum AdSharingErrorEnum_AdSharingError { /** * 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, /** * Error resulting in attempting to add an Ad to an AdGroup that already * contains the Ad. * * @generated from protobuf enum value: AD_GROUP_ALREADY_CONTAINS_AD = 2; */ AD_GROUP_ALREADY_CONTAINS_AD = 2, /** * Ad is not compatible with the AdGroup it is being shared with. * * @generated from protobuf enum value: INCOMPATIBLE_AD_UNDER_AD_GROUP = 3; */ INCOMPATIBLE_AD_UNDER_AD_GROUP = 3, /** * Cannot add AdGroupAd on inactive Ad. * * @generated from protobuf enum value: CANNOT_SHARE_INACTIVE_AD = 4; */ CANNOT_SHARE_INACTIVE_AD = 4 } declare class AdSharingErrorEnum$Type extends MessageType<AdSharingErrorEnum> { constructor(); create(value?: PartialMessage<AdSharingErrorEnum>): AdSharingErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdSharingErrorEnum): AdSharingErrorEnum; internalBinaryWrite(message: AdSharingErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.AdSharingErrorEnum */ export declare const AdSharingErrorEnum: AdSharingErrorEnum$Type; export {};