Hi Oddball, Yes, AdWords API has xml validation enabled too, which means that order of the nodes in the xml is also significant. Also, I'm not sure what you mean by saying that we don't support xmls - when debugging an issue, we ask for the raw SOAP xmls all the time, not the code in a particular programming language.
Also, could you tell me why you don't find the .NET library and the vb.net code useful? You could 1. Download the library. 2. Modify one of the examples that does what you need to perform in vb.net. 3. Run the code example. 4. Capture the SOAP xmls - instructions are at http://code.google.com/p/google-api-adwords-dotnet/wiki/HowToCaptureSoapMessages 5. Compare the output xml and the handcoded xml you are sending to the API servers. I understand this is not a very straightforward approach, but it is not that difficult in practice. E.g. here's the SOAP xml I captured by modifying the UpdateAdGroup.vb code example: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201109"> <authToken xmlns="https://adwords.google.com/api/adwords/cm/v201109">****</authToken> <developerToken xmlns="https://adwords.google.com/api/adwords/cm/v201109">****</developerToken> <clientCustomerId xmlns="https://adwords.google.com/api/adwords/cm/v201109">****</clientCustomerId> <userAgent xmlns="https://adwords.google.com/api/adwords/cm/v201109">****</userAgent> </RequestHeader> </soap:Header> <soap:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109"> <operations> <operator>SET</operator> <operand> <id>1234567890</id> <bids xsi:type="ManualCPCAdGroupBids"> <keywordMaxCpc> <amount> <microAmount>2000000</microAmount> </amount> </keywordMaxCpc> </bids> </operand> </operations> </mutate> </soap:Body> </soap:Envelope> Hope this helps? Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, 29 March 2012 16:08:42 UTC+5:30, Oddball wrote: > > I got it sorted in the end, was more down to the order of the XML than > anything else since it's alot more ridgid over how this is handled (not to > mention das kapitals). > > The bizzare thing I'm finding now is that I'm fine adding Campaigns, a > campaigns target location and groups within the campaigns but try and set > the AdGroupBids and everything falls over. > > I've also had a looksee at the VB.net but it's not much use since we're > handcoding the XML which now seems to have no support from google which > seems a shame, since It could help understand inputs and outputs better > (even for those using the libraries) > > > Thanks though, > Oddball > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
