If you want to protect you website from linking to p*rn and another types of forbidden content, you have two options.
1) WordPress CMS
If you are using WordPress, simply search for plugin called „SafeAds Adsense Protection“. Install using manual download & uploading to wp-content/plugins directory, or install directly inside WordPress Admin.
2) Developers API
If you run your website on your own content management system, we can help you too. Simply send a API call in this style :
Response will contain only domains / links, that should not be good to be linked. That’s all!