Zohaib Javed
Zohaib Javed

Reputation: 343

Custom Search Image Child Safe

I am using Google Custom search API in an app where a kid can search images. I want to make it child safe and don't show explicit content. I tried to find anything related to that on web and google custom search documents but was unable to find anything that worked.

There was a Filtering Adult Content with SafeSearch for which I query should contain safe parameter and I set it to high which means "Enables a stricter version of safe search." Found on Google Documentations.

After adding safe option and setting it to high. I tried searching images for "Hot" keyword but I was still getting adult content.

Here's my query : https://www.googleapis.com/customsearch/v1?cx=011234186204374308933:cqoplxwcsqq&key=AIzaSyBh0KqiD-19vCR7MicJFBOiwWgdCYH9OgE&q=Hot&start=1&searchType=image&safe=high&rights=cc_attribute%2ccc_publicdomain%2ccc_sharealike%2ccc_nonderived&fileType=%2bpng%2c%2bjpg

Is there something that I am missing ?

Upvotes: 0

Views: 412

Answers (1)

Jon Rose
Jon Rose

Reputation: 8563

The reason you aren't seen any difference between unfiltered and filtered with the word 'hot' is because none of the non-filtered results are considered 'adult content' according to Google's filtering. If you use a more explicit term you will see larger differences.

Upvotes: 1

Related Questions