Hi Prashant,

I don't know of any changes recently in the API's Targeting Idea Service 
that would cause that to happen. I also gave this a try in v201502, and 
it's the same behavior. Would you happen to have an old log that shows a 
case where you were receiving empty results?

Cheers,
Nadine, AdWords API Team

On Tuesday, October 13, 2015 at 4:15:48 PM UTC-4, Prashant Nagar wrote:
>
> Hi,
> Recently I have started seeing that output returned by Targeting Idea 
> Service (<requestType>STATS</requestType>) doesn't match the input count. 
> Previously, the output count and input count always used to be same even if 
> there was not data for some specific keywords.
> Below is the soap request and response. Can you please advice if there has 
> been a recent change in api that I might have missed? or if there is 
> something else that I need to do..
> In the below example if you will see that I am giving keywords which are 
> associated with Canada, however I am passing location as USA. Even then I 
> am very sure that previously it used to return me results with empty 
> values. Input count was always equal to output count.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader soapenv:mustUnderstand="0" xmlns:ns1="
> https://adwords.google.com/api/adwords/o/v201506";>
>             <ns2:clientCustomerId...../>
>             <ns3:developerToken ..../>
>             <ns4:userAgent .../>
>             <ns5:validateOnly xmlns:ns5="
> https://adwords.google.com/api/adwords/cm/v201506
> ">false</ns5:validateOnly>
>             <ns6:partialFailure xmlns:ns6="
> https://adwords.google.com/api/adwords/cm/v201506
> ">true</ns6:partialFailure>
>         </ns1:RequestHeader>
>     </soapenv:Header>
>     <soapenv:Body>
>         <get xmlns="https://adwords.google.com/api/adwords/o/v201506";>
>             <selector>
>                 <searchParameters 
> xsi:type="ns7:RelatedToQuerySearchParameter"
>                                   xmlns:ns7="
> https://adwords.google.com/api/adwords/o/v201506";>
>                     <ns7:queries>+morkie +puppies +classifieds +in 
> +toronto</ns7:queries>
>                     <ns7:queries>kijiji ottawa houses sale</ns7:queries>
>                 </searchParameters>
>                 <searchParameters xsi:type="ns8:LanguageSearchParameter"
>                                   xmlns:ns8="
> https://adwords.google.com/api/adwords/o/v201506";>
>                     <ns8:languages>
>                         <ns9:id xmlns:ns9="
> https://adwords.google.com/api/adwords/cm/v201506";>1000</ns9:id>
>                     </ns8:languages>
>                 </searchParameters>
>                 <searchParameters xsi:type="ns10:LocationSearchParameter"
>                                   xmlns:ns10="
> https://adwords.google.com/api/adwords/o/v201506";>
>                     <ns10:locations>
>                         <ns11:id xmlns:ns11="
> https://adwords.google.com/api/adwords/cm/v201506";>2840</ns11:id>
>                     </ns10:locations>
>                 </searchParameters>
>                 <ideaType>KEYWORD</ideaType>
>                 <requestType>STATS</requestType>
>                 
> <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes>
>                 
> <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes>
>                 
> <requestedAttributeTypes>AVERAGE_CPC</requestedAttributeTypes>
>                 
> <requestedAttributeTypes>COMPETITION</requestedAttributeTypes>
>                 
> <requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</requestedAttributeTypes>
>                 
> <requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES</requestedAttributeTypes>
>                 <paging>
>                     <ns12:startIndex xmlns:ns12="
> https://adwords.google.com/api/adwords/cm/v201506";>0</ns12:startIndex>
>                     <ns13:numberResults xmlns:ns13="
> https://adwords.google.com/api/adwords/cm/v201506";>2
>                     </ns13:numberResults>
>                 </paging>
>             </selector>
>         </get>
>     </soapenv:Body>
> </soapenv:Envelope>
>
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>     <soap:Header>
>         <ResponseHeader xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201506";
>                         xmlns="
> https://adwords.google.com/api/adwords/o/v201506";>
>             <ns2:requestId>00052201ef2d72700a4c0c871500e68d</ns2:requestId>
>             <ns2:serviceName>AccountService</ns2:serviceName>
>             <ns2:methodName>get</ns2:methodName>
>             <ns2:operations>0</ns2:operations>
>             <ns2:responseTime>391</ns2:responseTime>
>         </ResponseHeader>
>     </soap:Header>
>     <soap:Body>
>         <getResponse xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201506";
>                      xmlns="
> https://adwords.google.com/api/adwords/o/v201506";>
>             <rval>
>                 <totalNumEntries>0</totalNumEntries>
>             </rval>
>         </getResponse>
>     </soap:Body>
> </soap:Envelope>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c75096e3-d43e-43fc-8879-1c0dd25b0fcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to