Closed devorel closed 2 months ago
What are the parameters you passed to the code examples?
as is , like in the example. $googleAdsClient, = meneger account int $customerId customer account
I cannot reproduce your error. It runs fine on my side. Since it's not a client-library issue, could you post on the Google Ads API forum instead? Thanks.
now it's works , i cannot explain why ?! maybe it because the account is new
https://github.com/googleads/google-ads-php/blob/3b876a88574a44652ad091da9c731267095b97ea/examples/Planning/GenerateForecastMetrics.php#L124
{ "message": "Request contains an invalid argument.", "code": 3, "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com\/google.ads.googleads.v16.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "keywordPlanIdeaError": "INVALID_VALUE" }, "message": "The input has an invalid value." } ], "requestId": "IEDc8kNrlpbKK3l4Xrt15g" } ] }
Client library and Google Ads API versions:
Client library version: v23.0.1 Google Ads API version: V16 Environment:
The PHP-FPM version: 8.3.