Brand Safety
Overview
AmplifyReach simplifies analyzing web content using natural language text analytic algorithms. This results in deep understanding of content and identifying profanity response.
Brand Safety Using Catalyst UI
- Goto AmplifyReach Dashboard -> Bot Studio -> Left Navigation Sidebar
- Select Core Services > Text Analysis.
- Select URL or Text tab to enter the link or text for Text Analysis
- Press Analyze button.
- Text analysis results will be shown.
- The Brand Safety option in Left Panel shows Profanity information of Brand extracted by AmplifyReach Catalyst.
Brand Safety Using Catalyst API
Tip: Register your account on AmplifyReach and contact us at kick-start@amplifyreach.com to get Developer ID and Access Token.
URL & Objects
The following URLs are available.
URL | Description |
---|---|
PUT /textanalysis/v1/profanity | Put URL, Articles or Text for brand safety analysis. |
GET /textanalysis/v1/profanity/{UID} | Get brand safety of URL, Articles or Text using UID. |
PUT /textanalysis/v1/profanity
PUT https://apps.amplifyreach.com/textanalysis/v1/profanity
Name | Description |
---|---|
Content-Type | application/json |
authToken | YOUR_DEVELOPER_ACCESS_TOKEN |
cid | YOUR_DEVELOPER_ID |
PUT body
{ | OR | { |
cURL-PUT Request for URL Request
curl \
-H "Content-Type: application/json" \
-H "cid:<YOUR_DEVELOPER_ID>" \
-H "authtoken:<YOUR_DEVELOPER_ACCESS_TOKEN>" \
-X PUT \
-d '{"url":"<SAMPLE_URL_FOR_ANALYSIS>"}' \
https://apps.amplifyreach.com/textanalysis/v1/profanity
cURL-PUT Request for Text Request
curl \
-H "Content-Type: application/json" \
-H "cid:<YOUR_DEVELOPER_ID>" \
-H "authtoken:<YOUR_DEVELOPER_ACCESS_TOKEN>" \
-X PUT \
-d '{"text":"<SAMPLE_TEXT_FOR_ANALYSIS>"}' \
https://apps.amplifyreach.com/textanalysis/v1/profanity
Put Response
{
"status":"success", "uid":"4f057e01d88ff7aa82a8610dc651e8fe", "license":"By accessing AmplifyReach or using information generated
by AmplifyReachAPI, you are agreeing to be bound by the AmplifyReach Terms of Use."
}
GET /textanalysis/v1/profanity/{UID}
Response Time:
Free Trial Account
– For URL as a payload, you can retrieve response after 10 seconds
– For Text as a payload, you can retrieve response after 1 seconds
Paid account:
– Higher QPS as per applicable plan
GET https://apps.amplifyreach.com/textanalysis/v1/profanity/{UID}
Headers:
Name | Description |
---|---|
Content-Type | application/json |
authToken | YOUR_DEVELOPER_ACCESS_TOKEN |
cid | YOUR_DEVELOPER_ID |
cURL-GET Request for URL Request
curl \
-H “Content-Type: application/json” \
-H “cid:” \
-H “authtoken:” \
-X GET \
https://apps.amplifyreach.com/textanalysis/v1/profanity/{UID}
RESPONSE Object
The profanity response JSON structure.
Name | Type | Description |
---|---|---|
status | String | Request Status (Reference: Status & Error Codes ). |
profanity | JSONArray | |
profanity.dirty | Double | Dirty profanity indicated by range between 0 to 100. |
profanity.strong | Double | Strong profanity indicated by range between 0 to 100. |
profanity.mild | Double | Mild profanity indicated by range between 0 to 100. |
profanity.sexual | Double | Sexual profanity indicated by range between 0 to 100. |
profanity.excretory | Double | Excretory profanity indicated by range between 0 to 100. |
Example: Profanity Object
{
“status”:”success”,
“profanity”:{
“strong”: 0,
“mild”: 0,
“sexual”: 0,
“dirty”: 0,
“excretory”: 0
}
}