How to get the Facebook insights data for ad Creative
Digital Marketing
Facebook Marketing API
2 years ago
5
Star Rating
1
Rating
_x000D_
_x000D_
I'am trying to get the reports data for the Facebook campaign, campaign has 3 adset, 3 ad and each ad has 3 adCreatives. Please can anyone help me in getting the adCreative specific insights data. I tried with the graph API explore i did't get the data for adCreatives.
call made with params are : https://graph.facebook.com/2.9/campaingId-XXXX/insights?fields=impressions,clicks,ctr,ad_name,adset_name,cpc,cpm,cpp,campaign_name,ad_id,adset_id,account_id,account_name&level=ad&metrics=ctr&limit=10
Ex : response from Graph API explorer
{
"data": [
{
"impressions": "30",
"clicks": "1",
"ctr": "3.333333",
"ad_name": "I Ad",
"adset_name": "I Ad Set",
"cpc": "0.03",
"cpm": "1",
"cpp": "4.285714",
"campaign_name": "Campaign.act_xxxxxxx",
"ad_id": "xxxxx",
"adset_id": "xxxxx",
"account_id": "xxxxx",
"account_name": "Test Account From test",
"date_start": "2017-04-17",
"date_stop": "2017-05-16"
},
{
"impressions": "28",
"clicks": "0",
"ctr": "0",
"ad_name": "H Ad",
"adset_name": "H Ad Set",
"cpc": "0",
"cpm": "1.071429",
"cpp": "3.75",
"campaign_name": "Campaign.act_xxxxxxx",
"ad_id": "xxxxxx",
"adset_id": "xxxxx",
"account_id": "xxxxxx",
"account_name": "Test Account From test",
"date_start": "2017-04-17",
"date_stop": "2017-05-16"
},
{
"impressions": "29",
"clicks": "2",
"ctr": "6.896552",
"ad_name": "G Ad",
"adset_name": "G Ad Set",
"cpc": "0.025",
"cpm": "1.724138",
"cpp": "8.333333",
"campaign_name": "Campaign.act_xxxxxxx",
"ad_id": "xxxxxx",
"adset_id": "xxxxxxxxx",
"account_id": "xxxxxxxx",
"account_name": "Test Account From test",
"date_start": "2017-04-17",
"date_stop": "2017-05-16"
}
],
"paging": {
"cursors": {
"before": "MAZDZD",
"after": "MgZDZD"
}
}
}
Posted on 16 Aug 2022, this text provides information on Facebook Marketing API related to Digital Marketing. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.