Facebook’s API added the breakdowns parameter, but the query returns empty results

https://graph.facebook.com/v20.0/act_813894972903840/insights/?level=ad&breakdowns=media_asset&default_summary=true&after=&time_range=%7B%22since%22:%222022-06-11%22,%22until%22:%222022-06-11%22%7D&fields=ad_id,ad_name,spend,impr…


This content originally appeared on DEV Community and was authored by 王鹏飞

Image description
Image description

https://graph.facebook.com/v20.0/act_813894972903840/insights/?level=ad&breakdowns=media_asset&default_summary=true&after=&time_range=%7B%22since%22:%222022-06-11%22,%22until%22:%222022-06-11%22%7D&fields=ad_id,ad_name,spend,impressions,clicks,cpc,ctr,cpm,unique_clicks,conversion_annotations,purchase_roas,actions,buying_type,created_time,adset_id,adset_name,campaign_name,campaign_id&limit=1000&access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Some ad accounts can retrieve data, but for some accounts, the result is empty. I changed the breakdowns parameter, and now I can't even retrieve the ad data. Does anyone know what the problem might be?


This content originally appeared on DEV Community and was authored by 王鹏飞


Print Share Comment Cite Upload Translate Updates
APA

王鹏飞 | Sciencx (2024-10-16T03:16:29+00:00) Facebook’s API added the breakdowns parameter, but the query returns empty results. Retrieved from https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/

MLA
" » Facebook’s API added the breakdowns parameter, but the query returns empty results." 王鹏飞 | Sciencx - Wednesday October 16, 2024, https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/
HARVARD
王鹏飞 | Sciencx Wednesday October 16, 2024 » Facebook’s API added the breakdowns parameter, but the query returns empty results., viewed ,<https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/>
VANCOUVER
王鹏飞 | Sciencx - » Facebook’s API added the breakdowns parameter, but the query returns empty results. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/
CHICAGO
" » Facebook’s API added the breakdowns parameter, but the query returns empty results." 王鹏飞 | Sciencx - Accessed . https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/
IEEE
" » Facebook’s API added the breakdowns parameter, but the query returns empty results." 王鹏飞 | Sciencx [Online]. Available: https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/. [Accessed: ]
rf:citation
» Facebook’s API added the breakdowns parameter, but the query returns empty results | 王鹏飞 | Sciencx | https://www.scien.cx/2024/10/16/facebooks-api-added-the-breakdowns-parameter-but-the-query-returns-empty-results/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.