if (display_domain == landing_page_domain) { approve_ad = true; }else{ approve_ad = false; }
Bait and Switch: The Failure of Facebook Advertising — An OSINT Investigation

You can make it simpler:

approve_ad = (display_domain == landing_page_domain);

Like what you read? Give bfontaine a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.