Following on from my previous post,  another problem. 

The error "Request contains an invalid argument." is a tad ambiguous. A 
JSON serialization of the error object's Failure property includes 
'"KeywordPlanIdeaError": 3,"HasKeywordPlanIdeaError": true,' which is also 
a little ambiguous.

-Bruce

GoogleAds.DetailedRequestLogs Information: 1 : [2023-07-31 09:27:02Z] -
---------------BEGIN API CALL---------------

Request
-------

Method Name: 
/google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics
Host:
Headers: {
  "x-goog-api-client": "gl-dotnet/4.8.1 gapic/16.1.0 
gax/4.2.0+a8085e4f36ad24e2747b5e550f11079d4a891e78 grpc/2.46.3 gccl/3.0.0 
pb/3.21.5+638779f353731a0a04496bde20d14164684c3d93",
  "developer-token": "REDACTED",
  "login-customer-id": "2963060815",
  "x-goog-request-params": "customer_id=7415265454"
}

{ "customerId": "7415265454", "forecastPeriod": { "startDate": 
"2023-08-30", "endDate": "2023-09-30" }, "campaign": { "languageConstants": 
[ "languageConstants/1000" ], "geoModifiers": [ { "geoTargetConstant": 
"geoTargetConstants/2826" } ], "keywordPlanNetwork": "GOOGLE_SEARCH", 
"biddingStrategy": { "manualCpcBiddingStrategy": { "dailyBudgetMicros": 
"100000000000", "maxCpcBidMicros": "500000000" } }, "conversionRate": 0, 
"adGroups": [ { "maxCpcBidMicros": "10000000000", "biddableKeywords": [ { 
"keyword": { "matchType": "EXACT", "text": "workforce management software" 
}, "maxCpcBidMicros": "100000000000" } ] } ] } }

Response
--------
Headers: {
  "request-id": "K-2AVmTo4IfEsdJz1ADL9g",
  "date": "Mon, 31 Jul 2023 09:27:01 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "google.ads.googleads.v14.errors.googleadsfailure-bin": 
"CiYKA+AEAxIfVGhlIGlucHV0IGhhcyBhbiBpbnZhbGlkIHZhbHVlLhIWSy0yQVZtVG80SWZFc2RKejFBREw5Zw==",
  "grpc-status-details-bin": 
"CAMSJVJlcXVlc3QgY29udGFpbnMgYW4gaW52YWxpZCBhcmd1bWVudC4aiAEKRHR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLmFkcy5nb29nbGVhZHMudjE0LmVycm9ycy5Hb29nbGVBZHNGYWlsdXJlEkAKJgoD4AQDEh9UaGUgaW5wdXQgaGFzIGFuIGludmFsaWQgdmFsdWUuEhZLLTJBVm1UbzRJZkVzZEp6MUFETDln"
}

Fault: {
  "StatusCode": 3,
  "Details": "Request contains an invalid argument.",
  "RequestId": "K-2AVmTo4IfEsdJz1ADL9g",
  "Failure": {
    "errors": [
      {
        "errorCode": {
          "keywordPlanIdeaError": "INVALID_VALUE"
        },
        "message": "The input has an invalid value."
      }
    ],
    "requestId": "K-2AVmTo4IfEsdJz1ADL9g"
  }
}
----------------END API CALL----------------

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dae616bb-ffa1-47b8-a75d-2d5ab8da8c33n%40googlegroups.com.

Reply via email to