I see that the adwords API has moved from v11 to v200902. So: I've reworked my old, working Ruby code that used adwords4r (v11 or so) to use the most recent version of adwords4r (15.1.0).
I'm doing everything in the sandbox. My code first creates a campaign, then an adgroup, then an ad and keywords. I get intermittent success with each of these steps. Sometimes I can create a campaign. Other times, I try, and get a SOAP error "Fault occurred while processing.". In these cases, if I re-run the code, I get an error telling me that a duplicate name is being used - apparently the earlier call worked after all? I get the same exact behavior at each of the various mutate(ADD) operations: sometimes success, sometimes failures that later appear to have worked. Does anyone else see anything like this? Here's an example of a failing SOAP call: <?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Header> <n1:RequestHeader xmlns:n1="https://adwords.google.com/api/ adwords/cm/v200902" env:mustUnderstand="0"> <n1:clientEmail>client_1+admin_goo...@smartflix.com</ n1:clientEmail> <n1:authToken>DQAAAHQAAABz7YINNOG4i1W1r4aKMioCICNUB8kpD1J7_RVeugsQldeDKP12G89PzUMBMgbKoMVi9JxiBMtq6sIL0X1zdzjj545E8WeRJLr7emJIDVs- crMiS1Dczec2Z6WwYmUFCjM-v6bXb-_A20QHsNL5YTytUn3ZFGGQj2WYPLMEqNAViQ</ n1:authToken> </n1:RequestHeader> </env:Header> <env:Body> <n2:mutate xmlns:n2="https://adwords.google.com/api/adwords/cm/ v200902"> <n2:operations xsi:type="n2:AdGroupCriterionOperation"> <n2:operator>ADD</n2:operator> <n2:operand xsi:type="n2:BiddableAdGroupCriterion"> <n2:adGroupId> <n2:id>5100017218</n2:id> </n2:adGroupId> <n2:criterion xsi:type="n2:Keyword"> <n2:text>learn Jewelry Making</n2:text> <n2:matchType>BROAD</n2:matchType> </n2:criterion> </n2:operand> </n2:operations> </n2:mutate> </env:Body> </env:Envelope> = Response HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Transfer-Encoding: chunked Date: Tue, 16 Jun 2009 23:33:10 GMT Expires: Tue, 16 Jun 2009 23:33:10 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff Server: GFE/2.0 E3 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</ faultcode><faultstring>Fault occurred while processing.</faultstring></ soap:Fault></soap:Body></soap:Envelope> Also: does the Adwords admin interface exist for the sandbox, so that I can log in and see what my code has, or has not, accomplished? Thanks in advance, Travis J I Corcoran, President SmartFlix -- http://SmartFlix.com/ web's biggest how-to DVD rental store --~--~---------~--~----~------------~-------~--~----~ 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-api@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 -~----------~----~----~----~------~----~------~--~---