Spain regulates online betting and casino gaming nationally through the Dirección General de Ordenación del Juego (DGOJ), operating under Ley 13/2011 — one of the older, more established licensing frameworks on this list. Both sports betting and casino gaming are legal and licensable, and the DGOJ maintains a public register of licensed operators, which makes verifying an operator's Spanish licence more straightforward here than in markets without a comparable framework.
Spain has also layered on some of the stricter advertising and bonus-marketing restrictions in Europe in recent years, limiting how DGOJ-licensed operators can promote welcome bonuses and sponsorships. That's a product-level restriction rather than a change to legality itself, but it's part of why a DGOJ-licensed operator's marketing in Spain can look noticeably more restrained than the same operator's marketing elsewhere.