The growing number of children who are obese or overweight in certain countries or geographical areas is a fact, as evidenced by the continuous studies and reports on the subject, endorsed or carried out by the World Health Organisation and independent research. In this context, food and beverage advertising can contribute to this. The main objective of this research is to evaluate compliance with the Food and Drink Advertising Code for Children (PAOS Code) in Spain and its relationship with nutritional habits on television, specifically on channels aimed at children. The methodology is therefore mixed: on the one hand, a qualitative technique based on discourse analysis and, on the other, a quantitative technique based on the content analysis of the advertising broadcast for seven consecutive days on three specialised channels and two generalist channels on Spanish television. The results reveal a systematic noncompliance with this code, which translates into inadequate eating habits among children. The immediate conclusion is that 9 out of 10 parts of food and drink advertising do not comply with any of the rules of the PAOS Code and that self-regulation by the advertising companies is negligible and insufficient.