Hello, seems I found a bug in the AdsAPI. If trying to set the month of 
JANUARY in *KeywordPlanService.GenerateHistoricalMetrics* and 
*KeywordPlanIdeaService.GenerateKeywordIdeass* in the format:
"year_month_range" => new YearMonthRange([
"start" => new YearMonth([
"year" => 2019,
"month" => Month::value("JANUARY")
]),
"end" => new YearMonth([
"year" => 2021,
"month" => Month::value("JUNE")
])
])

date range works, but you can't specify start with "JANUARY", for example:
"start" => new YearMonth([
"year" => 2019,
"month" => Month::value("JANUARY")

tried on all years (2018, 2019, 2020, 2021), it doesn't work, returns an 
error:
"message": "Internal error encountered.", 
"code": 13, 
"status": "INTERNAL", 

At the same time, if you set the month "JANUARY" in 'year_month_range' -> 
'end' - it works correctly.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9ae09b4c-38e8-4447-9c8c-eca6fe455e8bn%40googlegroups.com.

Reply via email to