For search ads (Google), AI generates your ads from thousands of pretested competitor ads, that suit your industry. This includes ad headlines, descriptions, keywords, and posts. You can then edit them to suit your individual business.
For social ads (Facebook and Instagram), AI generated ads are based on the prompts you provide, to ensure you get exactly what best suits your audience and business. To learn more about prompts, read: AI Know-How for Small Business Marketing.