google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
39 lines • 1.76 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RemarketingActionServiceClient = void 0;
const remarketing_action_service_1 = require("./remarketing_action_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the Remarketing Action service.
/**
* Service to manage remarketing actions.
*
* @generated from protobuf service google.ads.googleads.v11.services.RemarketingActionService
*/
class RemarketingActionServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = remarketing_action_service_1.RemarketingActionService.typeName;
this.methods = remarketing_action_service_1.RemarketingActionService.methods;
this.options = remarketing_action_service_1.RemarketingActionService.options;
}
/**
* Creates or updates remarketing actions. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [ConversionActionError]()
* [HeaderError]()
* [InternalError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateRemarketingActions(google.ads.googleads.v11.services.MutateRemarketingActionsRequest) returns (google.ads.googleads.v11.services.MutateRemarketingActionsResponse);
*/
mutateRemarketingActions(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.RemarketingActionServiceClient = RemarketingActionServiceClient;
//# sourceMappingURL=remarketing_action_service.client.js.map