Advertising codes are a set of guidelines and rules designed to ensure that advertisements are truthful, fair, and do not mislead consumers. These codes are established by regulatory bodies and industry associations to promote ethical advertising practices and protect consumer interests.