How to filter Search Volume by Platform in TargetingIdeaService

106 views
Skip to first unread message

sergio...@demoncode.net

unread,
Feb 23, 2017, 9:13:31 AM2/23/17
to AdWords API Forum
Hi there,

I'm trying to construct a selector that allows me to request SEARCH_VOLUME or TARGETED_MONTHLY_SEARCHES stats for a specific Platform. I have been advised that there is a relationship between searchVolumeSearchParameter and Criterion or CriterionAttribute, but I haven't been able to find information on how the request should be constructed. The documentation for searchVolumeSearchParameter suggests that the only parameter allowed is `operation - Used to specify the range of search volume`

Thank you for your help.
Sergio

Vishal Vinayak (Adwords API Team)

unread,
Feb 23, 2017, 3:45:23 PM2/23/17
to AdWords API Forum
Hi Sergio,

SearchVolumeSearchParameter is used to set the search volume bounds on the results. SearchVolumeSearchParameter does take operation parameter, which in turn takes a maximum and a minimum limit. 

Java code: 
    SearchVolumeSearchParameter searchVolumeSearchParameter = new SearchVolumeSearchParameter();
    LongComparisonOperation lco = new LongComparisonOperation();
    lco.setMaximum(100000L);
    lco.setMinimum(1L);
    searchVolumeSearchParameter.setOperation(lco);

SOAP request:
    <searchParameters xmlns:ns15="https://adwords.google.com/api/adwords/o/v201609" xsi:type="ns15:SearchVolumeSearchParameter">
         <ns15:operation>
             <ns15:minimum>1</ns15:minimum>
             <ns15:maximum>100000</ns15:maximum>
         </ns15:operation>
    </searchParameters>

The <searchParamaters> section related to SearchVolumeSearchParameter in the SOAP request would go along-side the other searchParamaters such as NetworkSearchParameter and LanguageSearchParameter (if used in the request). Please note that SearchVolumeSearchParameter cannot be used to identify criteria/platform type. Also, search volume based on criteria/platform type is currently not supported by TargetingIdeaService. 

Could you please confirm if you are trying to construct the SOAP request manually? You can also check out our client libraries which can be used to interact with the API. 

Regards,
Vishal, AdWords API Team

sergio...@demoncode.net

unread,
Feb 24, 2017, 9:27:00 AM2/24/17
to AdWords API Forum
Hi Vishal,

Thank you for your clarification and examples. I am able to construct a valid request using SearchVolumeSearchParameter operation to limit the results, my question was whether it was possible to filter search volume by criteria, possibly using this selector in some way that I didn't understand, but you have clearly stated that it's not possible.

Are there any plans to implement this functionality in this API since it's possible to do this in the keyword planner?

Thanks,
Sergio

Vishal Vinayak (Adwords API Team)

unread,
Feb 24, 2017, 11:05:53 AM2/24/17
to AdWords API Forum
Hi Sergio,

Unfortunately, I do not have more information on whether or not this feature would be included in the API any time soon. Please keep an eye on our blog for any future updates regarding this feature. 
Reply all
Reply to author
Forward
0 new messages