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.

38 lines 1.68 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FeedItemSetLinkServiceClient = void 0; const feed_item_set_link_service_1 = require("./feed_item_set_link_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the FeedItemSetLink service. /** * Service to manage feed item set links. * * @generated from protobuf service google.ads.googleads.v11.services.FeedItemSetLinkService */ class FeedItemSetLinkServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = feed_item_set_link_service_1.FeedItemSetLinkService.typeName; this.methods = feed_item_set_link_service_1.FeedItemSetLinkService.methods; this.options = feed_item_set_link_service_1.FeedItemSetLinkService.options; } /** * Creates, updates, or removes feed item set links. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateFeedItemSetLinks(google.ads.googleads.v11.services.MutateFeedItemSetLinksRequest) returns (google.ads.googleads.v11.services.MutateFeedItemSetLinksResponse); */ mutateFeedItemSetLinks(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.FeedItemSetLinkServiceClient = FeedItemSetLinkServiceClient; //# sourceMappingURL=feed_item_set_link_service.client.js.map