How to start use Google adwords Api

22 views
Skip to first unread message

Larry

unread,
Aug 10, 2009, 5:51:48 AM8/10/09
to AdWords API Forum
hi ,every one, i'm a flesh man for adwords api develop.
now some question:
use java axis to develop,I download the google adwords api and the
axis lib:
adwords-api-5.1.0-loner.jar
axis.jar
axis-ant.jar

and I dowands the code samples,when I run the samples, there are a
err:

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: The request did not contain a header named 'email'.
faultActor:
faultNode:
faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
<ns1:code>1</ns1:code>
<ns1:message>The request did not contain a header named 'email'.</
ns1:message>

please help!

thanks

AdWords API Advisor

unread,
Aug 10, 2009, 10:18:11 AM8/10/09
to AdWords API Forum
Hi Larry,

The Java Client Library has a number of external dependencies, beyond
just the Axis libraries. The full list can be found in the README
file: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/README#316.
You can download the libraries here:
http://google-api-adwords-java.googlecode.com/files/lib_jars-v4.0.0.tar.gz,
or you can download a version of the Java Client Library that has them
bundled: http://google-api-adwords-java.googlecode.com/files/adwords-api-5.1.0.tar.gz.

If you still experience that error after including the correct
libraries, enable logging ( http://code.google.com/p/google-api-adwords-java/source/browse/trunk/README#195
) and post the SOAP XML request and response so we can look into the
problem further.

Best,
- Eric Koleda, AdWords API Team
Reply all
Reply to author
Forward
0 new messages