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:
#
https://developers.google.com/adwords/api/docs/appendix/languagecodes
'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)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/5d9175c7-3e85-4378-9dc6-b4387caa2b7eo%40googlegroups.com.