Great catch, @OnlineProxy! You're completely right on both points:
price: null), evaluating ad.get('price'):, raises a TypeError in Python. A defensive formatter like f"R$ {price:,.0f}".replace(",", ".") if price is not None else "Sob consulta" avoids any crash and respects Brazilian currency formatting.if run.get("status") != "SUCCEEDED": before touching the dataset prevents reading empty/partial results if the Actor timed out or failed.I've updated the script in the guide to incorporate defensive null checks across price, city/state, and run status. Appreciate the sharp peer review!