Hey Team, currently testing out with the rest API doing a call to the 
endpoint for keyword forecast metrics. I keep getting this dang error for 
invalid argument for the keywordplan idea but I tried all the ENUMs 
provided in the documentation but still no go. Not sure what to do here. 
See traceID and requests below: 

Request Body: 
{
  "currencyCode": "USD",
  "forecastPeriod": {
    "startDate": "2023-12-14",
    "endDate": "2024-02-24"
  },
  "campaign": {
    "conversionRate": 0.10,
    "keywordPlanNetwork": "GOOGLE_SEARCH",
    "languageConstants": [
      "languageConstants/1000"
    ],
    "geoModifiers": [
      {
        "geoTargetConstant": "geoTargetConstants/2840"
      }
    ],
    "biddingStrategy": {
      "maximizeClicksBiddingStrategy": {
        "dailyTargetSpendMicros": 50000000
      }
    },
    "adGroups": [
      {
        "biddableKeywords": [
          {
            "keyword": {
              "matchType": "BROAD",
              "text": "HVAC Plumbers Near Me"
            }
          },
          {
            "keyword": {
              "matchType": "BROAD",
              "text": "HVAC services"
            }
          },
          {
            "keyword": {
              "matchType": "BROAD",
              "text": "HVAC Installation"
            }
          },
          {
            "keyword": {
              "matchType": "BROAD",
              "text": "HVAC Plumbers"
            }
          }
        ]
      }
    ]
  }
}

requestID: dDhXeCLddM9yP9e5yDMo9g



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d6eb5faa-ce2e-4187-8448-efe636a4057an%40googlegroups.com.
  • Go... Tyler Hanson
    • ... Tyler Hanson
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to