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.

55 lines 2.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomerFeedServiceClient = void 0; const customer_feed_service_1 = require("./customer_feed_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the CustomerFeed service. /** * Service to manage customer feeds. * * @generated from protobuf service google.ads.googleads.v11.services.CustomerFeedService */ class CustomerFeedServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = customer_feed_service_1.CustomerFeedService.typeName; this.methods = customer_feed_service_1.CustomerFeedService.methods; this.options = customer_feed_service_1.CustomerFeedService.options; } /** * Creates, updates, or removes customer feeds. Operation statuses are * returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [CollectionSizeError]() * [CustomerFeedError]() * [DatabaseError]() * [DistinctError]() * [FieldError]() * [FieldMaskError]() * [FunctionError]() * [FunctionParsingError]() * [HeaderError]() * [IdError]() * [InternalError]() * [MutateError]() * [NotEmptyError]() * [OperatorError]() * [QuotaError]() * [RangeError]() * [RequestError]() * [SizeLimitError]() * [StringFormatError]() * [StringLengthError]() * * @generated from protobuf rpc: MutateCustomerFeeds(google.ads.googleads.v11.services.MutateCustomerFeedsRequest) returns (google.ads.googleads.v11.services.MutateCustomerFeedsResponse); */ mutateCustomerFeeds(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.CustomerFeedServiceClient = CustomerFeedServiceClient; //# sourceMappingURL=customer_feed_service.client.js.map