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.

58 lines 2.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FeedItemServiceClient = void 0; const feed_item_service_1 = require("./feed_item_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the FeedItem service. /** * Service to manage feed items. * * @generated from protobuf service google.ads.googleads.v11.services.FeedItemService */ class FeedItemServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = feed_item_service_1.FeedItemService.typeName; this.methods = feed_item_service_1.FeedItemService.methods; this.options = feed_item_service_1.FeedItemService.options; } /** * Creates, updates, or removes feed items. Operation statuses are * returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [CollectionSizeError]() * [CriterionError]() * [DatabaseError]() * [DateError]() * [DistinctError]() * [FeedItemError]() * [FieldError]() * [FieldMaskError]() * [HeaderError]() * [IdError]() * [InternalError]() * [ListOperationError]() * [MutateError]() * [NotEmptyError]() * [NullError]() * [OperatorError]() * [QuotaError]() * [RangeError]() * [RequestError]() * [SizeLimitError]() * [StringFormatError]() * [StringLengthError]() * [UrlFieldError]() * * @generated from protobuf rpc: MutateFeedItems(google.ads.googleads.v11.services.MutateFeedItemsRequest) returns (google.ads.googleads.v11.services.MutateFeedItemsResponse); */ mutateFeedItems(input, options) { const method = this.methods[0], opt = this._transport.mergeOptions(options); return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input); } } exports.FeedItemServiceClient = FeedItemServiceClient; //# sourceMappingURL=feed_item_service.client.js.map