Comments (4)
Update:
When I limit the 'insights' to all only (not the active ones), everything seems to work.
from pbiconnectors.
Could you resolve it?, i get this two errors
first when i try to load into power bi
and second when im trying to compile it
Help please!!
from pbiconnectors.
Try and change the function
// Navigation entry point
[DataSource.Kind="FacebookAds", Publish="FacebookAds.Publish"]
shared FacebookAds.Ads = (optional url as text, optional params as record) =>
let
key = Extension.CurrentCredential()[access_token],
seed = baseUrl & "me/adaccounts?" & Uri.BuildQueryString([access_token=key,fields="id,name",limit="1"]),
pagedResult = FacebookAds.GetPagedData(seed, {}),
table = FacebookAds.AdAccountsToNavigationTable(pagedResult)
in
table;
to
// Navigation entry point
[DataSource.Kind="FacebookAds", Publish="FacebookAds.Publish"]
shared FacebookAds.Ads = (optional url as text, optional params as record) =>
let
key = Extension.CurrentCredential()[access_token],
seed = baseUrl & "me/adaccounts?" & Uri.BuildQueryString([access_token=key,fields="id,name",limit="1"]),
pagedResult = FacebookAds.GetPagedData(seed, {}),
table = FacebookAds.AdAccountsToNavigationTable(pagedResult)
in
seed;
Check what you get from FB by pasting the URL into a browser
I looks like multiple of the same account - I haven't encountered this before
You would need to distinct the list returned if it contains duplicates on the same ad account
from pbiconnectors.
from pbiconnectors.
Related Issues (20)
- API Throttling HOT 4
- Snapchat Connector HOT 1
- Please HELP! connected_instagram_account not connect... HOT 1
- Facebook oAuth Dialog window does not close HOT 2
- Facebooks Ads does not load any table
- Error using LinkedIn connector "The redirect_uri does not match the registered value" HOT 1
- Custom connector teamleader crm
- Linkedin connector: redirect URL error
- Facebook Ads: Refresh in PowerBI Web not working HOT 1
- Facebookads connector HOT 2
- Linkedin Connector HOT 2
- Instragram Follower count
- Facebook API v7 FIX HOT 1
- Multiple Instagram Accounts HOT 2
- Error fetching data Facebook Ads
- Upgrade PBIConnectors HOT 2
- Power BI Rest API gives 403 Error
- Power BI Rest API gives 401 Error
- Application access error from Facebook Ads Connector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pbiconnectors.