PwerBI data connector for FacevookAds
This module uses the extensibility provided by Data Connectors, so in order to use it you have to:
- Create a
[My Documents]\Microsoft Power BI Desktop\Custom Connectors
directory - Enable the Custom data connectors preview feature in Power BI Desktop (under File | Options and settings | Custom data connectors)
- Copy the the *.mez file from
/build
folder into the above folder - Restart Power BI Desktop
In order to extend the modules
- Install the Power Query SDK from the Visual Studio Marketplace
- Edit the existing
Data Connector Project
or *.pq files - Build the solution
The deployable *.mez files will be located in the Debug folder of each module under
/src
. The Relese configuration of the build will copy these files into the/build
folder.
For additional examples and documentation please refer to the embeded documentation of each of the functions.
A function that returns statistical insights related to the campaigns associated with connected user
FacebookAds.Campaigns()
Return a function which always returns a given value.
FacebookAds.API(URI as URI.Type, params as record)
Example
FacebookAds.API("/me/adaccounts",[fields="name"])[data]{0}