Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import all columns data #14

Open
ayushjnv2 opened this issue Jun 8, 2020 · 3 comments
Open

Unable to import all columns data #14

ayushjnv2 opened this issue Jun 8, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@ayushjnv2
Copy link

Hi Frederic!

Thank you so much for the this easy to use script. I am facing an odd error with the data export - it is only exporting Impressions and Spends data though I have selected Outbound click, App Installs as well.

Screenshot 2020-06-08 at 5 40 17 PM

Also, any way to pre-define the language of the headers? It is auto inputting a regional language which I would want to change.

@fredericharnois fredericharnois added the question Further information is requested label Jun 18, 2020
@fredericharnois fredericharnois self-assigned this Jun 18, 2020
@fredericharnois
Copy link
Owner

Hi Ayush,

Glad you find the script helpful!

Does anything change if under the FILTERING constant you replace link_clicks by outbound_click?

As far as languages go, you'll want to modify the url constant in the getFacebookReport() by adding a locale parameter.
For example, if you want the output to be in english, it would look like this: https://www.facebook.com/ads/ads_insights/export_report?report_run_id=${reportId}&format=csv&access_token=${TOKEN}&locale=en_US

@ppcmaverick
Copy link

Where to get the report ID?

@fredericharnois
Copy link
Owner

Hi @ppcmaverick!

The report ID is the result of the request-facebook-report.js.
It's cached so that it can be passed on to get-facebook-report.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants