First, find the weight
A PDF is usually heavy because of images, embedded fonts or duplicated resources. Run a size analyser before compressing. If a 40-page text report is 18 MB, the problem is probably one enormous scan or a set of uncompressed images, not the text itself.
Two kinds of compression
Lossless optimisation rewrites object streams, removes unused resources and recompresses images without changing pixels. Rasterisation renders each page to a new image and rebuilds the PDF. The first keeps text selectable; the second can hit aggressive size targets but turns text into pixels.
When to rasterise
Scans, photo portfolios, receipts and documents that only need to look right are good candidates. Contracts, invoices and anything that will be searched or copied should stay text-based if possible.
How target-size search works
The compressor renders a page, encodes it at a quality level, measures the result and adjusts. It repeats this until the whole document fits under the target or it runs out of useful quality. A 200 KB target for a 60-page colour magazine is not realistic; the tool should say so rather than silently produce a blurry file.
Keep the original
Compression is destructive. Always keep the original file, and name the output with the target size so you can tell versions apart.