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.54 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdGroupCustomizerServiceClient = void 0;
const ad_group_customizer_service_1 = require("./ad_group_customizer_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the AdGroupCustomizer service.
/**
* Service to manage ad group customizer
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupCustomizerService
*/
class AdGroupCustomizerServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = ad_group_customizer_service_1.AdGroupCustomizerService.typeName;
this.methods = ad_group_customizer_service_1.AdGroupCustomizerService.methods;
this.options = ad_group_customizer_service_1.AdGroupCustomizerService.options;
}
/**
* Creates, updates or removes ad group customizers. Operation statuses are
* returned.
*
* @generated from protobuf rpc: MutateAdGroupCustomizers(google.ads.googleads.v11.services.MutateAdGroupCustomizersRequest) returns (google.ads.googleads.v11.services.MutateAdGroupCustomizersResponse);
*/
mutateAdGroupCustomizers(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.AdGroupCustomizerServiceClient = AdGroupCustomizerServiceClient;
//# sourceMappingURL=ad_group_customizer_service.client.js.map