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.

66 lines 2.76 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProductChannelEnum = exports.ProductChannelEnum_ProductChannel = 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"); /** * Enum describing the locality of a product offer. * * @generated from protobuf enum google.ads.googleads.v11.enums.ProductChannelEnum.ProductChannel */ var ProductChannelEnum_ProductChannel; (function (ProductChannelEnum_ProductChannel) { /** * Not specified. * * @generated from protobuf enum value: UNSPECIFIED = 0; */ ProductChannelEnum_ProductChannel[ProductChannelEnum_ProductChannel["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * Used for return value only. Represents value unknown in this version. * * @generated from protobuf enum value: UNKNOWN = 1; */ ProductChannelEnum_ProductChannel[ProductChannelEnum_ProductChannel["UNKNOWN"] = 1] = "UNKNOWN"; /** * The item is sold online. * * @generated from protobuf enum value: ONLINE = 2; */ ProductChannelEnum_ProductChannel[ProductChannelEnum_ProductChannel["ONLINE"] = 2] = "ONLINE"; /** * The item is sold in local stores. * * @generated from protobuf enum value: LOCAL = 3; */ ProductChannelEnum_ProductChannel[ProductChannelEnum_ProductChannel["LOCAL"] = 3] = "LOCAL"; })(ProductChannelEnum_ProductChannel = exports.ProductChannelEnum_ProductChannel || (exports.ProductChannelEnum_ProductChannel = {})); // @generated message type with reflection information, may provide speed optimized methods class ProductChannelEnum$Type extends runtime_4.MessageType { constructor() { super("google.ads.googleads.v11.enums.ProductChannelEnum", []); } 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.ProductChannelEnum */ exports.ProductChannelEnum = new ProductChannelEnum$Type(); //# sourceMappingURL=product_channel.js.map