Re: keyword_forecasts field has disappeared in generateforecastmetricsresponse

2023-07-07 Thread Aqeel Ashraf
Hi,

Thanks for the response. I am eagerly waiting for the solution and hope I 
will get the good reply.

On Thursday, 6 July 2023 at 21:46:10 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi Aqeel,
>
> Thank you for getting back to us. Allow me to raise this concern to the 
> rest of our team and rest assured that we will get back to you as soon as 
> we have some updates.
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2lw59Y:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/25db0878-1ab4-44d5-a034-2d13ee0e5dafn%40googlegroups.com.


Re: keyword_forecasts field has disappeared in generateforecastmetricsresponse

2023-07-06 Thread Aqeel Ashraf
Hi,

Quite disappointed with the reply. I already mentioned all details that 
includes GitHub issue tracker URL and its reply as well as attached the log 
file. Looks like I got the generic reply and not even read the details what 
I mentioned. Please have a look on the details above and provide 
appropriate response. I am not the only one who is facing the same issue, 
many peoples facing the same.


On Tuesday, 4 July 2023 at 22:33:59 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi Aqeel, 
>
> Thank you for coming back and for the update. I hope you are doing well 
> today.
>
> With regards to your concern, could you please confirm if you already 
> reached out to the Github where the sample code came from for this concern? 
> If not yet, we recommend confirming this issue to the Github team.
>
> However, since you also mentioned that this is also related to API, if 
> you're encountering Google Ads API issues or errors, for our team to 
> further compare, investigate, and validate why you are encountering issues, 
> can you provide more information?
>  
>
>- Provide the complete *(request and response with request-id)* logs 
>with request ID generated as shown in the respective links. 
>- Complete or uncropped screenshots from the Google Ads UI (optional) 
>
>
> We do this to check if there’s an error thrown on your side and provide 
> accurate recommendations. 
>
> If you haven't enabled logging yet, it can be enabled by navigating to the 
> Client libraries > Your client library (ex. Java) > *Logging 
> documentation*, which you can access from this link. For REST interface 
> requests, you can enable logging via the curl command by using the -i flag. 
> This will cause the tool to include the HTTP response headers in the output.
>
> *Reference links:*
>
>- *Logging documentation* - 
>
> *https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging*
>  
>
> 
>  
>- *Request* - 
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>
> 
>  
>- *Response* - 
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>
> 
>  
>- *Request-id *- 
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>
> 
>  
>
>
> Have a great day.
>  
> This message is in relation to case "ref:_00D1U1174p._5004Q2lw59Y:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae4f1f37-2ad0-4c5b-b07b-e7190899465dn%40googlegroups.com.


Re: keyword_forecasts field has disappeared in generateforecastmetricsresponse

2023-07-04 Thread Aqeel Ashraf
Hi,

I generate an issue in GitHub Issue Tracker and finally manage to make it 
workable. But now, I have an issue with the response. 

