Archery: You gain a +2 bonus to attack rolls you make with ranged weapons.
Oil (flask): Make a ranged attack against a target creature or object, treating the oil as an improvised Weapon. [The wording for alchemist's fire is similar.]
I suppose my question could be interpreted as: Are improvised weapons that could only be thrown considered melee or ranged improvised weapons?
Thanks in advance!