sitting a cup of vinegar could possibly work too. Maybe 2 cups, one sitting in the front and one in the back. This will obviously work when the vehicle isn't being driven.
My parents say this is how they got the smoke smell out of my car while they drove it back when I went on a year vacation lol. When I got back, the car didn't smell of any smoke and I was super impressed.
That helps with lingering odors when the source has been removed.
If the car has tar/nicotine buildup, no "absorbent" solution will ever truly fix the root cause. For example, a walking ash tray sat in my Volvo one time while it was being worked on at a shop (that I no longer use). Mr Stinky was the root cause of the stench, but I could still smell him in the car. An odor neutralizer worked just fine in that case.
But, if someone is routinely smoking in a vehicle, the tar and nicotine will be an ever-present stench generator.
My solution? Ban all tobacco products and deny medical insurance to anyone who uses tobacco. That'll fix the problem long term.