UNPKG

google-ads-api-client

Version:

A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.

55 lines 2.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SharedSetServiceClient = void 0; const shared_set_service_1 = require("./shared_set_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the Shared Set service. /** * Service to manage shared sets. * * @generated from protobuf service google.ads.googleads.v11.services.SharedSetService */ class SharedSetServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = shared_set_service_1.SharedSetService.typeName; this.methods = shared_set_service_1.SharedSetService.methods; this.options = shared_set_service_1.SharedSetService.options; } /** * Creates, updates, or removes shared sets. Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [DatabaseError]() * [DateError]() * [DistinctError]() * [FieldError]() * [FieldMaskError]() * [HeaderError]() * [IdError]() * [InternalError]() * [MutateError]() * [NewResourceCreationError]() * [NotEmptyError]() * [NullError]() * [OperatorError]() * [QuotaError]() * [RangeError]() * [RequestError]() * [ResourceCountLimitExceededError]() * [SharedSetError]() * [SizeLimitError]() * [StringFormatError]() * [StringLengthError]() * * @generated from protobuf rpc: MutateSharedSets(google.ads.googleads.v11.services.MutateSharedSetsRequest) returns (google.ads.googleads.v11.services.MutateSharedSetsResponse); */ mutateSharedSets(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.SharedSetServiceClient = SharedSetServiceClient; //# sourceMappingURL=shared_set_service.client.js.map