Get historical keyword search volume for a subset of given categories

59 views
Skip to first unread message

Oscar Vidal

unread,
Jan 24, 2020, 11:43:09 AM1/24/20
to AdWords API and Google Ads API Forum
Hi,

I'm trying to get historical search volume for a set of keywords (these keywords are independent of any existent campaign) which can be achieved by using the service targetingIdeaService and setting RequestType.STATS instead of RequestType.IDEAS. 

The problem is that we want to get search volume for searches that are related to the fashion/clothing industry only, but when getting volume for keywords as patagonia (which a cloths brand but also a geographic region) the keyword gets linked to these categories:
  • 10017 /Travel & Tourism
  • 10769 /Travel & Tourism/Accommodations/Hotels, Motels & Resorts
  • 10145 /Travel & Tourism/Tourist Attractions & Destinations
  • 10142 /Travel & Tourism/Accommodations
  • 12066 /Travel & Tourism/Accommodations/Hotels, Motels & Resorts/Resorts
  • 12073 /Travel & Tourism/Accommodations/Ski Accommodations/Ski Lodges & Resorts
  • 10773 /Travel & Tourism/Accommodations/Ski Accommodations
  • 12098 /Travel & Tourism/Tourist Attractions & Destinations/Winter Travel Destinations
  • 10917 /Apparel/Clothing/Outerwear
  • 10176 /Apparel/Clothing
  • 10021 /Apparel
  • 12238 /Apparel/Clothing/Sweatshirts & Hoodies
BUT, we only want volumes linked with categories 10917, 10176, 10021 and 12238 since these are the categories related to the industry that we are working with, therefore only those searches are relevant for us.

QUESTION:
  • Is there a way to extract search volumes of a specific keyword but only considering searches linked to a subset of given categories?
Thanks,
Oscar

Google Ads API Forum Advisor Prod

unread,
Jan 27, 2020, 11:09:19 AM1/27/20
to oscar...@farfetch.com, adwor...@googlegroups.com
Hi Oscar,

You can use the CategoryProductsAndServicesSearchParameter to include IDs of these categories when using the TargetingIdeaService.

Cheers,
Anthony
Google Ads API Team 

ref:_00D1U1174p._5001USwxvL:ref

Oscar Vidal

unread,
Jan 28, 2020, 4:53:57 AM1/28/20
to AdWords API and Google Ads API Forum
Hi Anthony,

thanks for your answer but the CategoryProductsAndServicesSearchParameter is not supported when using the RequestType.STATS. If I try to use both then I get error TargetingIdeaError.INVALID_SEARCH_PARAMETERS

Any other options?

Thanks,
Oscar

Google Ads API Forum Advisor Prod

unread,
Jan 28, 2020, 9:52:41 AM1/28/20
to oscar...@farfetch.com, adwor...@googlegroups.com
Hi Oscar,

Unfortunately, there is no way to do this via the API when you are using STATS rather than IDEAS.

You can follow our blog for any updates.

Regards,
Reply all
Reply to author
Forward
0 new messages