Hi AdWords API Forum,

I'm in the process of converting a perl app over to use the new v2009
API from the v13 CPAN modules. I'm having difficulty finding
documentation on how to get up and running with the new perl libraries
and am just trying as a test to see if I can connect and read our
quota. I've configured the adwords.properties file with our login info
and developer tokens etc, but keep getting this error when trying to
access a service:

'faultstring' => 'authToken is missing in SoapHeader. while invoking
public abstract
com.google.ads.api.services.info.v200909.jaxbgen.ApiUsageInfo
com.google.ads.api.services.info.v200909.jaxbgen.InfoServiceInterface.get(com.google.ads.api.services.info.v200909.jaxbgen.InfoSelector)
throws
com.google.ads.api.services.info.v200909.jaxbgen.ApiException_Exception
with params
[com.google.ads.api.services.info.v200909.jaxbgen.infoselec...@53a5f5].'

Here's the code I'm using:

#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use Google::AdWords::Client;
my $client = Google::AdWords::Client->new({'path' => '/var/www/
testing'});
my $info_service = $client->InfoService;
my $response = $info_service->get({selector => {'apiUsageType' =>
'FREE_USAGE_API_UNITS_PER_MONTH'}});
print STDOUT Dumper($response);

I'm not sure where/how to specify this authToken or what it is. Could
someone clarify this, or point me toward some documentation on these
new perl libraries?

Thanks,

~Scott

-- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.

Reply via email to