I am attempting to setup the new Google Adwords API v2009 for Perl and I am running into a compilation error.

The latest version of the Google Code Perl libraries for interfacing with the API are not released to CPAN, nor is there any traction to get them there.

I followed the directions in the Google read me file: http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/README

Bellow is an overview of the hoops I had jumped through so far:

I have downloaded and installed the latest library package:
http://code.google.com/p/google-api-adwords-perl/downloads/detail?name=awapi_perl_lib_1.3.2.tar.gz

I have downloaded and installed the latest version of the SOAP WSDL module (now on version 861 the last time I checked BTW - the Google READ me was looking for an older version of the code - 846):
http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz?view=tar&pathrev=861

Ran the WSDL patch as decribed in the README.

Did the build and install.

Made the Google Accounts - got the tokens.

I created an adwords.properties file in my home directory and edited it with my account data (I did not turn on the Sandbox setting).

Made a local copy of http://google-api-adwords-perl.googlecode.com/svn/trunk/example/display_stats.pl

When I tried to run the above test script I got the following error:

SOAP/Deserializer.pm did not return a true value at (eval 93) line 3. ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ Google/AdWords/Deserializer.pm line 24. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/ Google/ AdWords/Client.pm line 26. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ Google/AdWords/Client.pm line 26. Compilation failed in require at display_stats.pl line 24. BEGIN failed--compilation aborted at display_stats.pl line 24

Any ideas?

Thanks!

In reply to Setting up Google AdWords API v200909 - compilation error by JWSlogger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.