adex-platform icon indicating copy to clipboard operation
adex-platform copied to clipboard

Use Google Vision API (or similar API) to auto categorize ads

Open Ivshti opened this issue 6 years ago • 7 comments

This can actually be applied on multiple levels of the stack, including the SDK/validator stack; to allow stuff like "exclude pornography from my site"

Ivshti avatar Nov 27 '18 17:11 Ivshti

This can also be used when uploading your ad units and you can get suggestions for categories/tags for targeting. They also provide with the API percentage accuracy. Here is an example with a dog food banner: dog food example Link to API test page: https://cloud.google.com/vision/#industry-leading-accuracy-for-image-understanding

rori4 avatar Oct 30 '19 15:10 rori4

that would be pretty awesome

Ivshti avatar Oct 30 '19 21:10 Ivshti

@Ivshti We can also use https://cloud.google.com/natural-language/docs/classifying-text which can classify webpages with confidence percentage. This can be used in publisher side

rori4 avatar Nov 08 '19 14:11 rori4

yep, that's a great idea!

Ivshti avatar Nov 09 '19 07:11 Ivshti

I am just leaving the NodeJS API docummentation here for future reference as it was hard to find: https://googleapis.dev/nodejs/vision/latest/index.html

rori4 avatar Nov 11 '19 12:11 rori4

Currently we are quite accurate in recognizing adult content and categorizing ads on advertiser side.. The default API does miss some of the times but I have created a sequence to categorize the ad based on target url, text on picture and overall labels gathered by google vision. Then we go through google-language api to categorize the text that describes the picture, the text on the picture and the website we want to send the visitors, which works quite well.

For publishers we need to know on which website they are going to publish their ad so we can perform the category suggestion. Then we can allow the iframe to show the ad only that url. So based on the provided URL we can categorize the website content.

Here are the categories used: https://cloud.google.com/natural-language/docs/categories

rori4 avatar Nov 21 '19 12:11 rori4

related: https://github.com/AdExNetwork/adex-relayer/issues/66

rori4 avatar Jan 15 '21 15:01 rori4