If the window is 7 days after a click, a purchase on day 6 counts for the ad and a purchase on day 8 does not. Longer windows credit more conversions to ads; shorter ones credit fewer.
Each platform uses its own windows and models, which is one reason Meta, Google and your analytics never agree exactly.