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.

31 lines 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CampaignCustomizerServiceClient = void 0; const campaign_customizer_service_1 = require("./campaign_customizer_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the CampaignCustomizer service. /** * Service to manage campaign customizer * * @generated from protobuf service google.ads.googleads.v11.services.CampaignCustomizerService */ class CampaignCustomizerServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = campaign_customizer_service_1.CampaignCustomizerService.typeName; this.methods = campaign_customizer_service_1.CampaignCustomizerService.methods; this.options = campaign_customizer_service_1.CampaignCustomizerService.options; } /** * Creates, updates or removes campaign customizers. Operation statuses are * returned. * * @generated from protobuf rpc: MutateCampaignCustomizers(google.ads.googleads.v11.services.MutateCampaignCustomizersRequest) returns (google.ads.googleads.v11.services.MutateCampaignCustomizersResponse); */ mutateCampaignCustomizers(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.CampaignCustomizerServiceClient = CampaignCustomizerServiceClient; //# sourceMappingURL=campaign_customizer_service.client.js.map