google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
57 lines • 1.97 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FeedServiceClient = void 0;
const feed_service_1 = require("./feed_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the Feed service.
/**
* Service to manage feeds.
*
* @generated from protobuf service google.ads.googleads.v11.services.FeedService
*/
class FeedServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = feed_service_1.FeedService.typeName;
this.methods = feed_service_1.FeedService.methods;
this.options = feed_service_1.FeedService.options;
}
/**
* Creates, updates, or removes feeds. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [DatabaseError]()
* [DistinctError]()
* [FeedError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [ListOperationError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateFeeds(google.ads.googleads.v11.services.MutateFeedsRequest) returns (google.ads.googleads.v11.services.MutateFeedsResponse);
*/
mutateFeeds(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.FeedServiceClient = FeedServiceClient;
//# sourceMappingURL=feed_service.client.js.map