I'm still trying to get generateforecastmetrics() working in the v14 php sdk
This code is segfaulting for me when trying to instantiate the BiddableKeyword object $KeywordPlanIdeaServiceClient = $googleAdsClient->getKeywordPlanIdeaServiceClient(); $biddableKeywords = new BiddableKeyword([ 'keyword' => new KeywordInfo([ 'text' => 'houston homes for sale', 'match_type' => KeywordMatchType::BROAD ]) ]); $forecastAdGroup = new ForecastAdGroup([$biddableKeywords]); $keywordPlanCampaign = new CampaignToForecast([ 'ad_groups' => [$forecastAdGroup], ]); $reqArr = array( "customerId" => $customerId, "currencyCode" => "USD", "forecastPeriod" => array( "start_date" => "2023-07-01", "end_date" => "2023-06-30" ) ); $generateKeywordForecastMetricsResponse = $KeywordPlanIdeaServiceClient->generateKeywordForecastMetrics($keywordPlanCampaign, $reqArr); output: root@laravel-playground:/var/www/sdks/google-ads-php/examples/Planning# php8.1 AddKeywordPlan.php Created keyword plan: 'customers/8750204858/keywordPlans/719125200' Created campaign for keyword plan: 'customers/8750204858/keywordPlanCampaigns/669754323' Created ad group for keyword plan: 'customers/8750204858/keywordPlanAdGroups/701291997' Segmentation fault (core dumped) Google rep: it's been 3 weeks since you've deprecated the old methods, can you please supply us with a working example? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/2d8faea3-c4d9-4ae4-a10b-c3c8741b40bfn%40googlegroups.com.