Preheat your air fryer to ~370°F (if your model needs preheating).
Slice the loaf lengthwise, then cut into pieces to fit your basket.
Brush the cut surfaces with olive oil.
Spread pizza sauce on each piece.
Layer pepperoni, bell pepper, onion, tomato (and olives if using).
Generously sprinkle cheese over toppings.
Arrange in air fryer basket (avoid overlapping).
Cook 5–7 minutes, checking at minute 5 for doneness (cheese melted, edges crisp).
Carefully remove (with tongs) and let sit 1–2 minutes before serving.