RE: Getting empty response for device searches in GenerateHistoricalMetrics service in google ads api python

2021-06-22 Thread Google Ads API Forum Advisor
Hello,

Thanks for reaching out. Can you please provide us with your request details? 
It seem that you are using the REST interface. For guidance on creating the 
request body using the REST interface, please see the 
customers.keywordPlans.generateHistoricalMetrics page.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2Ix6LI:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/zItho0QV4AVH00hJ8uCBgLRxGptKDvvcDaUw%40sfdc.net.


Getting empty response for device searches in GenerateHistoricalMetrics service in google ads api python

2021-06-19 Thread DHARAVATH KARTHIK
Hi,

Iam able to fetch metrics for  KeywordPlanHistoricalMetrics 

 in GenerateHistoricalMetrics 
service but unable to fetch aggregate_metric_results(which gives 
device_searches).


*Note* ::
This is only set when  KeywordPlanAggregateMetricTypeEnum.DEVICE is set
  in the KeywordPlanAggregateMetrics(class which fetches device and search 
count) field in the request .How do i set KeywordPlanAggregateMetrics field 
in the request.
Resonse:
{
aggregate_metric_results:[],
metrics:{
"keyword": "airpod",
"avg_monthly_searches": 224,
"competition": "HIGH",
"competition_index": 100,
"low_top_of_page_bid": 0.29,
"*high_top_of_page_bid*": 0.76,
}
}

 please suggest me a work around which fetches device,search count for a 
keyword.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4b235d45-e2f5-4c2f-8249-4eb87f82e188n%40googlegroups.com.