I'm trying to use the Google Ads API in Apps Script but am getting the 
following error, which doesn't help me diagnose the problem.

Can someone please provide an example JSON request for the 
generateKeywordIdeas 
<https://developers.google.com/google-ads/api/rest/reference/rest/v11/customers/generateKeywordIdeas>
 REST 
endpoint? I've tried nearly 100 different combinations of variable formats, 
and they all return the same undescriptive error.

{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": 
"type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": {
              "keywordPlanIdeaError": "INVALID_VALUE"
            },
            "message": "The input has an invalid value."
          }
        ],
        "requestId": "YGYPoatXaAI1JJhkr2pTww"
      }
    ]
  }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/58ea1611-26f3-4959-949b-c642fd65375en%40googlegroups.com.
  • IN... Warren Halderman
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Warren Halderman
        • ... Warren Halderman

Reply via email to