/article2

GET

A GET request can always be filtered by the get parameters defined in the introduction section of the API documentation.

Example GET request:

GET https://api.adnuntius.com/api/v1/article2?context=<context>

in order to see HIDDEN objects you will need to send includeHidden=trueas a parameter to the GET query

POST

Example POST object:

POST https://api.adnuntius.com/api/v1/article2/<id>?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