Re-posting the last inquiry 
(https://groups.google.com/g/adwords-api/c/xAqu4gTqsgk) from the forum as 
it wasn't routed to our support queue.

Regards,
Google Ads API Team

On Wednesday, May 10, 2023 at 2:48:16 AM UTC+8 [email protected] wrote:

> Hello,
>
> Is there a reason a fairly straightforward API call would work in REST 
> transport but just hang with GRPC (no errors or entries in the log file, it 
> just freezes)?
>
> Here's the basic code - it gets stuck on the call to mutateKeywordPlans 
> (this is before creating a Campaign, AdGroup and actually supplying any 
> keywords…)
>
> I'm up to date with the client library versions, running PHP 8.1 etc and 
> its the same on dev (macOS) and production (Debian).
>
> Thanks,
> William
>
> $keywordPlan = new KeywordPlan([
> 'name' => $title,
> 'forecast_period' => new KeywordPlanForecastPeriod([
> 'date_interval' => KeywordPlanForecastInterval::NEXT_QUARTER
> ])
> ]);
>
> $keywordPlanOperation = new KeywordPlanOperation();
> $keywordPlanOperation->setCreate($keywordPlan);
>
> $keywordPlanServiceClient = $googleAdsClient->getKeywordPlanServiceClient
> ();
> $response = $keywordPlanServiceClient->mutateKeywordPlans($customerId, [
> $keywordPlanOperation]);
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2b8464d4-9930-4604-962e-d193f1fcccacn%40googlegroups.com.

Reply via email to