Google CustomSearch ignores imgType?

231 views Asked by At

It would seem that using the google CSE api always ignores my imgType attribute, even through their official API test page.

My request is:

{
    "q": "Maimi Yajima",
    "cx": "014585077406021600032:tu4nwhtmr5q",
    "searchType": "image",
    "imgType": "clipart"
}

But even when changing the imgType i'm always getting back the same results.

Where am I wrong?

1

There are 1 answers

0
iTayb On BEST ANSWER

Though not confirmed by Google, this is most possibly a bug, or Google intentionally broke the imgType parameter without updating their documentation.