google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
47 lines • 2.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeywordPlanAdGroupServiceClient = void 0;
const keyword_plan_ad_group_service_1 = require("./keyword_plan_ad_group_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the keyword plan ad group service.
/**
* Service to manage Keyword Plan ad groups.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordPlanAdGroupService
*/
class KeywordPlanAdGroupServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = keyword_plan_ad_group_service_1.KeywordPlanAdGroupService.typeName;
this.methods = keyword_plan_ad_group_service_1.KeywordPlanAdGroupService.methods;
this.options = keyword_plan_ad_group_service_1.KeywordPlanAdGroupService.options;
}
/**
* Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [KeywordPlanAdGroupError]()
* [KeywordPlanError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
*
* @generated from protobuf rpc: MutateKeywordPlanAdGroups(google.ads.googleads.v11.services.MutateKeywordPlanAdGroupsRequest) returns (google.ads.googleads.v11.services.MutateKeywordPlanAdGroupsResponse);
*/
mutateKeywordPlanAdGroups(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.KeywordPlanAdGroupServiceClient = KeywordPlanAdGroupServiceClient;
//# sourceMappingURL=keyword_plan_ad_group_service.client.js.map