endpoints with the parameters below.
endpoint and were successful (According to the excel sheet containing all the locations, all the constants are related to one)
This params generate an error:
{
"geoTargetConstants": [
"geoTargetConstants/2312",
"geoTargetConstants/9070394",
"geoTargetConstants/9069935",
"geoTargetConstants/1007479",
"geoTargetConstants/1007477",
"geoTargetConstants/1007476",
"geoTargetConstants/1007478",
"geoTargetConstants/2175",
"geoTargetConstants/9075994",
"geoTargetConstants/9075993",
"geoTargetConstants/9075991",
"geoTargetConstants/9075992",
"geoTargetConstants/9075990"
],
"includeAdultKeywords": true,
"pageSize": 25,
"keywordPlanNetwork": "GOOGLE_SEARCH",
"language": "languageConstants/1002",
"siteSeed": {
"site": "
https://www.skyteam.com/en/"
}
}
Here is the error:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v16.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"keywordPlanIdeaError": "INVALID_VALUE"
},
"message": "The input has an invalid value.",
"location": {
"fieldPathElements": [
{
"fieldName": "geo_target_constants"
}
]
}
}
],
"requestId": "L4Iz-V3njTr0Nm0d6L74CQ"
}
]
}
}
Nevertheless if I remove
"geoTargetConstants/9075991",
"geoTargetConstants/9075992",
"geoTargetConstants/9075990"
the API call to generate keywords succeed, but if i keep these constants and then remove those 3
"geoTargetConstants/1007477",
"geoTargetConstants/1007476",
"geoTargetConstants/1007478",
the error also doesn't occur anymore.