Giter Site home page Giter Site logo

Comments (7)

msaniscalchi avatar msaniscalchi commented on May 26, 2024

I've not been able to reproduce on a fresh Debian 7.2 VM or a non-fresh Ubuntu 12.04 machine. I'll see if I can try this out on a fresh Ubuntu 12.04 VM next.

Out of curiosity, have you tried doing anything else with the affected VM? I'd be very interested in knowing if this affects more than just this example.

from googleads-python-lib.

msaniscalchi avatar msaniscalchi commented on May 26, 2024

Also not reproducible on a fresh 12.04 VM. Odd.

One thing that comes to mind is that maybe you somehow installed a different version of suds. What version are you using?

from googleads-python-lib.

parander avatar parander commented on May 26, 2024

I can reproduce this issue as well. Tried 3 different versions of suds-jurko: 0.5, 0.6, 0.7 (dev. version) and i got the same result with all of them.

I'm using Ubuntu 14.04 VM (vagrant ubuntu/trusty64)

from googleads-python-lib.

msaniscalchi avatar msaniscalchi commented on May 26, 2024

I believe I've discovered the cause. The StatsEstimate won't include the averageCpc, averagePosition and clickThroughRate fields if clicksPerDay or impressionsPerDay are 0 as of v201406. It seems this sample wasn't adequately updated to handle the change, and it couldn't be reproduced earlier because the test account always provided a clicksPerDay and impressionsPerDay > 0.

Thanks for reporting! I'll add a fix for this in the next release and close this once available.

from googleads-python-lib.

schmilblick avatar schmilblick commented on May 26, 2024

@msaniscalchi Cool, please note that there is an additional error in the screenshot provided. And that @parander also gets that error.

from googleads-python-lib.

parander avatar parander commented on May 26, 2024

Yes besides the averageCpc missing the logger reports plenty of these, which i assume is unrelated to the averageCpc thing:

suds.resolver [resolver.py:134] [ERROR] [root] (Money) not-found
suds.resolver [resolver.py:116] [ERROR] [find] path: "Money", not-found
suds.resolver [resolver.py:134] [ERROR] [root] (Keyword) not-found
suds.resolver [resolver.py:116] [ERROR] [find] path: "Keyword", not-found
....... repeated many times....
suds.resolver [resolver.py:134] [ERROR] [root] (Keyword) not-found
suds.resolver [resolver.py:116] [ERROR] [find] path: "Keyword", not-found

from googleads-python-lib.

parander avatar parander commented on May 26, 2024

suds.resolver [resolver.py:134] [ERROR] root not-found
suds.resolver [resolver.py:116] [ERROR] [find] path: "Money", not-found
suds.resolver [resolver.py:134] [ERROR] root not-found
suds.resolver [resolver.py:116] [ERROR] [find] path: "Keyword", not-found
... This still occurs (as of 2.3.0).

Add:
import logging
logging.basicConfig()

To the example to reproduce.

from googleads-python-lib.

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.