aetapet.com
Dog Throw Up Yellow Foam and Bile: Causes and Remedies | Pet Health
If there's something in the vomit besides yellow foam, it may help to bring a sample to your vet. Of course, if there's grass in the foam, for instance, you may already have your answer.