Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Google API Client Version 0.4.7 with PHP 5.2.17
Here is a test code which returns

Fatal error: Uncaught exception 'apiException' with message 'Unknown function: 
adsense->reports->generate()' in apiServiceResource.php

Original comment by [email protected] on 3 Dec 2011 at 1:48

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
This is now fixed in HEAD.

Original comment by [email protected] on 9 Dec 2011 at 5:40

  • Changed state: Fixed

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Thank you. Just another quick query. I see that analytics service has been 
added in the head but i think the same error is in that file too. 
apiAnalyticsService.php[line 285]

The management service resource parameters are wrong and thus when I call the 
methods, it just says method does not exist.

Original comment by [email protected] on 9 Dec 2011 at 6:02

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
[deleted comment]

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
the same error occurred for me, how can i solve this?

Fatal error: Uncaught exception 'apiException' with message 'Unknown function: 
adsense->reports->generate()' in 
/hermes/bosweb/web121/b1214/ipg.rcbankorg/stillgalaxy/module/adsense/google-api-
php-client/src/service/apiServiceResource.php:65 Stack trace: #0 
/hermes/bosweb/web121/b1214/ipg.rcbankorg/stillgalaxy/module/adsense/google-api-
php-client/src/contrib/apiAdsenseService.php(155): 
apiServiceResource->__call('generate', Array) #1 
/hermes/bosweb/web121/b1214/ipg.rcbankorg/stillgalaxy/module/adsense/callback.ph
p(30): ReportsServiceResource->generate('2011-12-01', '2011-12-30') #2 {main} 
thrown in 
/hermes/bosweb/web121/b1214/ipg.rcbankorg/stillgalaxy/module/adsense/google-api-
php-client/src/service/apiServiceResource.php on line 65

Original comment by [email protected] on 5 Jan 2012 at 10:55

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
I am getting the same error. There are no methods available for the adsense 
object. If try to do somenthing like this:

        $adSense = new apiAdsenseService($client);
        echo gettype($adsense);

I get that $adsense type is NULL and the size is 0 bytes.

Original comment by [email protected] on 6 Jan 2012 at 12:28

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
I'm having the same issues over here.

Original comment by [email protected] on 9 Jan 2012 at 3:05

from google-api-php-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
I'm having the same problem while using the insert function of Google 
prediction API. Kindly help. Thanks :)

Original comment by [email protected] on 1 Mar 2012 at 11:59

from google-api-php-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.