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.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdGroupFeedServiceClient = void 0;
const ad_group_feed_service_1 = require("./ad_group_feed_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the AdGroupFeed service.
/**
* Service to manage ad group feeds.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupFeedService
*/
class AdGroupFeedServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = ad_group_feed_service_1.AdGroupFeedService.typeName;
this.methods = ad_group_feed_service_1.AdGroupFeedService.methods;
this.options = ad_group_feed_service_1.AdGroupFeedService.options;
}
/**
* Creates, updates, or removes ad group feeds. Operation statuses are
* returned.
*
* List of thrown errors:
* [AdGroupFeedError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [DatabaseError]()
* [DistinctError]()
* [FieldError]()
* [FunctionError]()
* [FunctionParsingError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MutateError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateAdGroupFeeds(google.ads.googleads.v11.services.MutateAdGroupFeedsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupFeedsResponse);
*/
mutateAdGroupFeeds(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.AdGroupFeedServiceClient = AdGroupFeedServiceClient;
//# sourceMappingURL=ad_group_feed_service.client.js.map