jensbits / cf-ga-service Goto Github PK
View Code? Open in Web Editor NEWAccessing Google Analytics API with Service Account and Coldfusion
License: The Unlicense
Accessing Google Analytics API with Service Account and Coldfusion
License: The Unlicense
Hi,
I tried to use your cfc. (running on CF8). followed all the steps, but getting the following error:
The data method was not found.
Either there are no methods with the specified method name and argument types, or the data method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
The error occurred in D:\Websites\ga.autoexposure.co.uk\cfanalytics.cfc: line 118
116 :
117 : <!--- --->
118 : <cfset local.request = variables.analytics.data().ga().get(arguments.tableId,
119 : arguments.startDate,
120 : arguments.endDate,
Could you help please? many thanks!
Hello. Thanks very much for providing this code! Initial implementation was straightforward, although we tripped up on not noticing that the tableId was supposed to be a profile ID rather than an account ID. Thus, we were getting a success result, but no data.
We finally saw the problem by using to prove the code was working overall with our account, and then noticing the profile IDs and trying them instead of the account ID.
-Ken
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.