Parameters
AdvertiserId
required
AdvertiserId
requiredUnique identifier for the advertiser account.
CampaignId
required
CampaignId
requiredUnique identifier for the program (or campaign).
Url
required
Url
requiredThe URL used to identify the content page.
Type
required
Type
requiredThe type of compliance content being created or updated. Only PAGE
is the supported value currently.
Reason
required
Reason
requiredA reason for the creation or update of content. Used for auditing, review or reporting purposes.
Source
required
Source
requiredThe source of where the request has come from. Only CONTENT_API
is supported currently.
PartnerId
required if program has "Partner ID Required"
PartnerId
required if program has "Partner ID Required"Unique identifier for the partner account that the content is linked to.
ContentLabels
optional
ContentLabels
optionalContent labels can be used to tag the content record for categorization purposes of that content. These labels are used to assist with filtering of the content or identifying related pieces of content to manage content as well as reviews and violations. Multiple labels can be added with a comma (,) used to separate labels.
Products
optional
Products
optionalProduct SKUs can be used to link specific content records with the product record that exists within the impact.com Product Data Platform. These products are used to assist with filtering of the content or identifying related pieces of content to manage content as well as reviews and violations. Multiple Products SKUs can be added with a comma (,) used to separate labels.
Keywords
optional
Keywords
optionalAn array of keyword items, each with a name, status, and function.
View object parameters
Name
requiredif submitting keywords
Name
requiredif submitting keywordsThe actual keyword.
Status
required if submitting keywords
Status
required if submitting keywordsStatus of the keyword: either APPROVED
or NOT_APPROVED
.
Function
required if submitting keywords
Function
required if submitting keywordsFunction of the keyword. Valid values are MONITORED`
, NOT_MONITORED
, CHANGE_DETECTION
, or DISCOVERY
.
Language
optional
Language
optionalThis is the language identified for the specific content.
PaidLink
optional
PaidLink
optionalThis sets whether or not the content is a paid link or not.
Monitored
optional
Monitored
optionalThis sets whether or not the content should be monitored within the impact.com Compliance Monitoring service
Cadence
optional
Cadence
optionalThis sets whether or not the content should be managed with a cadence rule within the impact.com Compliance Monitoring service.
Returns
Returns the status of the request and the URI of submission. Returns an error if create parameters are invalid or if a required parameter is missing.
Example request
curl 'https://api.impact.com/Agencies/<AccountSID>/Compliance/Content' \
-X POST \
-u '<AccountSid>:<AuthToken>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'Type=CONTENT' \
-d 'AdvertiserId=123456' \
-d 'CampaignId=9876' \
-d 'Url=https://www.example.com/partnerblog' \
-d 'Source=CONTENT_API' \
-d 'Reason=New Content' \
-d 'PartnerId=98765' \
-d 'Products=PRD12334,PRD45353' \
-d 'Language=English' \
-d 'PaidLink=false' \
-d 'Monitored=true' \
-d 'Cadence=false'
Example response
{
"Status": "QUEUED",
"QueuedUri": "/Agencies/<AccountSID>/Compliance/Content/ComplianceAPISubmissions/content_api_1603459292102"
}