Hello, using the forecastmetrics with the keywordplan is ok if i use the interval but if i call it with a date range when i call this function it break
public static function GenerateForecastMetrics(
GoogleAdsClient $googleAdsClient,
int $customerId,
int $keywordPlanId
) {
global $keywordPlanId;
my customerId and keywordPlanId they are ok if i create the keywordplan with the date_interval i get through this call at generateForecastMetrics. and can print all the info from the docs.
But if i create the keywordplan with a date_interval the call to generateForecastMetrics fail. i don't understand could you help me please.
i share here the pastebin of results and error messages from these two type of call.
the first one using date_interval https://pastebin.com/P9DvLiQY
the second one with error using a date_range: https://pastebin.com/4xg3iwSS
|
||||||
|
||||||