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.

30 lines 1.56 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SmartCampaignSettingServiceClient = void 0; const smart_campaign_setting_service_1 = require("./smart_campaign_setting_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the Smart campaign setting service. /** * Service to manage Smart campaign settings. * * @generated from protobuf service google.ads.googleads.v11.services.SmartCampaignSettingService */ class SmartCampaignSettingServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = smart_campaign_setting_service_1.SmartCampaignSettingService.typeName; this.methods = smart_campaign_setting_service_1.SmartCampaignSettingService.methods; this.options = smart_campaign_setting_service_1.SmartCampaignSettingService.options; } /** * Updates Smart campaign settings for campaigns. * * @generated from protobuf rpc: MutateSmartCampaignSettings(google.ads.googleads.v11.services.MutateSmartCampaignSettingsRequest) returns (google.ads.googleads.v11.services.MutateSmartCampaignSettingsResponse); */ mutateSmartCampaignSettings(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.SmartCampaignSettingServiceClient = SmartCampaignSettingServiceClient; //# sourceMappingURL=smart_campaign_setting_service.client.js.map