I need to get the response against the multiple keywords, but it only 
returns the response against the last keyword I used. I raised the same 
issue at GitHub Issue tracker (
https://github.com/googleads/google-ads-php/issues/920) but I received 
following response:


*Since it's related to the result of the API server, could you please ask 
on the Google Ads API forum 
?Make 
sure you also share your request and response log. Thank you.  *

Let me explain below:
Please see the keyword that I passed one keyword at a time: 

*Keyword:* plombier 
*Response:* A 
--- 

*Keyword:* garde meuble 
*Response:* B 
--- 

*Keyword:* location voiture 
*Response:* C 
--- 

Like I mentioned above, all 3 keyword shows different response but when I 
pass all keywords in one request, what I get: 

*Keyword:* plombier, garde meuble, location voiture 
*Response:* C (Which is same when I pass single keyword: location voiture) 
--- 

*Keyword:* location voiture, plombier, garde meuble 
*Response:* B (Which is same when I pass single keyword: garde meuble) 
--- 

*Keyword:* location voiture, garde meuble, plombier 
*Response:* A (Which is same when I pass single keyword: plombier) 
--- 

So, it works fine when I use one keyword but in case of multiple keywords, 
the response should not be the same as per the last keyword I used. Please 
let me know if you guys need further details. Log file is also attached. 
Thanks

On Tuesday, 20 June 2023 at 00:11:13 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi Aqeel,
>
> Thanks for getting back to us.
>
> There is no definite timeline for the availability for code examples in 
> our documentation. However, you may also check with the Client library 
> owner by opening an issue with the Issue Tracker in GitHub with your chosen 
> *client 
> library* . 
> This message is in relation to case "ref:_00D1U1174p._5004Q2lw59Y:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8ef9c602-7bfc-412d-99d3-47d5d63643c1n%40googlegroups.com.
[2023-07-04T12:22:57.918817+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics",
 CustomerId: 8459742678, RequestId: "W42_wJVZVUYV73mm-dLl-g", IsFault: 0, 
FaultMessage: "None"  
[2023-07-04T12:22:57.919023+00:00] google-ads.DEBUG: Request
---
Method Name: 
/google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.27 gccl\/19.2.0 gapic\/19.2.0 gax\/1.19.1 
grpc\/1.42.0 rest\/1.19.1 pb\/3.19.1+c",
"x-goog-request-params": "customer_id=8459742678",
"developer-token": "REDACTED"
}
Request: 
{"customerId":"8459742678","forecastPeriod":{"startDate":"2023-07-05","endDate":"2024-07-04"},"campaign":{"languageConstants":["languageConstants/1002"],"geoModifiers":[{"geoTargetConstant":"geoTargetConstants/2250"}],"keywordPlanNetwork":"GOOGLE_SEARCH","biddingStrategy":{"maximizeClicksBiddingStrategy":{"dailyTargetSpendMicros":"1","maxCpcBidCeilingMicros":"100"}},"adGroups":[{"biddableKeywords":[{"keyword":{"text":"plombier\r","matchType":"EXACT"}},{"keyword":{"text":"garde
 meuble\r","matchType":"EXACT"}},{"keyword":{"text":"location 
voiture","matchType":"EXACT"}}]}]}}

Response
---
Headers: {
"content-disposition": "attachment",
"request-id": "W42_wJVZVUYV73mm-dLl-g",
"date": "Tue, 04 Jul 2023 12:22:57 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
Response: 

Re: keyword_forecasts field has disappeared in generateforecastmetricsresponse

2023-07-04 Thread Aqeel Ashraf
Hi,

I generate an issue in GitHub Issue Tracker and finally manage to make it 
workable. But now, I have an issue with the response. 

I need to get the response against the multiple keywords, but it only 
returns the response against the last keyword I used. I raised the same 
issue at GitHub Issue tracker (
https://github.com/googleads/google-ads-php/issues/920) but I received 
following response:


*Since it's related to the result of the API server, could you please ask 
on the Google Ads API forum 
?Make 
sure you also share your request and response log. Thank you.  *

Let me explain below:
Please see the keyword that I passed one keyword at a time: Keyword: 
plombier Response: A --- Keyword: garde meuble 
Response: B --- Keyword: location voiture Response: 
C --- Like I mentioned above, all 3 keyword shows 
different response but when I pass all keywords in one request, what I get: 
First request: Keyword: plombier, garde meuble, location voiture Response: 
C (Which is same when I pass single keyword: location voiture) 
--- Keyword: location voiture, plombier, garde 
meuble Response: B (Which is same when I pass single keyword: garde meuble) 
--- Keyword: location voiture, garde meuble, 
plombier Response: A (Which is same when I pass single keyword: plombier) 
--- My point is that the response should not be the 
same as per the last keyword I used. Please let me know if you guys need 
further details. Thanks

On Tuesday, 20 June 2023 at 00:11:13 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi Aqeel,
>
> Thanks for getting back to us.
>
> There is no definite timeline for the availability for code examples in 
> our documentation. However, you may also check with the Client library 
> owner by opening an issue with the Issue Tracker in GitHub with your chosen 
> *client 
> library* . 
> This message is in relation to case "ref:_00D1U1174p._5004Q2lw59Y:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d021fcf6-8ed4-41c6-8336-6d768290df0dn%40googlegroups.com.
[2023-07-04T12:22:57.918817+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics",
 CustomerId: 8459742678, RequestId: "W42_wJVZVUYV73mm-dLl-g", IsFault: 0, 
FaultMessage: "None"  
[2023-07-04T12:22:57.919023+00:00] google-ads.DEBUG: Request
---
Method Name: 
/google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.27 gccl\/19.2.0 gapic\/19.2.0 gax\/1.19.1 
grpc\/1.42.0 rest\/1.19.1 pb\/3.19.1+c",
"x-goog-request-params": "customer_id=8459742678",
"developer-token": "REDACTED"
}
Request: 
{"customerId":"8459742678","forecastPeriod":{"startDate":"2023-07-05","endDate":"2024-07-04"},"campaign":{"languageConstants":["languageConstants/1002"],"geoModifiers":[{"geoTargetConstant":"geoTargetConstants/2250"}],"keywordPlanNetwork":"GOOGLE_SEARCH","biddingStrategy":{"maximizeClicksBiddingStrategy":{"dailyTargetSpendMicros":"1","maxCpcBidCeilingMicros":"100"}},"adGroups":[{"biddableKeywords":[{"keyword":{"text":"plombier\r","matchType":"EXACT"}},{"keyword":{"text":"garde
 meuble\r","matchType":"EXACT"}},{"keyword":{"text":"location 
voiture","matchType":"EXACT"}}]}]}}

Response
---
Headers: {
"content-disposition": "attachment",
"request-id": "W42_wJVZVUYV73mm-dLl-g",
"date": "Tue, 04 Jul 2023 12:22:57 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
Response: 

Re: empty response from $keywordplanserviceclient->generateforecastmetrics

2023-06-21 Thread Aqeel Ashraf
I manage to move 1 step further. Please see details below:

$KeywordPlanIdeaServiceClient = $googleAdsClient->
getKeywordPlanIdeaServiceClient();
$reqArr = array("customerId" => $customerId, "currencyCode" => "EUR");
$generateKeywordForecastMetricsResponse = $KeywordPlanIdeaServiceClient->
generateKeywordForecastMetrics(
$campaigntoforecast, $reqArr);

When I run the above, it shows following error:

Request with ID McC5p-yikN36-NZTR_snFg has failed. Google Ads failure 
details:date_error: The string date's format
should be -mm-dd.

If I pass the date range, then it start showing Internal Server Error, 
please see below how I am passing the date range:

$KeywordPlanIdeaServiceClient = $googleAdsClient->
getKeywordPlanIdeaServiceClient();
$reqArr = array(
"customerId" => $customerId, 
"currencyCode" => "EUR", 
"forecastPeriod" => array(
"start_date" => "2023-07-1", 
"end_date" => "2024-06-30"
)
);
$generateKeywordForecastMetricsResponse = $KeywordPlanIdeaServiceClient->
generateKeywordForecastMetrics(
$campaigntoforecast, $reqArr);

Could you please have a look on above code and help send the forecastPeriod 
(date range) in correct format. Thanks


On Tuesday, 20 June 2023 at 21:26:49 UTC+5 Aqeel Ashraf wrote:

> Hi,
>
> When tried to call the generate keyword forecast metrices, then it shows 
> "Internal Server Error", please see my code snipped below:
>
> $generateKeywordForecastMetricsResponse = $KeywordPlanIdeaServiceClient->
> generateKeywordForecastMetrics(
> ResourceNames::forKeywordPlanCampaign($customerId, 
> $keywordCampaignId)
> );
>
> The above code generates error, could you please let me know what's wrong 
> in above code? Thanks
> On Thursday, 15 June 2023 at 13:03:19 UTC+5 Google Ads API Forum Advisor 
> wrote:
>
>> Hi Aqeel,
>>
>> Thank you for getting back to us. 
>>
>> Moving forward to your concern, I am afraid that the sample code for 
>> KeywordPlanCampaignForecstMetrics is not available in all client libraries 
>> yet. However, you may try it using the API explorer. You may follow this 
>> *document* to generate metrics. You may also check this link 
>> https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/generateKeywordForecastMetrics
>>  
>> as a reference for Rest API.
>>
>> *Reference link*: 
>>
>>- *document* - 
>>
>> https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics#generate-metrics
>>  
>>
>>
>> Let us know if this helps.
>>
>>   
>> This message is in relation to case "ref:_00D1U1174p._5004Q2m9VpD:ref"
>>
>> Thanks,
>>   
>> [image: Google Logo] Google Ads API Team 
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2812fdca-3726-4f46-a201-d89e21b56306n%40googlegroups.com.


Re: empty response from $keywordplanserviceclient->generateforecastmetrics

2023-06-20 Thread Aqeel Ashraf
Hi,

When tried to call the generate keyword forecast metrices, then it shows 
"Internal Server Error", please see my code snipped below:

$generateKeywordForecastMetricsResponse = $KeywordPlanIdeaServiceClient->
generateKeywordForecastMetrics(
ResourceNames::forKeywordPlanCampaign($customerId, 
$keywordCampaignId)
);

The above code generates error, could you please let me know what's wrong 
in above code? Thanks
On Thursday, 15 June 2023 at 13:03:19 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi Aqeel,
>
> Thank you for getting back to us. 
>
> Moving forward to your concern, I am afraid that the sample code for 
> KeywordPlanCampaignForecstMetrics is not available in all client libraries 
> yet. However, you may try it using the API explorer. You may follow this 
> *document* to generate metrics. You may also check this link 
> https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/generateKeywordForecastMetrics
>  
> as a reference for Rest API.
>
> *Reference link*: 
>
>- *document* - 
>
> https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics#generate-metrics
>  
>
>
> Let us know if this helps.
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2m9VpD:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3065e44a-8821-4346-97ef-8c188a9bfe7cn%40googlegroups.com.


Re: keyword_forecasts field has disappeared in generateforecastmetricsresponse

2023-06-14 Thread Aqeel Ashraf
Hi,

I tried but not able to get any help from guide (
https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics#generate-metrics).
 
Could you guys please let us know when we will be able to see an example? 
Thanks

On Tuesday, 13 June 2023 at 11:45:15 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi all,
>
> Thank you for getting back to us.
>
> Please see my responses for your concerns respectively.
>
>- *“Is there any example available of how to 
>use KeywordPlanCampaignForecast. I can't find the like it is available for 
>Generate Forecast Metrics 
>
> (https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics
>  
>
> )”*
>  
>   - You may check this guide (​​
>   
> https://developers.google.com/google-ads/api/rest/reference/rest/v13/customers.keywordPlans/generateForecastMetrics#keywordplancampaignforecast)
>  
>   for reference in using *KeywordPlanCampaignForecast*. You may try 
>   using the API explorer (
>   
> https://developers.google.com/google-ads/api/rest/reference/rest/v13/customers.keywordPlans/generateForecastMetrics?apix=true#KeywordPlanCampaignForecast)
>  
>   for customizing and validating your request body. Please let us know 
> how it 
>   goes.  
>- *“After a lot of hours i didn't find a way for replace the existing 
>code to get a response” and “The documented examples Google Ads API Forum 
>Advisor linked in that post / documentation are not functional. They also 
>return null values.”* 
>   -  Regarding these concerns, as mentioned in our previous response, 
>   starting June 1, the *GenerateForecastMetricsRequest *(
>   
> *https://developers.google.com/google-ads/api/reference/rpc/v13/GenerateForecastMetricsRequest*
>  
>   
> 
>  ) 
>   will still be used to fetch forecasts, but the 
> KeywordPlanAdGroupForecast 
>   and KeywordPlanKeywordForecast will be empty. The 
>   *KeywordPlanCampaignForecast* (
>   
> *https://developers.google.com/google-ads/api/reference/rpc/v13/KeywordPlanCampaignForecast*
>  
>   
> )
>  
>   will be returned as usual.  
>
> There is no example for using *KeywordPlanCampaignForecast *for now. In 
> the meantime, you may refer to this guide (
> https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics#generate-metrics
> ). 
> This message is in relation to case "ref:_00D1U1174p._5004Q2lw59Y:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c3ad4e83-c488-4a46-bf52-c619333dn%40googlegroups.com.


Re: keywordplanserviceclient.generateforecastmetrics: response []

2023-06-13 Thread Aqeel Ashraf
Hi,

I upgraded to V14. As GenerateForecastMetrics is removed, is there any 
example available for GenerateKeywordForecastMetrics()? So, I can see how I 
can use that and implement in my code. Thanks

On Thursday, 8 June 2023 at 20:57:13 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hello,
>
> Welcome to Google Ads API Support team. Thank you for reaching out to us.
>
> For us to investigate further on your concern, would you be able to share 
> to us the complete *request *and *response* logs with *request id *and 
> *request 
> header* generated on your end.
>
> Note that these logs can be requested or provided to the developer 
> handling the Google Ads API transactions when logging of the API requests 
> has been enabled. You may check here (
> https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging)
>  and 
> click your client library for the specific guideline to enable it.
>
> For REST interface requests, you can enable logging via the curl command 
> by using the -i flag. This will cause the tool to include the HTTP response 
> headers in the output.
>
> Links to the highlighted words above: 
>
>- *request* - 
>
> https://developers.google.com/google-ads/api/docs/concepts/field-service#request
>  
>- *response* - 
>
> https://developers.google.com/google-ads/api/docs/concepts/field-service#response
>  
>- *request id* - 
>
> https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id
>  
>- *request header *- 
>
> https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers
>  
>
>
> You may send the requested details privately via “Reply To Author” option. 
> If that option is not available to you, send it directly to 
> googleadsa...@google.com instead, and let us know here once it is 
> provided.
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2m9VYW:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/30cc5d9c-48f9-47f5-a730-87d565017b6dn%40googlegroups.com.


Re: empty response from $keywordplanserviceclient->generateforecastmetrics

2023-06-13 Thread Aqeel Ashraf
Hi,

I upgraded to V14. As GenerateForecastMetrics is removed, is there any 
example available for GenerateKeywordForecastMetrics()? So, I can see how I 
can use that and implement in my code. Thanks

On Friday, 9 June 2023 at 00:05:32 UTC+5 Google Ads API Forum Advisor wrote:

> Hi Aqeel,
>
> Thank you for reaching out to the Google Ads API support team.
>
> With regard to your concern, can you confirm if you already check this 
> blog post (
> https://ads-developers.googleblog.com/2023/04/ad-group-and-keyword-forecasts-being.html)
>  
> with regard to Ad group and keyword forecasts being removed in the Google 
> Ads API? If you haven't seen it yet, kindly check it and if you are using 
> KeywordPlanAdGroupForecast or KeywordPlanKeywordForecast in your 
> applications, update your applications to ensure that they can handle blank 
> responses.
>
> If this is not what is happening to you, kindly provide us with the 
> complete request and response logs with request ID generated in the API 
> side. This is so we could further investigate and provide appropriate 
> guidance. You can provide it via Reply privately to the author option. If 
> this option is not available, then send it instead on this email address 
> *googleadsa...@google.com*.
>
> Reference Links:
>
>- request -
> 
> https://developers.google.com/google-ads/api/docs/concepts/field-service#request
>  
>
> 
>  
>- response -
> 
> https://developers.google.com/google-ads/api/docs/concepts/field-service#response
>  
>
> 
>  
>- request ID -
> 
> https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id
>  
>
> 
>  
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2m9VpD:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>  
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2d50a125-6eaf-45b0-bf5b-640af18a318an%40googlegroups.com.


Re: keyword_forecasts field has disappeared in generateforecastmetricsresponse

2023-06-06 Thread Aqeel Ashraf
Hi,

Is there any example available that how to use  
*KeywordPlanCampaignForecast* 

I can't find the like it is available for Generate Forecast Metrics 
(https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics)

On Tuesday, 6 June 2023 at 17:20:40 UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thanks for reaching out to Google Ads API Forum.
>
> With regards to your concern, based on our *Blog* post 
> KeywordPlanAdGroupForecast and KeywordPlanKeywordForecast will be 
> deprecated in the Google Ads API. This change will be effective on *June 
> 1, 2023*. 
>
> Starting June 1, the *GenerateForecastMetricsRequest* will still be used 
> to fetch forecasts, but the KeywordPlanAdGroupForecast and 
> KeywordPlanKeywordForecast will be empty. The 
> *KeywordPlanCampaignForecast* will be returned as usual. If you are using 
> KeywordPlanAdGroupForecast or KeywordPlanKeywordForecast in your 
> applications, update your applications to ensure that they can handle blank 
> responses. 
>
> Links included in this email:
>
>- *Blog* - 
>
> *https://ads-developers.googleblog.com/2023/04/ad-group-and-keyword-forecasts-being.html*
>  
>
> 
>  
>- *GenerateForecastMetricsRequest* - 
>
> *https://developers.google.com/google-ads/api/reference/rpc/v13/GenerateForecastMetricsRequest*
>  
>
> 
>  
>- *KeywordPlanCampaignForecast* - 
>
> *https://developers.google.com/google-ads/api/reference/rpc/v13/KeywordPlanCampaignForecast*
>  
>
> 
>  
>- *Generate Forecast Metrics* - 
>
> *https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics*
>  
>
> 
>  
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2lw59Y:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7dcaa603-6389-4151-b35c-71d233bc3184n%40googlegroups.com.


Re: Google Ads API - Generate forecast metrics

2023-06-06 Thread Aqeel Ashraf
Hi,

I am facing the same issue and didn't get any help yet. Still trying to 
find the solution. 

On Tuesday, 6 June 2023 at 21:08:50 UTC+5 Mnk wrote:

> It's very strange, i check on documentation but i see nothing... 
>
> But now, this (below) return an empty object... This is why i the foreach 
> dosen't work.
> var_dump($generateForecastMetricsResponse->getKeywordForecasts())
>
> I verify the keyword plan ID , it's Correct !
>
> I don't find a way for check the keyword inside the plan but i didn't 
> change anything...
>
> Big blur !
> Le lundi 5 juin 2023 à 16:13:02 UTC+3, Mnk a écrit :
>
>> Hey All,
>>
>> The *Generate forecast metrics* still working in your side?
>>
>> In my side, nothing change in my code and the API return nothing.
>>
>> No errors, no result, nothing.
>>
>> So i get a success from the API without the amout prevision.
>>
>> Just for be sure i update my PHP library ( 17.1.0 to the last one 19.1.0) 
>> but still nothing.
>>
>> Thanks for keep me updated if they are a problem in google side or 
>> something new to adapt ?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52f26fd9-0ad2-430e-9d67-1386e2ac1674n%40googlegroups.com.


KeywordPlanServiceClient.generateForecastMetrics: response []

2023-06-05 Thread Aqeel Ashraf
Hi,

When I call KeywordPlanServiceClient.generateForecastMetrics it returns 
empty array. I checked parameter values are fine. Please see below code 
snippet:

$generateForecastMetricsResponse = $keywordPlanServiceClient->
generateForecastMetrics(
ResourceNames::forKeywordPlan($customerId, $keywordPlanId)
);

It returns empty array []. It was working till yesterday but suddenly today 
it start send empty response. Any idea?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9bf7fff1-bdda-4461-8782-1ef87b6c8601n%40googlegroups.com.


Empty response from $keywordPlanServiceClient->generateForecastMetrics

2023-06-05 Thread Aqeel Ashraf
Hi,

I am using google-ads-php. It was working fine till tomorrow. Today we 
start getting empty response when I call:

$keywordPlanServiceClient = $googleAdsClient->getKeywordPlanServiceClient();

$estimateResults = array();
$retArray = array();
$strKeywords = explode(PHP_EOL, $_REQUEST['search_keywords']);
// Issues a request to generate forecast metrics based on the 
specific keyword plan ID.
$generateForecastMetricsResponse = $keywordPlanServiceClient->
generateForecastMetrics(
ResourceNames::forKeywordPlan($customerId, $keywordPlanId)
);
var_dump($generateForecastMetricsResponse);

Please let me know what will be the reason. I am using example 
AddKeywordPlan.php, using v12. Why it suddenly getting empty response?

Waiting for quick  response.

Aqeel Ashraf

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7bf548eb-7b2c-4694-89c1-e6a76262ec77n%40googlegroups.com.


Re: Generate Forecast Metrics returns Quite different response than AdWords API

2022-04-29 Thread Aqeel Ashraf
Hi Aryeh,

Thanks for your help and support and I manage to make it work. Now I found 
one more issue. I create a KeywordPlanCampaign with one location, it worked 
fine. I need to create a KeywordPlanCampaign with multiple locations, how 
can I send multiple locations. Below you can see the code to set one 
location:

$keywordPlanCampaign->setGeoTargets([
new KeywordPlanGeoTarget([
'geo_target_constant' => 
ResourceNames::forGeoTargetConstant(2250)
])
]);

Looking for quick help. Thanks

On Thursday, 14 April 2022 at 23:47:37 UTC+5 adsapi wrote:

> Hi Aqeel, 
>
> You may try in Ads API to set the KeywordPlanNetwork field 
> to GOOGLE_SEARCH_AND_PARTNERS, or use the network settings 
> 
>  
> in AdWords API and then multiply the results from AdWords API by the amount 
> of days in one quarter of a year to match your next quarter setting as 
> close as possible. For PHP samples you may reach out to the issue tracker 
> of each library.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W5LON:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe5dbf11-7515-42cf-80e9-453b7f9f3615n%40googlegroups.com.


Re: Generate Forecast Metrics returns Quite different response than AdWords API

2022-04-13 Thread Aqeel Ashraf
Hi Ernie,

Thanks for the message. For adwards api, I used EstimateKeywordTraffic.php, 
available in examples and get the results. For Ads API, again I used the 
examples AddKeywordPlan.php and after creating the plan, then 
GenerateForecastMetrics.php to get the results.

As you mentioned about network, Google Ads API example uses GOOGLE_SEARCH 
as network, I tried to set UNKNOWN OR UNSPECIFIED but that didn't work. So 
the keep using the  GOOGLE_SEARCH, but in Adwords API, how can I set the 
network? because I didn't find any possibility 
in EstimateKeywordTraffic.php.

Could you please help me in migration from Adwords API's  
EstimateKeywordTraffic.php to Goole Ads API, that returns similar results. 
If you want, I will send the files as well. Thanks

On Thursday, 7 April 2022 at 11:33:45 UTC+5 adsapi wrote:

> Hi Aqeel,
>
> Thank you for providing more details to your concern.
>
> I would like to inform you that I deleted your latest post as it contains 
> generated logs.
>
> Moving forward, I can see that the Google Ads API request is not properly 
> mapped with the AdWords API request. I can see that you've set the 
> *network* in the Google Ads API but not in the AdWords API. With this, 
> please ensure on your end that the parameters you've set to both APIs 
> should be the same, specifically the network.
>
> As for your concern in the UI, I am afraid that this is outside of our 
> scope already and would not be able to provide support here. With this, I 
> would suggest reaching out to the product team via this link 
>  to know the equivalent UI 
> of the said API request.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W5LON:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4df849ae-f5fd-4b9c-bcff-b5afea6a4d7en%40googlegroups.com.


Re: Generate Forecast Metrics returns Quite different response than AdWords API

2022-04-06 Thread Aqeel Ashraf
Hi Teejay,

Sorry for the delay response as I was not available last month.

Please find the attached log files. Please have a look and let me know if 
it helps. Also is a way / UI available where I can generate the Forecast 
and compare with generated response from API. Thanks


On Wednesday, 16 February 2022 at 10:42:37 UTC+5 adsapi wrote:

> Hi Aqeel,
>
> I work along with Ernie and Aryeh. 
>
> As per checking with the attached file, it appears that you've provided a 
> different log. As mentioned by my colleague, Aryeh, in the Ads API 
> , the request 
> and response appears similar to the JSON Mappings in our REST 
> documentation 
> 
>  with 
> additional information such as  request ID 
> 
>  . 
> Our client libraries have loggers with logging instructions, to see these 
> instructions you can click on the client library you use in the sidebar of 
> our client library guide 
>  and 
> click on "Logging”.
>
> In the AdWords API 
>  , a request 
> looks like the 3rd section in request 
> 
>  and 
> a response looks similar to response 
> .
>  
> Logging instructions are in the read.me on Github of each client library 
> .
>
> On the other hand, could you kindly share as well a screenshot of your 
> Google Ads UI showing the data discrepancy on your API response?
>
> Regards,
> [image: Google Logo] 
> Teejay Wennie 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W5LON:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/616f2ae8-72a3-4482-9c12-f4f0d66ac859n%40googlegroups.com.
[2022-04-06 21:23:17] AW_SOAP.INFO: clientCustomerId=843-323-4693 operations=1 
service=TrafficEstimatorService method=get responseTime=1191 
requestId=0005dc02f84215360a56d8967b0d04ca server=adwords.google.com isFault=0 
faultMessage=  
[2022-04-06 21:23:17] AW_SOAP.DEBUG: POST 
/api/adwords/o/v201809/TrafficEstimatorService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/7.4.27
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1597
Authorization: REDACTED


http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809; 
xmlns:ns2="https://adwords.google.com/api/adwords/o/v201809; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>843-323-4693REDACTEDunknown
 (AwApi-PHP, googleads-php-lib/41.0.0, 
PHP/7.4.27)falsefalseGarmentsEXACTClothingEXACTmoon
 
walkBROADtrue522501002

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Wed, 06 Apr 2022 21:23:17 GMT
Expires: Wed, 06 Apr 2022 21:23:17 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; 
ma=2592000; v="46,43"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked

http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201809; 
xmlns="https://adwords.google.com/api/adwords/o/v201809;>0005dc02f84215360a56d8967b0d04caTrafficEstimatorServiceget11191https://adwords.google.com/api/adwords/cm/v201809; 
xmlns="https://adwords.google.com/api/adwords/o/v201809;>CampaignEstimateAdGroupEstimateKeywordEstimate0.00.0Money00.00.0Money0KeywordEstimateMoney10801051.61616170714064980.045881480625762360.071944991.4112555Money86342Money13201291.3223140603344210.0560773679102521960.087932771.7248679Money105530KeywordEstimate0.00.0Money00.00.0Money0
  

Re: Generate Forecast Metrics returns Quite different response than AdWords API

2022-02-15 Thread Aqeel Ashraf
Hi,

I sent the reply using Reply to Author button but didn't received any 
response. I am sending again here. Please have a look on the log files and 
let me know what I need to update. Thanks

On Thursday, 10 February 2022 at 14:16:03 UTC+5 adsapi wrote:

> Hi Aqeel,
>
> Thank you for raising your concern.
>
> To further investigate the issue, could you provide the following details? 
>
>- Complete SOAP request 
>
> 
> and response 
>
> 
>  logs 
>generated in the AdWords API 
>- Complete request 
>
> 
> and response 
>
> 
>  logs 
>with request ID 
>
> 
> and request header 
>
> 
>  generated 
>on your end for Google Ads API 
>
>
> I would also suggest comparing the results of the 2 APIs in the UI and see 
> which APIs returned closer value. Please provide the screenshot of the UI 
> as well.
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W5LON:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3ffc200e-9a30-4dcc-a58e-896b2f0569c4n%40googlegroups.com.
[2022-02-10 22:37:29] AW_SOAP.INFO: clientCustomerId=843-323-4693 operations=1 
service=TrafficEstimatorService method=get responseTime=1235 
requestId=0005d7b1984d0d9c0ac17cceb40d36de server=adwords.google.com isFault=0 
faultMessage=  
[2022-02-10T22:17:13.833216+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanService/MutateKeywordPlans", 
CustomerId: 8459742678, RequestId: "ZKQ5j-70XtIdVPvcs1ScFg", IsFault: 0, 
FaultMessage: "None"  
[2022-02-10T22:17:14.154626+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns",
 CustomerId: 8459742678, RequestId: "ifL4TuwuA98A6NDYcaWuiQ", IsFault: 0, 
FaultMessage: "None"  
[2022-02-10T22:17:14.451608+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups",
 CustomerId: 8459742678, RequestId: "foXIYFW877WbOQceh3IZkw", IsFault: 0, 
FaultMessage: "None"  
[2022-02-10T22:17:14.733937+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanAdGroupKeywordService/MutateKeywordPlanAdGroupKeywords",
 CustomerId: 8459742678, RequestId: "0boV3iLNUC_84cltF_rKsQ", IsFault: 0, 
FaultMessage: "None"  
[2022-02-10T22:17:15.040228+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanCampaignKeywordService/MutateKeywordPlanCampaignKeywords",
 CustomerId: 8459742678, RequestId: "lTQgVEistfvfNLea2sAxRw", IsFault: 0, 
FaultMessage: "None"  
[2022-02-10T22:17:17.687316+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanService/GenerateForecastMetrics", 
CustomerId: "No customer ID could be extracted from the request", RequestId: 
"_Yee7QD3Uk8KVGYgyALl5Q", IsFault: 0, FaultMessage: "None"  
[2022-02-10T22:22:24.171922+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v9.services.KeywordPlanService/MutateKeywordPlans", 
CustomerId: 8459742678, RequestId: "j2t2ANkXGC0KhRT3sHmHEQ", IsFault: 0, 
FaultMessage: "None"  
[2022-02-10T22:22:24.487179+00:00] 

Re: Generate Forecast Metrics returns Quite different response than AdWords API

2022-02-09 Thread Aqeel Ashraf
In Old AdWords API, CPC values are far different then in New Google Ads 
API. I am using GenerateForecastMetrics example and update values as stated 
below:

*Keywords:*
garde meuble paris
location stockage paris
location garde meuble paris

*Location:* France
*Language:* French
*Match Type:* Exact

*Result:*
*  
  AdWords API Google Ads API  *
*KEYWORDS   CPC  -  CLICKS  
 CPC  -   CLICKS*
garde meuble paris  50.08 -283.5
   3.56 -   204.64
location stockage paris   43.21 -  39.6
   3.84 - 30.12
location garde meuble paris   52.77 -  29.1
   3.80 - 23.2

Please have a look on the above difference and let me know if anything I 
did wrong. Thanks

On Tuesday, 8 February 2022 at 19:31:04 UTC+5 Aqeel Ashraf wrote:

> Hi,
>
> We were using AdWords API's Estimate Keyword Traffic from last few years. 
> Now while upgrading to Google Ads API, I am using Generate Forecast 
> Metrics. I found too much result difference in both the APIs. Could you 
> please confirm if it is normal or do I need to send any specific value that 
> will return the same result for both the APIs. Thanks 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/54508d0a-7200-413e-9186-d3410952ae43n%40googlegroups.com.


Re: [ADS API v9] Metrics (cost per click) from Keyword Plan Ad Group Keywords

2022-02-08 Thread Aqeel Ashraf
Hi,

I am having the same issue. In Old AdWords API, CPC values are far 
different then in New Google Ads API. I am using GenerateForecastMetrics 
example and update values as stated below:

*Keywords:*
garde meuble paris
location stockage paris
location garde meuble paris

*Location:* France
*Language:* French
*Match Type:* Exact

*Result:*
*  
  AdWords API Google Ads API  *
*KEYWORDS   CPC  -  CLICKS  
 CPC  -   CLICKS*
garde meuble paris  50.08 -283.5
   3.56 -   204.64
location stockage paris   43.21 -  39.6
   3.84 - 30.12
location garde meuble paris   52.77 -  29.1
   3.80 - 23.2

Please have a look on the above difference and let me know if anything I 
did wrong. Thanks
On Thursday, 23 December 2021 at 11:31:43 UTC+5 adsapi wrote:

> Hi Lasse,
>
> Thank you for providing updates to our team.
>
> To further investigate the issue, could you provide the following details? 
>
>- Sample comparison where we can see the issue about data discrepancies 
>- Complete SOAP request 
>
> 
>  
>and response 
>
> 
>  
>logs generated in the AdWords API 
>- Complete request 
>
> 
> and response 
>
> 
>  logs 
>with request ID 
>
> 
> and request header 
>
> 
>  generated 
>on your end for Google Ads API 
>
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Also, could you try comparing the results of the 2 APIs in the UI? I said 
> this because the data that Google Ads API returns is more similar with what 
> is in the UI. 
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2TOHT2:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cb69ce4d-d6c6-4a21-a967-44dd60ed7ca7n%40googlegroups.com.


Generate Forecast Metrics returns Quite different response than AdWords API

2022-02-08 Thread Aqeel Ashraf
Hi,

We were using AdWords API's Estimate Keyword Traffic from last few years. 
Now while upgrading to Google Ads API, I am using Generate Forecast 
Metrics. I found too much result difference in both the APIs. Could you 
please confirm if it is normal or do I need to send any specific value that 
will return the same result for both the APIs. Thanks 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0fbfdd0b-00ea-497f-bc7c-1d8cfb6ee43dn%40googlegroups.com.


How can I pass more than one location in EstimatedKeywordTraffic API?

2019-08-28 Thread Aqeel Ashraf
Hi,

The example shows:

// Optional: Set additional criteria for filtering estimates.
// See http://code.google.com/apis/adwords/docs/appendix/countrycodes.html
// for a detailed list of country codes.
// Set targeting criteria. Only locations and languages are supported.
$unitedStates = new Location();
$unitedStates->setId(2840);

// See http://code.google.com/apis/adwords/docs/appendix/languagecodes.html
// for a detailed list of language codes.
$english = new Language();
$english->setId(1000);

$campaignEstimateRequest->setCriteria([$unitedStates, $english]);


What If I have to send more than one countries OR cities? How can I send 
that? Please let me know. Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/f1589ce2-6aa6-46bd-a576-949286029e89%40googlegroups.com.