problem: adsense api for asp/vbs (MSSOAP ToolKit 3.0)

148 views
Skip to first unread message

DEVIL

unread,
Nov 13, 2007, 2:01:34 AM11/13/07
to AdSense API Forum
I use Microsoft MSSOAP ToolKit 3.0 in asp/vbs
there are some problem with it

I think,the problem happened that the RequestHTTPHeader possibility is
wrong

set soapclient = CreateObject("MSSOAP.SoapClient30")
soapclient.ClientProperty("ServerHTTPRequest") = True
soapclient.mssoapinit "https://sandbox.google.com/api/adsense/v2/
AccountService?wsdl", "","", ""
soapclient.ConnectorProperty("RequestHTTPHeader")="<impl:developer_email>adsensed...@google.com</
impl:developer_email><impl:developer_password>Q6R3l6a483</
impl:developer_password><impl:client_id>NOT RELEVANT</impl:client_id>"
soapclient.createAdSenseAccount
"users_add...@example.com","Individual","http://
test.aaa.com","en","en_US",true,"ContentAds",true


ERROR:
Connector:Unspecified HTTP error. HRESULT=0x800A1518 - Client:An
unanticipated error occurred during the processing of this request.
HRESULT=0x800A1518 - Client:Sending the Soap message failed or no
recognizable response was received HRESULT=0x800A1518 -
Client:Unspecified client error. HRESULT=0x800A1518


Please help me!

adsenseapi-...@google.com

unread,
Nov 13, 2007, 1:28:26 PM11/13/07
to AdSense API Forum
Is there any way you can post the actual SOAP request that this is
generating? I'm not that familiar with VBS. However, it looks like
you're assigning the SOAP header as the HTTP header. Also, is there
any way you can clean up the formatting so its a bit more readable. I
take it VB doesn't ends its lines with a semicolon?

Thanks,
Justin
Google AdSense Team

On Nov 12, 11:01 pm, DEVIL <rockef....@t2click.com> wrote:
> I use Microsoft MSSOAP ToolKit 3.0 in asp/vbs
> there are some problem with it
>
> I think,the problem happened that the RequestHTTPHeader possibility is
> wrong
>
> set soapclient = CreateObject("MSSOAP.SoapClient30")
> soapclient.ClientProperty("ServerHTTPRequest") = True
> soapclient.mssoapinit "https://sandbox.google.com/api/adsense/v2/
> AccountService?wsdl", "","", ""

> soapclient.ConnectorProperty("RequestHTTPHeader")="<impl:developer_email>adsensedevelop...@google.com</


> impl:developer_email><impl:developer_password>Q6R3l6a483</
> impl:developer_password><impl:client_id>NOT RELEVANT</impl:client_id>"
> soapclient.createAdSenseAccount

> "users_address_h...@example.com","Individual","http://

Reply all
Reply to author
Forward
0 new messages