List Banners by Engine
curl --request GET \
--url https://api.cludo.com/api/banners/site/{engineId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.cludo.com/api/banners/site/{engineId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.cludo.com/api/banners/site/{engineId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.cludo.com/api/banners/site/{engineId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "<string>",
"htmlcode": "<string>",
"websiteid": 123,
"id": 123,
"bannerterms": [
{
"name": "<string>"
}
],
"isDisabled": true,
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"audiences": [
"<unknown>"
],
"engineIds": [
123
],
"frequency": "<string>",
"daysOfWeek": "<string>",
"cssCode": "<string>",
"jsonOption": "<string>",
"editorType": "<string>",
"brokenLinksFoundAt": "<string>"
}
]{
"message": "unauthorized"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Banners
List Banners by Engine
Returns all banners configured for the given search engine.
GET
/
api
/
banners
/
site
/
{engineId}
List Banners by Engine
curl --request GET \
--url https://api.cludo.com/api/banners/site/{engineId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.cludo.com/api/banners/site/{engineId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.cludo.com/api/banners/site/{engineId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.cludo.com/api/banners/site/{engineId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "<string>",
"htmlcode": "<string>",
"websiteid": 123,
"id": 123,
"bannerterms": [
{
"name": "<string>"
}
],
"isDisabled": true,
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"audiences": [
"<unknown>"
],
"engineIds": [
123
],
"frequency": "<string>",
"daysOfWeek": "<string>",
"cssCode": "<string>",
"jsonOption": "<string>",
"editorType": "<string>",
"brokenLinksFoundAt": "<string>"
}
]{
"message": "unauthorized"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Authorizations
Path Parameters
Response
List of banners for the engine.
Was this page helpful?

