Bug was introduced on 6/1/23 

Yesterday they updated their SDKs and removed the example for generating 
clicks/impressions. They did not include a new example 
using GenerateKeywordForecastMetrics() -- if you try to 
use GenerateKeywordForecastMetrics() by following their docs you will get 
the same blank response.

New SDK, now missing GenerateForecastMetrics.php instead of providing an 
updated one:

root@laravel-playground:/var/www/sdks/google-ads-php/examples/Planning# ls 
-lsahrt
total 56K
8.0K -rw-r--r--  1 root root 6.4K Jun  9 16:12 
GetAdGroupCriterionCpcBidSimulations.php
 12K -rw-r--r--  1 root root 8.9K Jun  9 16:12 GenerateKeywordIdeas.php
 12K -rw-r--r--  1 root root  12K Jun  9 16:12 ForecastReach.php
 16K -rw-r--r--  1 root root  15K Jun  9 16:12 AddKeywordPlan.php
4.0K drwxr-xr-x  2 root root 4.0K Jun  9 16:12 .
4.0K drwxr-xr-x 21 root root 4.0K Jun  9 16:12 ..

No mention of GenerateKeywordForecastMetrics() anywhere now in the examples:

root@laravel-playground:/var/www/sdks/google-ads-php/examples/Planning# 
grep -Ri GenerateKeywordForecastMetrics *
root@laravel-playground:/var/www/sdks/google-ads-php/examples/Planning#

I engaged Google support and posted here about the same issue but I got a 
canned response from support & my post here was deleted

Not sure what's going on with this


On Thursday, June 8, 2023 at 12:26:57 PM UTC-6 quang...@gmail.com wrote:

> There seems to be a bug introduced today on Google Ads API where  
> GenerateForecastMetricsResponse no longer includes the keyword forecasts 
> even though the metrics appear on Google Ads UI.
>
> Here's the request and response pair:
> Request
> -------
> MethodName: 
> google.ads.googleads.v13.services.KeywordPlanService/GenerateForecastMetrics
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, login-customer-id=5828889023 
> <(582)%20888-9023>, x-goog-api-client=gl-java/1.8.0_362 gccl/25.0.0 
> gapic/25.0.0 gax/2.22.0 grpc/1.52.1 pb/3.21.12}
> Body: keyword_plan: "customers/3434936860 <(343)%20493-6860>
> /keywordPlans/703345810"
>
>
> Response
> --------
> Headers: 
> Metadata(content-disposition=attachment,content-type=application/grpc,request-id=1JdLtC7JeDIpwG6xQ8lYsQ,date=Fri,
>  
> 02 Jun 2023 18:34:00 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
> ma=2592000)
> Body: campaign_forecasts {
>   campaign_forecast {
>     impressions: 1.2974386E7
>     ctr: 0.07019002735614777
>     average_cpc: 2995994
>     clicks: 910672.5
>     cost_micros: 2728369775049
>   }
>   keyword_plan_campaign: "customers/3434936860 <(343)%20493-6860>
> /keywordPlanCampaigns/652745698"
> }
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/08475c31-329c-41fa-8508-d49322eb25f8n%40googlegroups.com.
  • Re... Patrick P
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to