google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
30 lines • 1.7 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BiddingSeasonalityAdjustmentServiceClient = void 0;
const bidding_seasonality_adjustment_service_1 = require("./bidding_seasonality_adjustment_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
/**
* Service to manage bidding seasonality adjustments.
*
* @generated from protobuf service google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService
*/
class BiddingSeasonalityAdjustmentServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = bidding_seasonality_adjustment_service_1.BiddingSeasonalityAdjustmentService.typeName;
this.methods = bidding_seasonality_adjustment_service_1.BiddingSeasonalityAdjustmentService.methods;
this.options = bidding_seasonality_adjustment_service_1.BiddingSeasonalityAdjustmentService.options;
}
/**
* Creates, updates, or removes seasonality adjustments.
* Operation statuses are returned.
*
* @generated from protobuf rpc: MutateBiddingSeasonalityAdjustments(google.ads.googleads.v11.services.MutateBiddingSeasonalityAdjustmentsRequest) returns (google.ads.googleads.v11.services.MutateBiddingSeasonalityAdjustmentsResponse);
*/
mutateBiddingSeasonalityAdjustments(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.BiddingSeasonalityAdjustmentServiceClient = BiddingSeasonalityAdjustmentServiceClient;
//# sourceMappingURL=bidding_seasonality_adjustment_service.client.js.map