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.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssetGroupServiceClient = void 0;
const asset_group_service_1 = require("./asset_group_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the AssetGroup service.
/**
* Service to manage asset group
*
* @generated from protobuf service google.ads.googleads.v11.services.AssetGroupService
*/
class AssetGroupServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = asset_group_service_1.AssetGroupService.typeName;
this.methods = asset_group_service_1.AssetGroupService.methods;
this.options = asset_group_service_1.AssetGroupService.options;
}
/**
* Creates, updates or removes asset groups. Operation statuses are
* returned.
*
* @generated from protobuf rpc: MutateAssetGroups(google.ads.googleads.v11.services.MutateAssetGroupsRequest) returns (google.ads.googleads.v11.services.MutateAssetGroupsResponse);
*/
mutateAssetGroups(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.AssetGroupServiceClient = AssetGroupServiceClient;
//# sourceMappingURL=asset_group_service.client.js.map