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.

41 lines 1.89 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AdGroupCriterionLabelServiceClient = void 0; const ad_group_criterion_label_service_1 = require("./ad_group_criterion_label_service"); const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc"); // Proto file describing the Ad Group Criterion Label service. /** * Service to manage labels on ad group criteria. * * @generated from protobuf service google.ads.googleads.v11.services.AdGroupCriterionLabelService */ class AdGroupCriterionLabelServiceClient { constructor(_transport) { this._transport = _transport; this.typeName = ad_group_criterion_label_service_1.AdGroupCriterionLabelService.typeName; this.methods = ad_group_criterion_label_service_1.AdGroupCriterionLabelService.methods; this.options = ad_group_criterion_label_service_1.AdGroupCriterionLabelService.options; } /** * Creates and removes ad group criterion labels. * Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [DatabaseError]() * [FieldError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateAdGroupCriterionLabels(google.ads.googleads.v11.services.MutateAdGroupCriterionLabelsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupCriterionLabelsResponse); */ mutateAdGroupCriterionLabels(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.AdGroupCriterionLabelServiceClient = AdGroupCriterionLabelServiceClient; //# sourceMappingURL=ad_group_criterion_label_service.client.js.map