Hi
I'm trying to get monthly volume data of my keywords.
I heard this API shows the data was shown last 12 months data in default, and automatically updated.
I can get the result until April but I still can't obtain May, 2020 data by call this api (I called it at June 15th).
When can I get the data of May?
Is there any necessary parameter to get updated data like start_date or end_date?
I use python library like below.
client = adwords.AdWordsClient.LoadFromStorage()
# Initialize appropriate service.
targeting_idea_service = client.GetService(
'TargetingIdeaService', version='v201809')
# Construct selector object and retrieve related keywords.
selector = {
'ideaType': 'KEYWORD',
'requestType': 'STATS'
}
selector['requestedAttributeTypes'] = [
'KEYWORD_TEXT', 'SEARCH_VOLUME', 'TARGETED_MONTHLY_SEARCHES']
#'KEYWORD_TEXT', 'SEARCH_VOLUME', 'CATEGORY_PRODUCTS_AND_SERVICES']
# Language setting (optional).
selector['searchParameters'] = [{
# The ID can be found in the documentation:
'xsi_type': 'LanguageSearchParameter',
'languages': [{'id': '1012'}]
}]
# Network search parameter (optional)
selector['searchParameters'].append({
'xsi_type': 'NetworkSearchParameter',
'networkSetting': {
'targetGoogleSearch': True,
'targetSearchNetwork': False,
'targetContentNetwork': False,
'targetPartnerSearchNetwork': False
}
})
selector['paging'] = {
'startIndex': str(offset),
'numberResults': str(PAGE_SIZE)
}
if (len(selector['searchParameters']) > 2):
del selector['searchParameters'][2]
selector['searchParameters'].append({
'xsi_type': 'RelatedToQuerySearchParameter',
'queries': karr
})
page = targeting_idea_service.get(selector)