/article2
POST
Example POST object:
POST https://api.adnuntius.com/api/v1/targetingquery/article2?context=<context>
You can also add a targeting object in the post payload to narrow down your result to specific sites or publishers. Read more about targeting objects here.
{
"publisherTarget": {
"earningsAccounts": [],
"negated": false
},
"adUnitTarget": {
"adUnits": [],
"negated": false
},
"siteTarget": {
"sites": [],
"negated": false
},
"siteGroupTarget": {},
"siteCountryTarget": {},
"adUnitMatchingLabelTargets": [],
"thirdPartyAudienceTargets": [],
"userSegmentTargets": [],
"categoryTargets": [],
"geospatialTargets": [],
"namedLocationTarget": {
"locations": [],
"negated": false
},
"deviceTargets": [],
"keywordTargets": [],
"keyValueTargets": [],
"viewabilityTarget": {
"viewability": null
},
"retargetingTargets": [],
"dayPartingTargets": [],
"dateTarget": {
"dateRanges": [],
"timeZoneSetting": "USER"
},
"articleTarget": {
"urls": []
},
"domainNameTarget": {
"names": [],
"negated": false
},
"ipAddressTarget": {
"addresses": []
}
}
Parameter
Required
Restrictions
Description
pageSize
yes
Number
The amount of results to get back.
sentence
yes
String
A url encoded string of your search sentence.
thresholdScore
yes
Number
A decimal number of the closeness to your sentence you want to be, it ranges from 0 - 1 where 1 is exactly similar, and 0 is not very similar.
Last updated