google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
40 lines • 1.65 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FeedItemSetServiceClient = void 0;
const feed_item_set_service_1 = require("./feed_item_set_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the FeedItemSet service.
/**
* Service to manage feed Item Set
*
* @generated from protobuf service google.ads.googleads.v11.services.FeedItemSetService
*/
class FeedItemSetServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = feed_item_set_service_1.FeedItemSetService.typeName;
this.methods = feed_item_set_service_1.FeedItemSetService.methods;
this.options = feed_item_set_service_1.FeedItemSetService.options;
}
/**
* Creates, updates or removes feed item sets. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateFeedItemSets(google.ads.googleads.v11.services.MutateFeedItemSetsRequest) returns (google.ads.googleads.v11.services.MutateFeedItemSetsResponse);
*/
mutateFeedItemSets(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.FeedItemSetServiceClient = FeedItemSetServiceClient;
//# sourceMappingURL=feed_item_set_service.client.js.map