If by air pillow you mean one of those little bags full of air, they're pretty useless.  I've had them in a few parcels I've received and it's rare that they arrive with air still in them.  That means they either slowly deflate or they deflate after the first knock, and that means if there's another knock or jolt there's no cushioning in the box.  To me that means they were inadequately packed.