Final answer:
Location-based advertising uses the location of a person to send targeted messages or promotions.
Step-by-step explanation:
The correct answer to the question is 2) location-based advertising.
Location-based advertising uses the location of a person to send targeted messages or promotions.
In this case, the coffee shop used your cell phone's location to send you a message about a free biscotti when you come inside the shop.
This type of advertising can be effective in attracting customers who are nearby and might be more likely to make a purchase.