Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49909

Re: how to get facebook business manager data into power bi desktop

$
0
0

I know I'm a little late to the party on this, but I've come across a pretty straightforward way to get Facebook Ad marketing data in Power BI. Using this resource: https://developers.facebook.com/docs/marketing-api/insights/v2.8 I created a URL that will get the data. Here are the steps I went through:

 

1. Get Data

2. Web

3. URL = https://graph.facebook.com/v2.8/youradid/insights?access_token=youraccesstoken&date_preset=lifetime&time_increment=1&fields=clicks,impressions,reach,spend

     - Change "youradid" to the Facebook Ad ID

     - Change "youraccesstoken" to the Facebook access_token for your account (I watched this video to get that info: https://www.facebook.com/marketingdevelopers/videos/924152364365830/)

4. Use "Anonymous" connection and "Connect"

5. Click on the highlighted "list" next to "data" in the query

6. Click "To Table" then "Ok"

7. Expand columns

8. Format it and setup the reports

 

That did it for me, and it refreshes Online with an Anonymous connection.

 

FYI: Reference the Facebook Insights API link above for any other fields you want to add, but what I'm using gave me everything I need.

 

I just set this up last night, so I haven't done thorough testing, but so far so good.

 

Hope this works for you guys and helps you out.


Viewing all articles
Browse latest Browse all 49909

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>