Hi Raj, Do you have the final SOAP XML request and response logged? That would give me a better idea of what the final result looks like. If not that, do you have the requestId header from the response?
Best, - Eric On Nov 20, 10:55 am, Raj <rajanikant...@gmail.com> wrote: > Hi Eric, > > One more thing I am able to use GeoTargetingService. So I am sure my > authentication token is working fine. > > This is my code next to the requestXML > > $targetingidea = $targeting_service->call('get', $request_xml1); > $targetingidea = $targetingidea['rval']['entries']; > //$targetingideaentry = $targetingidea['rval']['entries']; > if ($debug) { > show_xml($targeting_service);} > > if ($targeting_service->fault) { > show_fault($targeting_service); > exit(1); > > } > > # Convert to a list if we get back a single object. > if (!$targetingidea[0]) { > $targetingidea = array($targetingidea);} > > print_r($targetingidea); > echo"raj:".$targetingidea['totalNumEntries']; > > It is giving empty array result. > > Thanks, > Raj. > > On Nov 20, 8:16 am, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi Raj, > > > Is there an error returned in the response XML, or just no results? > > Also, if you don't want to set paging you should leave out the paging > > tag, not set the value as "null". > > > Best, > > - Eric > > > On Nov 19, 11:00 pm, Raj <rajanikant...@gmail.com> wrote: > > > > Hi Eric, > > > Thanks for your reply. > > > First time I tried with IDEAS itself. It did not work. > > > Then I was trying with each requestType. > > > > My goal is to get keywords for given seedkeyword. > > > In V13, I used KeywordToolService and getKeywordVariations method. > > > > I am trying to migrate to the new version. > > > > I thing the problem is with this request XML > > > > Thanks, > > > Raj > > > > On Nov 19, 4:29 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > wrote: > > > > > Hi Raj, > > > > > The field "requestType" does not accept the value "IDEA_TYPE". The > > > > value must be either "IDEAS" or "STATS": > > > > > http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde... > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Nov 19, 2:07 pm, Raj <rajanikant...@gmail.com> wrote: > > > > > > Hi all, > > > > > > Q 1) > > > > > I am trying to get a list of keywords for a given seed keyword > > > > > using TargetingIdeaService. > > > > > > This service has too many parameters to be send in the requesting > > > > > xml. > > > > > > I am sending the following request_xml. > > > > > > '<get xmlns="'.$namespace.'">'. > > > > > '<selector>'. > > > > > '<searchParameters>'. > > > > > '<keywords>'. > > > > > '<text>rajani</text>'. > > > > > '<matchType>BROAD</matchType>'. > > > > > '</keywords>'. > > > > > '</searchParameters>'. > > > > > '<ideaType>KEYWORD</ideaType>'. > > > > > '<requestType>IDEA_TYPE</requestType>'. > > > > > '<requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</ > > > > > requestedAttributeTypes>'. > > > > > '<paging>null</paging>'. > > > > > '<localeCode>en_US</localeCode>'. > > > > > '<currencyCode>USD</currencyCode>'. > > > > > '</selector>'. > > > > > '</get>'; > > > > > > it does not return values. > > > > > > Could you please tell me where the problem is? > > > > > Is there any problem in using the SearchParameterArray[] and > > > > > AttributeTypes[]? > > > > > > Thanks, > > > > > Raj -- 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-...@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=.