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.

URLDescription
PUT /textanalysis/v1/profanityPut 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

NameDescription
Content-Typeapplication/json
authTokenYOUR_DEVELOPER_ACCESS_TOKEN
cidYOUR_DEVELOPER_ID

PUT body 

{
    "url": "<SAMPLE_URL>"
}
OR{
    "text": "<SAMPLE_TEXT>"
}

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:

NameDescription
Content-Typeapplication/json
authTokenYOUR_DEVELOPER_ACCESS_TOKEN
cidYOUR_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.

NameTypeDescription
statusStringRequest Status (Reference:  Status & Error Codes ).
profanityJSONArray
profanity.dirtyDoubleDirty profanity indicated by range between 0 to 100.
profanity.strongDoubleStrong profanity indicated by range between 0 to 100.
profanity.mildDoubleMild profanity indicated by range between 0 to 100.
profanity.sexualDoubleSexual profanity indicated by range between 0 to 100.
profanity.excretoryDoubleExcretory profanity indicated by range between 0 to 100.

Example: Profanity Object

{
“status”:”success”,
“profanity”:{
“strong”: 0,
“mild”: 0,
“sexual”: 0,
“dirty”: 0,
“excretory”: 0
}
}