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.

56 lines 2.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CampaignFeedServiceClient = void 0; const campaign_feed_service_1 = require("./campaign_feed_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the CampaignFeed service. /** * Service to manage campaign feeds. * * @generated from protobuf service google.ads.googleads.v11.services.CampaignFeedService */ class CampaignFeedServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = campaign_feed_service_1.CampaignFeedService.typeName; this.methods = campaign_feed_service_1.CampaignFeedService.methods; this.options = campaign_feed_service_1.CampaignFeedService.options; } /** * Creates, updates, or removes campaign feeds. Operation statuses are * returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [CampaignFeedError]() * [CollectionSizeError]() * [DatabaseError]() * [DistinctError]() * [FieldError]() * [FunctionError]() * [FunctionParsingError]() * [HeaderError]() * [IdError]() * [InternalError]() * [MutateError]() * [NotEmptyError]() * [NullError]() * [OperationAccessDeniedError]() * [OperatorError]() * [QuotaError]() * [RangeError]() * [RequestError]() * [SizeLimitError]() * [StringFormatError]() * [StringLengthError]() * * @generated from protobuf rpc: MutateCampaignFeeds(google.ads.googleads.v11.services.MutateCampaignFeedsRequest) returns (google.ads.googleads.v11.services.MutateCampaignFeedsResponse); */ mutateCampaignFeeds(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.CampaignFeedServiceClient = CampaignFeedServiceClient; //# sourceMappingURL=campaign_feed_service.client.js.map