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.

59 lines 2.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BiddingStrategyServiceClient = void 0; const bidding_strategy_service_1 = require("./bidding_strategy_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the Bidding Strategy service. /** * Service to manage bidding strategies. * * @generated from protobuf service google.ads.googleads.v11.services.BiddingStrategyService */ class BiddingStrategyServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = bidding_strategy_service_1.BiddingStrategyService.typeName; this.methods = bidding_strategy_service_1.BiddingStrategyService.methods; this.options = bidding_strategy_service_1.BiddingStrategyService.options; } /** * Creates, updates, or removes bidding strategies. Operation statuses are * returned. * * List of thrown errors: * [AdxError]() * [AuthenticationError]() * [AuthorizationError]() * [BiddingError]() * [BiddingStrategyError]() * [ContextError]() * [DatabaseError]() * [DateError]() * [DistinctError]() * [FieldError]() * [FieldMaskError]() * [HeaderError]() * [IdError]() * [InternalError]() * [MutateError]() * [NewResourceCreationError]() * [NotEmptyError]() * [NullError]() * [OperationAccessDeniedError]() * [OperatorError]() * [QuotaError]() * [RangeError]() * [RequestError]() * [SizeLimitError]() * [StringFormatError]() * [StringLengthError]() * * @generated from protobuf rpc: MutateBiddingStrategies(google.ads.googleads.v11.services.MutateBiddingStrategiesRequest) returns (google.ads.googleads.v11.services.MutateBiddingStrategiesResponse); */ mutateBiddingStrategies(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.BiddingStrategyServiceClient = BiddingStrategyServiceClient; //# sourceMappingURL=bidding_strategy_service.client.js.map