Re: Calling the get() for the CampaignService??

2011-09-21 Thread David Torres
The library basically looks for the adwords.properties in the home folder of the user running the script, so if your are hitting your cgi code through apache it will most likely be www-data, you can check in /etc/apache2/envvars You can also modify the add_campaign.pl code so when constructing

Re: Calling the get() for the CampaignService??

2011-09-14 Thread Neil Kirk
Hi David I have finally figured out how this all works! Took me a while but am now gettings to grips with it. I have another question regarding the adwords.properties file... If I place the adwords.properties file in /home/neilkirk and run the add_campaign.pl file from /home/neilkirk/awapi_pe

Re: Calling the get() for the CampaignService??

2011-08-10 Thread Neil Kirk
Hey David Is it possible to use the client API without installing it; ie. copying the files to a directory and using: use FindBin; use lib "$FindBin::Bin/"; use Google::Ads::Adwords; My hosting company isn't able to install the library as it's not on CPAN, so this is the last option available t

Re: Calling the get() for the CampaignService??

2011-07-20 Thread David Torres
Hey Neil, Google::AdWords module is deprecated and Google::Ads::AdWords is what the current supported library offers. We haven't made the library available through CPAN but we are studying the possibility. Please check the library README

Re: Calling the get() for the CampaignService??

2011-07-19 Thread Neil Kirk
Hey David What is the difference between Google::Adwords available on CPAN and the Google::Ads::Adwords module? Using Google::Adwords mentions using your password to make requests (which I think is an older method and I should be using the Authentication Token). But I have this code: my $servi

Re: Calling the get() for the CampaignService??

2011-07-19 Thread Neil Kirk
Hey David What is the difference between Google::Adwords available on CPAN and the Google::Ads::Adwords module? Using Google::Adwords mentions using your password to make requests (which I think is an older method and I should be using the Authentication Token). But I have this code: my $servi

Re: Calling the get() for the CampaignService??

2011-07-13 Thread David Torres
Hi Neil, Check if you have Google::Ads:AdWords module installed, if not download and unpackage the library from here http://code.google.com/p/google-api-adwords-perl/downloads/list and follow the README. Then copy the adwords.properties file shipped within the library to your home folder and

Re: Calling the get() for the CampaignService??

2011-07-12 Thread Neil Kirk
Hey David Probably because I have been taking the instructions quite literally (and not being sure if the client library is installed with my hosting service). I was initially hoping to use the client library (why make things harder for yourself, right :) I now believe that the client library

Re: Calling the get() for the CampaignService??

2011-07-11 Thread David Torres
Hi Neil, Any reason why you aren't using the Perl client lib ? Can you post your sanitized request XML?, I'm not quite familiar with SOAP::Lite but its seems you have an extra 'authenticate' element in your request. Best, -David Torres - AdW

Calling the get() for the CampaignService??

2011-07-08 Thread Neil Kirk
Hi all I am trying to get to grips with the adwords API in PERL for a work project, but can't figure it out at all. I have been trying to follow these pages: http://code.google.com/apis/adwords/docs/sandbox.html http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.html#get I