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.

96 lines 3.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SlotEnum = exports.SlotEnum_Slot = void 0; const runtime_1 = require("@protobuf-ts/runtime"); const runtime_2 = require("@protobuf-ts/runtime"); const runtime_3 = require("@protobuf-ts/runtime"); const runtime_4 = require("@protobuf-ts/runtime"); /** * Enumerates possible positions of the Ad. * * @generated from protobuf enum google.ads.googleads.v11.enums.SlotEnum.Slot */ var SlotEnum_Slot; (function (SlotEnum_Slot) { /** * Not specified. * * @generated from protobuf enum value: UNSPECIFIED = 0; */ SlotEnum_Slot[SlotEnum_Slot["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * The value is unknown in this version. * * @generated from protobuf enum value: UNKNOWN = 1; */ SlotEnum_Slot[SlotEnum_Slot["UNKNOWN"] = 1] = "UNKNOWN"; /** * Google search: Side. * * @generated from protobuf enum value: SEARCH_SIDE = 2; */ SlotEnum_Slot[SlotEnum_Slot["SEARCH_SIDE"] = 2] = "SEARCH_SIDE"; /** * Google search: Top. * * @generated from protobuf enum value: SEARCH_TOP = 3; */ SlotEnum_Slot[SlotEnum_Slot["SEARCH_TOP"] = 3] = "SEARCH_TOP"; /** * Google search: Other. * * @generated from protobuf enum value: SEARCH_OTHER = 4; */ SlotEnum_Slot[SlotEnum_Slot["SEARCH_OTHER"] = 4] = "SEARCH_OTHER"; /** * Google Display Network. * * @generated from protobuf enum value: CONTENT = 5; */ SlotEnum_Slot[SlotEnum_Slot["CONTENT"] = 5] = "CONTENT"; /** * Search partners: Top. * * @generated from protobuf enum value: SEARCH_PARTNER_TOP = 6; */ SlotEnum_Slot[SlotEnum_Slot["SEARCH_PARTNER_TOP"] = 6] = "SEARCH_PARTNER_TOP"; /** * Search partners: Other. * * @generated from protobuf enum value: SEARCH_PARTNER_OTHER = 7; */ SlotEnum_Slot[SlotEnum_Slot["SEARCH_PARTNER_OTHER"] = 7] = "SEARCH_PARTNER_OTHER"; /** * Cross-network. * * @generated from protobuf enum value: MIXED = 8; */ SlotEnum_Slot[SlotEnum_Slot["MIXED"] = 8] = "MIXED"; })(SlotEnum_Slot = exports.SlotEnum_Slot || (exports.SlotEnum_Slot = {})); // @generated message type with reflection information, may provide speed optimized methods class SlotEnum$Type extends runtime_4.MessageType { constructor() { super("google.ads.googleads.v11.enums.SlotEnum", []); } create(value) { const message = {}; globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this }); if (value !== undefined) (0, runtime_2.reflectionMergePartial)(this, message, value); return message; } internalBinaryRead(reader, length, options, target) { return target ?? this.create(); } internalBinaryWrite(message, writer, options) { let u = options.writeUnknownFields; if (u !== false) (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message google.ads.googleads.v11.enums.SlotEnum */ exports.SlotEnum = new SlotEnum$Type(); //# sourceMappingURL=slot.js.map