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.65 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomerConversionGoalServiceClient = void 0; const customer_conversion_goal_service_1 = require("./customer_conversion_goal_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the CustomerConversionGoal service. /** * Service to manage customer conversion goal. * * @generated from protobuf service google.ads.googleads.v11.services.CustomerConversionGoalService */ class CustomerConversionGoalServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = customer_conversion_goal_service_1.CustomerConversionGoalService.typeName; this.methods = customer_conversion_goal_service_1.CustomerConversionGoalService.methods; this.options = customer_conversion_goal_service_1.CustomerConversionGoalService.options; } /** * Creates, updates or removes customer conversion goals. Operation statuses * are returned. * * @generated from protobuf rpc: MutateCustomerConversionGoals(google.ads.googleads.v11.services.MutateCustomerConversionGoalsRequest) returns (google.ads.googleads.v11.services.MutateCustomerConversionGoalsResponse); */ mutateCustomerConversionGoals(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.CustomerConversionGoalServiceClient = CustomerConversionGoalServiceClient; //# sourceMappingURL=customer_conversion_goal_service.client.js.map