curl --location 'https://us-prod.notte.cc/functions/ee1ac3f8-c374-4c26-a28d-2dfa6a8b858c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "ee1ac3f8-c374-4c26-a28d-2dfa6a8b858c",
"variables": {
"page_id": "2214120985581210",
"search_term": "",
"country": "AT",
"active_status": "all",
"after_cursor": ""
}
}'
{
"ads": [
{
"page_id": "<string>",
"end_date": 0,
"snapshot": {
"body": {
"text": "<string>"
},
"cards": [
{}
],
"title": "<string>",
"images": [
{
"resized_image_url": "<string>",
"original_image_url": "<string>"
}
],
"videos": [
{
"video_hd_url": "<string>",
"video_sd_url": "<string>",
"video_preview_image_url": "<string>"
}
],
"caption": "<string>",
"page_id": "<string>",
"cta_text": "<string>",
"cta_type": "<string>",
"link_url": "<string>",
"page_name": "<string>",
"is_reshared": true,
"display_format": "<string>",
"page_categories": [
"<string>"
],
"page_is_deleted": true,
"page_like_count": 0,
"link_description": "<string>",
"page_profile_uri": "<string>",
"page_profile_picture_url": "<string>"
},
"is_active": true,
"page_name": "<string>",
"categories": [
"<string>"
],
"gated_type": "<string>",
"start_date": 0,
"collation_id": "<string>",
"ad_archive_id": "<string>",
"collation_count": 0,
"is_aaa_eligible": true,
"page_is_deleted": true,
"hide_data_status": "<string>",
"publisher_platform": [
"<string>"
],
"regional_regulation_data": {
"finserv": {
"is_deemed_finserv": true,
"is_limited_delivery": true
},
"tw_anti_scam": {
"is_limited_delivery": true
}
},
"contains_sensitive_content": true,
"contains_digital_created_media": true
}
],
"mode": "<string>",
"country": "<string>",
"page_id": "<string>",
"next_cursor": "<string>",
"search_term": "<string>",
"has_next_page": true,
"total_results": 0,
"returned_results": 0
}