Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==== Query
- curl -i -X GET \
- "https://graph.facebook.com/v3.2/act_1998537763541015/ads?fields=insights%7Bspend%2Cctr%2Cresults%2Ccost_per_result%2Creach%2Cimpressions%2Cclicks%2Ccost_per_unique_click%2Crelevance_score%2Cad_name%7D%2Cadcreatives%7Bthumbnail_url%7D%2Cstatus.in(%5B'ACTIVE'%5D)&access_token=<access token sanitized>"
- ==== Access Token Info
- {
- "perms": [
- "user_friends",
- "publish_actions",
- "read_insights",
- "whitelisted_offline_access",
- "manage_pages",
- "pages_show_list",
- "publish_pages",
- "ads_management",
- "ads_read",
- "business_management",
- "public_profile",
- "basic_info"
- ],
- "user_id": 100024080914884,
- "app_id": 119211728144504
- }
- ==== Parameters
- - Query Parameters
- {
- "fields": "insights{spend,ctr,results,cost_per_result,reach,impressions,clicks,cost_per_unique_click,relevance_score,ad_name},adcreatives{thumbnail_url},status.in(['ACTIVE'])"
- }
- - POST Parameters
- {}
- ==== Response
- {
- "data": [
- {
- "insights": {
- "data": [
- {
- "spend": "11314.69",
- "ctr": "0.863314",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237",
- "values": [
- {
- "value": "75",
- "attribution_windows": [
- "default"
- ]
- }
- ]
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237",
- "values": [
- {
- "value": "150.86253333333",
- "attribution_windows": [
- "default"
- ]
- }
- ]
- }
- ],
- "reach": "243967",
- "impressions": "258191",
- "clicks": "2229",
- "cost_per_unique_click": "5.183092",
- "relevance_score": {
- "score": "9",
- "status": "OK"
- },
- "ad_name": "Работающий 2",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQAB7hnQifROxdyX&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F48747566_1420972164705123_3000032306908889088_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D9ac258b6d650035b23b0c5f73cb66f0a%26oe%3D5CD9E38D&cfs=1&_nc_hash=AQB6M7-6BsXBwS3T",
- "id": "23843099936780239"
- }
- ]
- },
- "status": "ACTIVE",
- "id": "23843099936570239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "50257.59",
- "ctr": "1.134208",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237",
- "values": [
- {
- "value": "391",
- "attribution_windows": [
- "default"
- ]
- }
- ]
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237",
- "values": [
- {
- "value": "128.53603580563",
- "attribution_windows": [
- "default"
- ]
- }
- ]
- }
- ],
- "reach": "587902",
- "impressions": "912002",
- "clicks": "10344",
- "cost_per_unique_click": "5.29808",
- "relevance_score": {
- "score": "10",
- "status": "OK"
- },
- "ad_name": "Работающий",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQAplNFSvugVv6YK&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F44781472_1380479698754370_7124351245044678656_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D78566d99029bfcf9fc943850986c8dd8%26oe%3D5CC1E8DD&cfs=1&_nc_hash=AQAC9zeTSnk70Bor",
- "id": "23843018595340239"
- }
- ]
- },
- "status": "ACTIVE",
- "id": "23843018595140239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "1",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQA4ktd9eTzILZfV&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F46118714_350705582178294_3189927504148168704_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D54294735ff634b875a548fe48cf600be%26oe%3D5CC8CC5D&cfs=1&_nc_hash=AQAw-Y1B4LgyNKUg",
- "id": "23843058448790239"
- }
- ]
- },
- "status": "ACTIVE",
- "id": "23843058448540239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "729.05",
- "ctr": "1.515848",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237",
- "values": [
- {
- "value": "2",
- "attribution_windows": [
- "default"
- ]
- }
- ]
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237",
- "values": [
- {
- "value": "364.525",
- "attribution_windows": [
- "default"
- ]
- }
- ]
- }
- ],
- "reach": "4306",
- "impressions": "4354",
- "clicks": "66",
- "cost_per_unique_click": "11.046212",
- "relevance_score": {
- "score": "9",
- "status": "OK"
- },
- "ad_name": "2",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQBEqP8mVCFfqKQd&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F47783188_350707062178146_4730104683459248128_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D52f298b96bead9c7c08ed11dbe4660f6%26oe%3D5CCF8851&cfs=1&_nc_hash=AQArL5-jk3sHpuTW",
- "id": "23843058451760239"
- }
- ]
- },
- "status": "ACTIVE",
- "id": "23843058449430239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "3",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQAIFUJDxYzgWmro&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F47779681_350707045511481_4057701452754190336_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D2a5bd498430a46306d799c9b1d084850%26oe%3D5CC02ED4&cfs=1&_nc_hash=AQAZ-p4mTEGXOFBu",
- "id": "23843058451600239"
- }
- ]
- },
- "status": "ACTIVE",
- "id": "23843058449410239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "4",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQB3KNBZtDncjksf&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F47475822_350706852178167_7726065636249436160_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3Dd5db8374bd5e8b76b1a6c21a8fdf95a1%26oe%3D5CCF4E3D&cfs=1&_nc_hash=AQD4fPRkDUAvmEjB",
- "id": "23843058450640239"
- }
- ]
- },
- "status": "ACTIVE",
- "id": "23843058449460239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "Первый пост",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQBL8FAPyER5dpFQ&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F43595899_1361779290624411_4657400589469089792_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D1044ab663ec3685cac4d4aa69a540a9f%26oe%3D5CC6D161&cfs=1&_nc_hash=AQCI7Hn2LcZeKchm",
- "id": "23842979961500239"
- }
- ]
- },
- "status": "PAUSED",
- "id": "23842979961210239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "Первый пост",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQB4CnPpnY8P3FEB&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F41555127_1370896493046024_2997227289537675264_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D13b60d7e030fe31358e8b6bcf49cd380%26oe%3D5CC027BE&cfs=1&_nc_hash=AQAfvezqYG9RSSgy",
- "id": "23842998721170239"
- }
- ]
- },
- "status": "PAUSED",
- "id": "23842998720870239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "Первый пост",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQDrkDO-NCarH6bx&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F43162971_1371442199658120_7266908721496719360_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D0b2b15c9ac166251a4689fbf5f3c07c4%26oe%3D5CD9A1BA&cfs=1&_nc_hash=AQDqYOBmFN4uj758",
- "id": "23843000274520239"
- }
- ]
- },
- "status": "PAUSED",
- "id": "23843000273190239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "Первый пост",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQADCyoe1WxLjCVy&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F43785111_1370895829712757_2636302126589935616_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D7a4610b88f1023ed8a88bc07f3bf7007%26oe%3D5CC5E193&cfs=1&_nc_hash=AQCzpllAulYOaZiM",
- "id": "23842998720060239"
- }
- ]
- },
- "status": "PAUSED",
- "id": "23842998717960239"
- },
- {
- "insights": {
- "data": [
- {
- "spend": "0",
- "results": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "cost_per_result": [
- {
- "indicator": "actions:offsite_conversion.custom.268574000666237"
- }
- ],
- "reach": "0",
- "impressions": "0",
- "clicks": "0",
- "relevance_score": {
- "status": "NOT_ENOUGH_IMPRESSIONS"
- },
- "ad_name": "Тимур",
- "date_start": "2018-12-12",
- "date_stop": "2019-01-10"
- }
- ],
- "paging": {
- "cursors": {
- "before": "MAZDZD",
- "after": "MAZDZD"
- }
- }
- },
- "adcreatives": {
- "data": [
- {
- "thumbnail_url": "https://external.xx.fbcdn.net/safe_image.php?d=AQBhAnGdaSHpWqLp&w=64&h=64&url=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft15.5256-10%2F43510913_1373330942802579_1062514216847540224_n.jpg%3F_nc_ht%3Dscontent.xx%26oh%3D9ff7e1e7925d599c7213edefe4bd9b76%26oe%3D5CCF1C51&cfs=1&_nc_hash=AQApXXgkcIhSRA-r",
- "id": "23843004288250239"
- }
- ]
- },
- "status": "PAUSED",
- "id": "23843004287560239"
- }
- ],
- "paging": "--sanitized--",
- "__fb_trace_id__": "E2v6PSEngbF"
- }
- ==== Debug Information from Graph API Explorer
- - https://developers.facebook.com/tools/explorer/?method=GET&path=act_1998537763541015%2Fads%3Ffields%3Dinsights%7Bspend%2Cctr%2Cresults%2Ccost_per_result%2Creach%2Cimpressions%2Cclicks%2Ccost_per_unique_click%2Crelevance_score%2Cad_name%7D%2Cadcreatives%7Bthumbnail_url%7D%2Cstatus.in(['ACTIVE'])&version=v3.2
Advertisement
Add Comment
Please, Sign In to add comment