google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
48 lines • 2.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeywordPlanCampaignServiceClient = void 0;
const keyword_plan_campaign_service_1 = require("./keyword_plan_campaign_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the keyword plan campaign service.
/**
* Service to manage Keyword Plan campaigns.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordPlanCampaignService
*/
class KeywordPlanCampaignServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = keyword_plan_campaign_service_1.KeywordPlanCampaignService.typeName;
this.methods = keyword_plan_campaign_service_1.KeywordPlanCampaignService.methods;
this.options = keyword_plan_campaign_service_1.KeywordPlanCampaignService.options;
}
/**
* Creates, updates, or removes Keyword Plan campaigns. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [KeywordPlanCampaignError]()
* [KeywordPlanError]()
* [ListOperationError]()
* [MutateError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
*
* @generated from protobuf rpc: MutateKeywordPlanCampaigns(google.ads.googleads.v11.services.MutateKeywordPlanCampaignsRequest) returns (google.ads.googleads.v11.services.MutateKeywordPlanCampaignsResponse);
*/
mutateKeywordPlanCampaigns(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.KeywordPlanCampaignServiceClient = KeywordPlanCampaignServiceClient;
//# sourceMappingURL=keyword_plan_campaign_service.client.js.map