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.58 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomizerAttributeServiceClient = void 0;
const customizer_attribute_service_1 = require("./customizer_attribute_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the CustomizerAttribute service.
/**
* Service to manage customizer attribute
*
* @generated from protobuf service google.ads.googleads.v11.services.CustomizerAttributeService
*/
class CustomizerAttributeServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = customizer_attribute_service_1.CustomizerAttributeService.typeName;
this.methods = customizer_attribute_service_1.CustomizerAttributeService.methods;
this.options = customizer_attribute_service_1.CustomizerAttributeService.options;
}
/**
* Creates, updates or removes customizer attributes. Operation statuses are
* returned.
*
* @generated from protobuf rpc: MutateCustomizerAttributes(google.ads.googleads.v11.services.MutateCustomizerAttributesRequest) returns (google.ads.googleads.v11.services.MutateCustomizerAttributesResponse);
*/
mutateCustomizerAttributes(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.CustomizerAttributeServiceClient = CustomizerAttributeServiceClient;
//# sourceMappingURL=customizer_attribute_service.client.js.map