Gotta be careful with most of those air "ionizers" most are a scam. I've used the fabreez fix myself. Also clean all the inside glass very well cuz lots of the odor stays here as tar stuck to the glass surface.
I hate a smoke smelling car, and no one who rides in mine can tell someone ever smoked in it. You just have to be VERY meticulas in cleaning it.
Put two bowls of vinigar in the truck on a hot day for 5 to 10 hours, that usually takes care of it. also go to a store and by Ozium spray. It kills airbourne bacteria and is made to get smoke smell out-it's what the goverment uses in their bathrooms, offices ect. also hotels use it.
You can rent the ionizers that actually do work. But you need to be very careful with those. You use them too much and it deteriorates all the rubber seals in the car.