# ad_language_monitor **Repository Path**: mirrors_google/ad_language_monitor ## Basic Information - **Project Name**: ad_language_monitor - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-13 - **Last Updated**: 2025-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ad Language Monitor **This is not an officially supported Google product. It is a reference implementation.** ## Overview A Cloud Function that uses Retext.js to monitor the inclusive language of ad copy. ## Deploy Run the command: gcloud functions deploy AdLanguageMonitor \ --runtime nodejs14 \ --memory 1GB \ --timeout 540s \ --trigger-http ## Testing Install dependencies: yarn Run the tests: yarn test ## Development Run the development environment: yarn start Send a payload to the development function: curl -X POST http://localhost:8080/ -H "Content-Type:application/json" -d '{ "text": "He’s pretty set on beating your butt for sheriff." }' *Note: You can use either the HTTP query string or the JSON body to generate a response.* ## References - https://github.com/retextjs/retext - https://github.com/retextjs/retext-equality - https://unifiedjs.com