// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Advertisements extends APIResource {
    /**
     * Update advertisement for rule.
     */
    edit(accountIdentifier, ruleIdentifier, options) {
        return this._client.patch(`/accounts/${accountIdentifier}/mnm/rules/${ruleIdentifier}/advertisement`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (Advertisements) {
})(Advertisements || (Advertisements = {}));
//# sourceMappingURL=advertisements.mjs.map