Comes in a calking-gun tube that you snip the tip and poke a small hole through a seal at the base of the tip. It is my first choice for shingles, but you must choose a solvent-based glue. Water-based ("water clean-up") glues will curl wooden shingles.
Liquid nails #940 is solvent based, but #990 is "water clean-up"