Hi I have the same issue, getting INVALID VALUE in code that worked before.
campaign_to_forecast PyDev console: starting. language_constants: "languageConstants/1011" geo_modifiers { geo_target_constant: "geoTargetConstants/2246" } keyword_plan_network: GOOGLE_SEARCH bidding_strategy { manual_cpc_bidding_strategy { max_cpc_bid_micros: 1000000 } } conversion_rate: 0.05 ad_groups { biddable_keywords { keyword { match_type: EXACT text: "matkailuauto" } max_cpc_bid_micros: 1000000 } biddable_keywords { keyword { match_type: EXACT text: "matkailuvaunu" } max_cpc_bid_micros: 1000000 } } google.ads.googleads.errors.GoogleAdsException: (<_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:216.58.204.74:443 {created_time:"2024-09-30T22:59:39.4979135+00: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:216.58.204.74:443 {created_time:"2024-09-30T22:59:39.4979135+00: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." } request_id: "kXF2LvFLx-DestEStBHpCw" , 'kXF2LvFLx-DestEStBHpCw') Doesn't give any indication of which value is invalid. On Thursday 1 August 2024 at 23:42:23 UTC+1 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > Based on the provided information, I understand that you are getting an > INVALID_VALUE > <https://developers.google.com/google-ads/api/reference/rpc/v17/KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError#invalid_value> > error > while using the KeywordPlanIdeaService > <https://developers.google.com/google-ads/api/reference/rpc/v17/KeywordPlanIdeaService> > via > the Google Ads API. The invalid value error indicates that the field's > value is invalid. I would recommend following the prerequisites in the > document > <https://developers.google.com/google-ads/api/docs/keyword-planning/generate-keyword-ideas> > for > generating keyword ideas for a campaign with > KeywordPlanIdeaService.GenerateKeywordIdeas. > > If you have followed all the prerequisites and are still facing the > issue, please provide us with the complete API logs (request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > with request-id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) > and > uncropped UI screenshots to further investigate this issue. > > If you are using a client library and haven't enabled the logging yet, I > would request you to enable logging for the specific client library that > you are using. You can refer to the guides Java > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging>, > .Net > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , PHP > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , Python > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , Ruby > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or Perl > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > to > enable logging at your end. For REST interface requests, you can > enable logging via the curl command by using the -i flag. > > > > *This message is in relation to case "ref:!00D1U01174p.!5004Q02vEQ5U:ref" > (ADR-00260556) Thanks,* > > [image: Google Logo] *Google Ads API Team* > *Register > <https://adsonair.withgoogle.com/events/performance-max-api-workshop> for > the upcoming workshop: Performance Max and the Google Ads API!* > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/e793f895-cf31-4b5a-b618-50cafe2c3c9en%40googlegroups.com.