Behaviors
Value for parameter `adTargetingCategory`
Description
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
Last updated
Last updated
{
"data": [
{
"id": "6002839660079",
"name": "Kosmetik",
"type": "interests",
"path": [
"Belanja dan busana",
"Kecantikan",
"Kosmetik"
],
"lifecycle": 2,
"audience_size_lower_bound": 954268571,
"audience_size_upper_bound": 1122219840
},
{
"id": "6002866718622",
"name": "Ilmu Pengetahuan",
"type": "interests",
"path": [
"Bisnis dan industri",
"Ilmu Pengetahuan"
],
"lifecycle": 2,
"audience_size_lower_bound": 600334489,
"audience_size_upper_bound": 705993360
},
{
"id": "6002867432822",
"name": "Kecantikan",
"type": "interests",
"path": [
"Belanja dan busana",
"Kecantikan"
],
"lifecycle": 2,
"audience_size_lower_bound": 1271912474,
"audience_size_upper_bound": 1495769070
},
{
"id": "6002868021822",
"name": "Perjalanan petualangan",
"type": "interests",
"path": [
"Hobi dan aktivitas",
"Perjalanan",
"Perjalanan petualangan"
],
"lifecycle": 2,
"audience_size_lower_bound": 275203844,
"audience_size_upper_bound": 323639721
},
{
"id": "6002868910910",
"name": "Makanan organik",
"type": "interests",
"path": [
"Makanan dan minuman",
"Makanan",
"Makanan organik"
],
"lifecycle": 2,
"audience_size_lower_bound": 273132221,
"audience_size_upper_bound": 321203492
},
...
]
}curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/facebook/targeting/behaviors?name=ft-4&connection_name=fbads-01&type=adTargetingCategory&class=interests' \
--header 'x-api-key: U2Fsd...'var axios = require('axios');
var config = {
method: 'get',
url: 'https://us-central1-appgregator.cloudfunctions.net/facebook/targeting/behaviors?name=ft-4&connection_name=fbads-01&type=adTargetingCategory&class=interests',
headers: {
'x-api-key': 'U2Fsd...'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/facebook/targeting/behaviors?name=ft-4&connection_name=fbads-01&type=adTargetingCategory&class=interests',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-api-key: U2Fsd...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;