Truthful Aggregation of LLMs with an Application to Online Advertising