A Labor government has defended its use of controversial AI-generated ads, claiming it was playing by the same rules as its opponents.