google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
41 lines • 1.96 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConversionCustomVariableServiceClient = void 0;
const conversion_custom_variable_service_1 = require("./conversion_custom_variable_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the Conversion Custom Variable service.
/**
* Service to manage conversion custom variables.
*
* @generated from protobuf service google.ads.googleads.v11.services.ConversionCustomVariableService
*/
class ConversionCustomVariableServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = conversion_custom_variable_service_1.ConversionCustomVariableService.typeName;
this.methods = conversion_custom_variable_service_1.ConversionCustomVariableService.methods;
this.options = conversion_custom_variable_service_1.ConversionCustomVariableService.options;
}
/**
* Creates or updates conversion custom variables. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [ConversionCustomVariableError]()
* [DatabaseError]()
* [HeaderError]()
* [InternalError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateConversionCustomVariables(google.ads.googleads.v11.services.MutateConversionCustomVariablesRequest) returns (google.ads.googleads.v11.services.MutateConversionCustomVariablesResponse);
*/
mutateConversionCustomVariables(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.ConversionCustomVariableServiceClient = ConversionCustomVariableServiceClient;
//# sourceMappingURL=conversion_custom_variable_service.client.js.map