Hi Anash, great, it works! Thank you.
Could you help me again? I have to migrate our old in-house adwords API tool (based on v12) to the v201003. Could you or somebody else post a XML code how to get the KeywordVariations of one keyword including advertiserCompetitionScale, avgSearchVolume, language, and lastMonthSearchVolume? This could me save hours/days of research! Is there a option similar to "Ideas containing my search terms"? Best regards, Robert On Aug 13, 6:11 am, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Robert, > > Here's a sample soap log for the request I captured from the .NET > client library. > > <?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/info/ > v201003"> > <authToken > xmlns="https://adwords.google.com/api/adwords/cm/ > v201003">******</authToken> > <developerToken > xmlns="https://adwords.google.com/api/adwords/cm/ > v201003">******</developerToken> > <userAgent > xmlns="https://adwords.google.com/api/adwords/cm/ > v201003">******</userAgent> > </RequestHeader> > </soap:Header> > <soap:Body> > <get > xmlns="https://adwords.google.com/api/adwords/info/v201003"> > <selector> > > <apiUsageType>FREE_USAGE_API_UNITS_PER_MONTH</apiUsageType> > </selector> > </get> > </soap:Body> > </soap:Envelope> > > Cheers, > Anash > > On Aug 12, 1:33 pm, Robert <spam...@gmx.de> wrote: > > > Hi Anash, > > > thank you for your answer! > > I tried it (and I tried /info/v201003). But I get the same error. > > Perhaps someboddy can post a valid XML data for a apiUsageType query > > here? > > Then I can use this XML code (with my credentials). > > > Best regards, > > Robert > > > <?xml version="1.0" encoding="UTF-8"?> > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ > > envelope/" > > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201003" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <SOAP-ENV:Header> > > <ns1:RequestHeader xsi:type="ns1:RequestHeader"> > > <ns1:authToken>**</ns1:authToken> > > <ns1:developerToken>**</ns1:developerToken> > > <ns1:userAgent>**</ns1:userAgent> > > </ns1:RequestHeader> > > </SOAP-ENV:Header> > > <SOAP-ENV:Body> > > <ns1:get xsi:type="get" xmlns:ns1="https://adwords.google.com/api/ > > adwords/cm/v201003" xmlns:xsi="http://www.w3.org/2001/XMLSchema- > > instance"> > > <ns1:selector xsi:type="ns1:InfoSelector"> > > <ns1:apiUsageType>FREE_USAGE_API_UNITS_PER_MONTH</ > > ns1:apiUsageType> > > </ns1:selector> > > </ns1:get> > > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > > > On Aug 12, 6:31 am, AdWords API Advisor <adwordsapiadvi...@google.com> > > wrote: > > > > Hi Robert, > > > > Could you try adding the namespace definitions at the method level > > > too? Something like: > > > > <ns1:get xsi:type="get" xmlns:ns1="https://adwords.google.com/api/ > > > adwords/cm/v201003" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > ... > > > </ns1:get> > > > > Let me know if this fixes your issues. > > > > Cheers, > > > Anash P. Oommen, > > > AdWords API Advisor. > > > > On Aug 11, 6:43 pm, Robert <spam...@gmx.de> wrote: > > > > > I POST tohttps://adwords.google.com/api/adwords/info/v201003/InfoService > > > > the following data: > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ > > > > envelope/" > > > > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201003" > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > <SOAP-ENV:Header> > > > > <ns1:RequestHeader xsi:type="ns1:RequestHeader"> > > > > <ns1:authToken>...</ns1:authToken> > > > > <ns1:developerToken>...</ns1:developerToken> > > > > <ns1:userAgent>AdWords appk</ns1:userAgent> > > > > </ns1:RequestHeader> > > > > </SOAP-ENV:Header> > > > > <SOAP-ENV:Body> > > > > <ns1:get xsi:type="get"> > > > > <ns1:selector xsi:type="ns1:InfoSelector"> > > > > <ns1:apiUsageType>FREE_USAGE_API_UNITS_PER_MONTH</ > > > > ns1:apiUsageType> > > > > </ns1:selector> > > > > </ns1:get> > > > > </SOAP-ENV:Body> > > > > </SOAP-ENV:Envelope> > > > > > But I get the error: > > > > > <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> > > > > > Thank you for your help, > > > > Robert > > > > > (BTW: The authToken is generated from the MCC account email+password.) > > > > Is the namespace correct? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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