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.66 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConversionValueRuleSetServiceClient = void 0;
const conversion_value_rule_set_service_1 = require("./conversion_value_rule_set_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the Conversion Value Rule Set service.
/**
* Service to manage conversion value rule sets.
*
* @generated from protobuf service google.ads.googleads.v11.services.ConversionValueRuleSetService
*/
class ConversionValueRuleSetServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = conversion_value_rule_set_service_1.ConversionValueRuleSetService.typeName;
this.methods = conversion_value_rule_set_service_1.ConversionValueRuleSetService.methods;
this.options = conversion_value_rule_set_service_1.ConversionValueRuleSetService.options;
}
/**
* Creates, updates or removes conversion value rule sets. Operation statuses
* are returned.
*
* @generated from protobuf rpc: MutateConversionValueRuleSets(google.ads.googleads.v11.services.MutateConversionValueRuleSetsRequest) returns (google.ads.googleads.v11.services.MutateConversionValueRuleSetsResponse);
*/
mutateConversionValueRuleSets(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.ConversionValueRuleSetServiceClient = ConversionValueRuleSetServiceClient;
//# sourceMappingURL=conversion_value_rule_set_service.client.js.map