Hi,

I am trying to execute generate_keyword_forecast_metrics from python, and i 
keep getting 
INVALID_ARGUMENT but with no meaningful data, i have checked the request 
attributes and it seems ok, please find bellow the request:
customer_id: "<customer_id>"
forecast_period {
  start_date: "2023-06-15"
  end_date: "2023-07-15"
}
campaign {
  keyword_plan_network: GOOGLE_SEARCH
  bidding_strategy {
    manual_cpc_bidding_strategy {
      max_cpc_bid_micros: 10000000
    }
  }
  ad_groups {
    biddable_keywords {
      keyword {
        text: "hotel"
        match_type: EXACT
      }
    }
    biddable_keywords {
      keyword {
        text: "restaurant"
        match_type: EXACT
      }
    }
  }
} 

the error i am seeing is :
Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics,
 
RequestId: lOBRmnwt80w6Zi4-z7RScg, IsFault: True, FaultMessage: The input 
has an invalid value.
(<_InactiveRpcError of RPC that terminated with:
        status = StatusCode.INVALID_ARGUMENT
        details = "Request contains an invalid argument."
        debug_error_string = "UNKNOWN:Error received from peer ipv4:
172.217.22.106:443 {created_time:"2023-06-15T17:37:14.924307+03:00", 
grpc_status:3, grpc_message:"Request contains an invalid argument."}"
>, <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.INVALID_ARGUMENT
        details = "Request contains an invalid argument."
        debug_error_string = "UNKNOWN:Error received from peer 
ipv4:172.217.22.106:443 {created_time:"2023-06-15T17:37:14.924307+03:00", 
grpc_status:3, grpc_message:"Request contains an invalid argument."}"
>, errors {
  error_code {
    keyword_plan_idea_error: INVALID_VALUE
  }
  message: "The input has an invalid value."
}

Am i missing something?
Thanks,
Nadav

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/756189f9-a3f1-424f-a477-89a8864c7624n%40googlegroups.com.

Reply via email to