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.

44 lines 1.78 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AdGroupLabelServiceClient = void 0; const ad_group_label_service_1 = require("./ad_group_label_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the Ad Group Label service. /** * Service to manage labels on ad groups. * * @generated from protobuf service google.ads.googleads.v11.services.AdGroupLabelService */ class AdGroupLabelServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = ad_group_label_service_1.AdGroupLabelService.typeName; this.methods = ad_group_label_service_1.AdGroupLabelService.methods; this.options = ad_group_label_service_1.AdGroupLabelService.options; } /** * Creates and removes ad group labels. * Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [DatabaseError]() * [FieldError]() * [HeaderError]() * [InternalError]() * [LabelError]() * [MutateError]() * [NewResourceCreationError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateAdGroupLabels(google.ads.googleads.v11.services.MutateAdGroupLabelsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupLabelsResponse); */ mutateAdGroupLabels(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.AdGroupLabelServiceClient = AdGroupLabelServiceClient; //# sourceMappingURL=ad_group_label_service.client.js.map