<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using the Google AdWords API with ext/soap</title>
	<atom:link href="http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/</link>
	<description>Thoughts on PHP, eBay, and too many technical topics for my family's liking.</description>
	<lastBuildDate>Thu, 18 Feb 2010 23:21:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Georgi Mateev</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-135480</link>
		<dc:creator>Georgi Mateev</dc:creator>
		<pubDate>Fri, 31 Aug 2007 09:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-135480</guid>
		<description>DONT! use the Google Apility (the OpenSource code provided by Google), because it is buggy AND uses nusoap. We are just about to rewrite it, using the same techniques this articles just offered (namely, using the WSDL :P) </description>
		<content:encoded><![CDATA[<p>DONT! use the Google Apility (the OpenSource code provided by Google), because it is buggy AND uses nusoap. We are just about to rewrite it, using the same techniques this articles just offered (namely, using the WSDL :P)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SÃ©bastien Cramatte</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-23129</link>
		<dc:creator>SÃ©bastien Cramatte</dc:creator>
		<pubDate>Sat, 18 Nov 2006 14:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-23129</guid>
		<description>Hi,

I currently trying to make a soap call  to  paypal api ...
I&#039;ve found this example for Express Checkout. I need to make a DirectPayment
but I supose that the logical is the same ...

http://www.pdncommunity.com/attachments/pdn/api/594/1/DoExpressCheckoutRequestexample.xml

So I&#039;ve started to write this code ... but my problem is I don&#039;t how can I declare children body nodes as this ...
DoExpressCheckoutPaymentRequest 
+ DoExpressCheckoutPaymentRequestDetails
    + PaymentDetails
        +OrderTotal 

Should I use SoapVar too ?

$ns = &quot;urn:ebay:api:PayPalAPI&quot;;
$wsdluri = &#039;https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl&#039;;
		
$paypalAuth = array(
  &#039;Username&#039; =&gt; new SOAPVar(&#039;concentre_api1.zensoluciones.com&#039;, XSD_STRING, null, null, null, $ns),
  &#039;Password&#039; =&gt; new SOAPVar(&#039;&#039;, XSD_STRING, null, null, null, $ns)
);
		
$headerBody = new SOAPVar($paypalAuth, SOAP_ENC_OBJECT);
$header = new SOAPHeader($ns, &#039;Credentials&#039;, $headerBody);
		
$client = new SOAPClient($_wsdluri);
$client-&gt;__soapCall(&#039;DoDirectPaymentReq&#039;, array(), array(), array($header));

regards
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I currently trying to make a soap call  to  paypal api &#8230;<br />
I&#8217;ve found this example for Express Checkout. I need to make a DirectPayment<br />
but I supose that the logical is the same &#8230;</p>
<p><a href="http://www.pdncommunity.com/attachments/pdn/api/594/1/DoExpressCheckoutRequestexample.xml" rel="nofollow">http://www.pdncommunity.com/attachments/pdn/api/594/1/DoExpressCheckoutRequestexample.xml</a></p>
<p>So I&#8217;ve started to write this code &#8230; but my problem is I don&#8217;t how can I declare children body nodes as this &#8230;<br />
DoExpressCheckoutPaymentRequest<br />
+ DoExpressCheckoutPaymentRequestDetails<br />
    + PaymentDetails<br />
        +OrderTotal </p>
<p>Should I use SoapVar too ?</p>
<p>$ns = &#8220;urn:ebay:api:PayPalAPI&#8221;;<br />
$wsdluri = &#8216;https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl&#8217;;</p>
<p>$paypalAuth = array(<br />
  &#8216;Username&#8217; =&gt; new SOAPVar(&#8216;concentre_api1.zensoluciones.com&#8217;, XSD_STRING, null, null, null, $ns),<br />
  &#8216;Password&#8217; =&gt; new SOAPVar(&#8221;, XSD_STRING, null, null, null, $ns)<br />
);</p>
<p>$headerBody = new SOAPVar($paypalAuth, SOAP_ENC_OBJECT);<br />
$header = new SOAPHeader($ns, &#8216;Credentials&#8217;, $headerBody);</p>
<p>$client = new SOAPClient($_wsdluri);<br />
$client-&gt;__soapCall(&#8216;DoDirectPaymentReq&#8217;, array(), array(), array($header));</p>
<p>regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Trachtenberg</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-1522</link>
		<dc:creator>Adam Trachtenberg</dc:creator>
		<pubDate>Thu, 19 Jan 2006 15:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-1522</guid>
		<description>Hum... Maybe WordPress ate some of your comment? Regardless, try the PHP SOAP mailing list.

http://us2.php.net/mailing-lists.php

I&#039;m on that list, and so are a lot of other people, maybe including someone who has done this before. (And the author of the SOAP extension.)</description>
		<content:encoded><![CDATA[<p>Hum&#8230; Maybe WordPress ate some of your comment? Regardless, try the PHP SOAP mailing list.</p>
<p><a href="http://us2.php.net/mailing-lists.php" rel="nofollow">http://us2.php.net/mailing-lists.php</a></p>
<p>I&#8217;m on that list, and so are a lot of other people, maybe including someone who has done this before. (And the author of the SOAP extension.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-1517</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 19 Jan 2006 07:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-1517</guid>
		<description>Perhaps you know a bit more about ext/soap that you can help me. As you noticed that an array in PHP gets converted to a SOAP complex type like this:

array(&#039;job&#039; =&gt; array(&#039;startDate&#039; =&gt; &#039;yesterday&#039;, &#039;endDate&#039; =&gt; &#039;today&#039;));

yesterdaytoday

What if I want 

....

instead? what would I have to do in the array?</description>
		<content:encoded><![CDATA[<p>Perhaps you know a bit more about ext/soap that you can help me. As you noticed that an array in PHP gets converted to a SOAP complex type like this:</p>
<p>array(&#8216;job&#8217; =&gt; array(&#8217;startDate&#8217; =&gt; &#8216;yesterday&#8217;, &#8216;endDate&#8217; =&gt; &#8216;today&#8217;));</p>
<p>yesterdaytoday</p>
<p>What if I want </p>
<p>&#8230;.</p>
<p>instead? what would I have to do in the array?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Trachtenberg</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-1514</link>
		<dc:creator>Adam Trachtenberg</dc:creator>
		<pubDate>Thu, 19 Jan 2006 00:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-1514</guid>
		<description>Sorry Ken, I haven&#039;t used this API in a while, so I don&#039;t have an example I can share.</description>
		<content:encoded><![CDATA[<p>Sorry Ken, I haven&#8217;t used this API in a while, so I don&#8217;t have an example I can share.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-1513</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 19 Jan 2006 00:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-1513</guid>
		<description>Can you also post an example of a report service SOAP request?</description>
		<content:encoded><![CDATA[<p>Can you also post an example of a report service SOAP request?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfonso</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-261</link>
		<dc:creator>Alfonso</dc:creator>
		<pubDate>Wed, 15 Jun 2005 09:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-261</guid>
		<description>I&#039;m sorry for paste the code uncorrectly  ,
i pasted the code example here-&gt; http://pastebin.com/299766</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry for paste the code uncorrectly  ,<br />
i pasted the code example here-&gt; <a href="http://pastebin.com/299766" rel="nofollow">http://pastebin.com/299766</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfonso</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-260</link>
		<dc:creator>Alfonso</dc:creator>
		<pubDate>Wed, 15 Jun 2005 09:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-260</guid>
		<description>Hi again, 
I&#039;m traying to do a newKeyword with the api , in the google adwords api forum i didn&#039;t found nothing related with this problem the is in PHP5 based on your example.
&quot;123456789&quot;,&#039;text&#039; =&gt; &#039;spanish&#039;, &#039;maxCpc&#039;=&gt;&#039;50000&#039; ,&#039;type&#039;=&gt; &#039;Broad&#039;);
			 
	try {
  // Make the request to create the keyword
	  $response = $client-&gt;__soapCall(&#039;newKeyword&#039;, $keyword, null, $headers);
	 } catch (Exception $e) {
	  // Barf
 		 print $e.&#039;:ExcepciÃ³n&#039;;
	}
	
?&gt;


I know this is not a thech support , but may be this example can be util for more people if we get working</description>
		<content:encoded><![CDATA[<p>Hi again,<br />
I&#8217;m traying to do a newKeyword with the api , in the google adwords api forum i didn&#8217;t found nothing related with this problem the is in PHP5 based on your example.<br />
&#8220;123456789&#8243;,&#8217;text&#8217; =&gt; &#8217;spanish&#8217;, &#8216;maxCpc&#8217;=&gt;&#8217;50000&#8242; ,&#8217;type&#8217;=&gt; &#8216;Broad&#8217;);</p>
<p>	try {<br />
  // Make the request to create the keyword<br />
	  $response = $client-&gt;__soapCall(&#8216;newKeyword&#8217;, $keyword, null, $headers);<br />
	 } catch (Exception $e) {<br />
	  // Barf<br />
 		 print $e.&#8217;:ExcepciÃ³n&#8217;;<br />
	}</p>
<p>?&gt;</p>
<p>I know this is not a thech support , but may be this example can be util for more people if we get working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Trachtenberg</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-52</link>
		<dc:creator>Adam Trachtenberg</dc:creator>
		<pubDate>Wed, 01 Jun 2005 19:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-52</guid>
		<description>Google provides PHP 4 NuSOAP code examples. I would suggest you check out those, as I&#039;m not really doing much in PHP 4 anymore.</description>
		<content:encoded><![CDATA[<p>Google provides PHP 4 NuSOAP code examples. I would suggest you check out those, as I&#8217;m not really doing much in PHP 4 anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfonso</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/comment-page-1/#comment-51</link>
		<dc:creator>Alfonso</dc:creator>
		<pubDate>Wed, 01 Jun 2005 19:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=8#comment-51</guid>
		<description>Excellent article, can u writte de code for php 4 as well  ? 
thaks a lot . </description>
		<content:encoded><![CDATA[<p>Excellent article, can u writte de code for php 4 as well  ?<br />
thaks a lot .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
