The Simpsons Movie won the award for Best Comedy Film at the British Comedy Awards, Best Animation at the inaugural ITV National Movie Awards, and Best Movie at the UK Nickelodeon Kids Choice Awards, beating Harry Potter and the Order of the Phoenix, Pirates of the Caribbean: At World's End, and Shrek the Third. The film's trailer won a Golden Trailer Award in the category Best Animated/Family Film Trailer at the 8th Annual Golden Trailer Awards. Forbes named the film the third best of the year, based on its box office takings and Metacritic critical response score. The film's website received a Webby Award at the 12th Annual Webby Awards in the category "Best Movie and Film Website".  At the 35th Annie Awards the film was nominated in four categories: Best Animated Feature, Directing in an Animated Feature Production, Writing in an Animated Feature Production, and Voice Acting in an Animated Feature Production for Julie Kavner. All four awards were won by Ratatouille. It was nominated for Best Animated Feature Film at the 65th Golden Globe Awards, the BAFTA for Best Animated Film, and the Producers Guild Award for Animated Theatrical Motion Picture. It also received nominations for the Satellite Award for Best Animated or Mixed Media Feature, the Chicago Film Critics Association Award for Best Animated Feature, and the Broadcast Film Critics Association Award for Best Animated Feature.  Before its release, the film received a nomination at the 2007 MTV Movie Awards for "Best Summer Movie You Haven't Seen Yet", with the award ultimately won by Transformers, and lost the Teen Choice Award for "Choice Summer Movie - Comedy/Musical", which was won by Hairspray. It was also nominated for Favorite Movie Comedy at the People's Choice Awards, losing to Knocked Up.

Answer this question "Which categories was it nominated for?" by extracting the answer from the text above.
Best Animated Feature, Directing in an Animated Feature Production, Writing in an Animated Feature Production, and Voice Acting