The bolt pattern for a 2008 Toyota Yaris is 4x100. The given lug pattern is the same for different years of production and has never changed since the model came off the production line.
You most likely found the wheels with a different bolt pattern, so you can change the 2008 Toyota Yaris bolt pattern by installing wheel adapters. See the relevant products from Amazon:
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
We may earn a commission from links that lead to the Amazon site.