The Core Issues Trust had asked the judge to rule that the charity was unlawfully denied the freedom to express its views on homosexuality.
Their advert had been intended as a response to a bus poster campaign by gay rights group Stonewall, which carried the message: "Some people are gay. Get over it!"
Paul Diamond, appearing for Core Issues, contended that the trust was equally entitled to express its view on the sides of buses, and to have its right to freedom of expression protected under Article 10 of the European Convention on Human Rights.
He said the Trust had nothing but "utter respect for people struggling with same-sex attraction" and denied that it was attempting to offer a so-called "gay cure".
More top news
Parents and psychologists have warned of a technology addiction crisis, with one mother revealing how her son "simply stopped functioning".
Hamid Ali Jafari, whose father Ali Yawar Jafari, 82, was killed said he prayed every day that he would die so he could see his father again.
Sajid Javid has used his first major speech since his appointment as Home Secretary to offer an olive branch to police officers.