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.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomConversionGoalServiceClient = void 0;
const custom_conversion_goal_service_1 = require("./custom_conversion_goal_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the CustomConversionGoal service.
/**
* Service to manage custom conversion goal.
*
* @generated from protobuf service google.ads.googleads.v11.services.CustomConversionGoalService
*/
class CustomConversionGoalServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = custom_conversion_goal_service_1.CustomConversionGoalService.typeName;
this.methods = custom_conversion_goal_service_1.CustomConversionGoalService.methods;
this.options = custom_conversion_goal_service_1.CustomConversionGoalService.options;
}
/**
* Creates, updates or removes custom conversion goals. Operation statuses
* are returned.
*
* @generated from protobuf rpc: MutateCustomConversionGoals(google.ads.googleads.v11.services.MutateCustomConversionGoalsRequest) returns (google.ads.googleads.v11.services.MutateCustomConversionGoalsResponse);
*/
mutateCustomConversionGoals(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.CustomConversionGoalServiceClient = CustomConversionGoalServiceClient;
//# sourceMappingURL=custom_conversion_goal_service.client.js.map