Re: google ads api - generate forecast metrics

2023-06-09 Thread Patrick P
For anyone else following this, it appears like they updated their docs, 
nulled out and no longer have examples, but do finally have the right 
instructions 
here: 
https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics

Google team -- next time, might we please update docs & replace examples 
*before* we deprecate methods widely used for key things like forecasting?

On Friday, June 9, 2023 at 1:00:35 PM UTC-6 Google Ads API Forum Advisor 
wrote:

> Hi Aqeel,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> As per this* blog post* 
> ,
>  
> as stated above, you may note that 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.
>
> We recommend that you start updating your applications as soon as 
> possible. You can find more information about how to use 
> KeywordPlanCampaignForecast in the Google Ads API documentation 
> 
> .
>
> In addition, you may note that new Google Ads API v14 already released 
> with following release notes:
>
>1. Removed the following methods from *KeywordPlanService* 
>
> 
>: 
>
>
>- GenerateForecastCurve 
>- GenerateForecastMetrics 
>- GenerateForecastTimeSeries 
>- GenerateHistoricalMetrics 
>
> *Added KeywordPlanIdeaService.GenerateKeywordForecastMetrics 
> 
>  
> to support generating keyword campaign forecast metrics without the need of 
> creating a keyword plan first.*
>
> You may give it a try. For more information, you may check here: 
> *https://developers.google.com/google-ads/api/docs/release-notes* 
> 
>
> Let us know if you have further questions. 
> This message is in relation to case "ref:_00D1U1174p._5004Q2mA3EP: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/f3733d24-4b09-4c0d-ab73-786124c9d903n%40googlegroups.com.


Native Ad Custom Reporting Question

2023-06-09 Thread Melaina Tracy
Hi! 

I am looking to pull creative reporting for Native Ad user defined 
variables that I can't pull from regular GAM reporting. Someone suggested a 
Python script calling to the Goggle Ads API would be the best way to go. 
Any suggestions? I don't know Python myself, so just looking to to find out 
the best method for doing this and what to ask for. 

>From the creative settings tab I am looking to report on:
1) Settings - Name
2) User Defined Variables

   - List-Display-Logo (yes or no)
   - Text-Header
   - Text-Subheader
   - ListFlagOptions

Thank you! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c5064a6d-f5d2-4ecc-8f64-c061c89d2d16n%40googlegroups.com.


Re: identify call campaigns using api

2023-06-09 Thread Google Ads API and AdWords API Forum
Re-posting the last inquiry (
https://groups.google.com/g/adwords-api/c/J21BQjzMMns) from the forum as it 
wasn't routed to our support queue.

Regards,
Google Ads API Team
On Friday, June 9, 2023 at 6:48:55 PM UTC+8 vis...@optmyzr.com wrote:

> Hey,
>
> I am still waiting for your reply on this. Please let me know how we can 
> fetch the data we need.
> Have a great day.
>
> Thank you.
>
> On Wednesday, May 31, 2023 at 4:10:13 PM UTC+5:30 Vishal Tiwari wrote:
>
>> Hey,
>>
>> What you suggested above would give us the call assets at the campaign 
>> level. Instead, we wanted identification for call campaigns (reference - 
>> https://support.google.com/google-ads/answer/7159409?sjid=2256913285242502432-AP
>> ).
>> To confirm, I created a call campaign following the steps in the 
>> reference url mentioned, I got that campaign in campaign report but the 
>> campaign asset report was empty.
>>
>> Hoping for a quick reply.
>> Thank you.
>>
>>
>> On Thursday, May 11, 2023 at 11:17:46 PM UTC+5:30 Google Ads API Forum 
>> Advisor wrote:
>>
>> Hi, 
>>
>> Thank you for coming back to us and for providing information needed. I 
>> hope you are doing well today.
>>
>> With regards to your concern about call campaigns assets, you may try the 
>> sample query below for reference.
>>
>> SELECT campaign_asset.asset, campaign_asset.campaign, 
>> campaign_asset.source, campaign_asset.status, campaign_asset.resource_name, 
>> campaign_asset.field_type, campaign.resource_name, campaign.name, 
>> campaign.advertising_channel_type FROM campaign_asset WHERE 
>> campaign.advertising_channel_type = 'SEARCH' AND campaign_asset.field_type 
>> IN ('CALL', 'CALLOUT')
>>
>> Once you create a *call campaigns assets* (*Phone calls* shown from 
>> screenshot), you may use the above query and let us know if this is what 
>> you are looking for and how it goes on your end.
>>
>> If any issue occurs, you may provide an *uncropped screenshot of Google 
>> Ads UI *from your end or a* complete (request and response with 
>> request-id) logs* with request ID generated as shown in the respective 
>> links. This will help us to further assist you and investigate the issue.
>>
>> 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.
>>
>> You can provide these via the Reply privately to author option. If this 
>> option is not available, then send it instead on this email address 
>> *googleadsa...@google.com* .
>>
>> *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.
>>
>> Regards,
>> [image: Google Logo] Google Ads API Team 
>>
>> ref:_00D1U1174p._5004Q2lBrfR: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/6e11c8f5-46ca-460f-b1b2-a827febd2db8n%40googlegroups.com.


No module named 'google.ads.google_ads'

2023-06-09 Thread Pascal Flamand
Hi people! I'm using Replit and I'm trying to use Google Ads Api Package 
for Python and I get that message all the time:

Traceback (most recent call last):
  File "main.py", line 2, in 
from google.ads.google_ads.client import GoogleAdsClient
ModuleNotFoundError: No module named 'google.ads.google_ads'

I'm a Python beginner who need some help :)

Here are the packages version I'm using:

google-ads==21.1.0
gspread==5.9.0
oauth2client==4.1.3
google-auth==2.3.0
google-api-python-client==2.24.0

I went through everything I could but I can't find anything. 

Thank you 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a8bb00f8-9ee5-4397-b31c-7e77b045895dn%40googlegroups.com.


RE: google ads api - generate forecast metrics

2023-06-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Aqeel,

Thanks for reaching out to the Google Ads API Forum.

As per this blog post, as stated above, you may note that 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.

We recommend that you start updating your applications as soon as possible. You 
can find more information about how to use KeywordPlanCampaignForecast in the 
Google Ads API documentation.

In addition, you may note that new Google Ads API v14 already released with 
following release notes:

Removed the following methods from KeywordPlanService:

GenerateForecastCurve
GenerateForecastMetrics
GenerateForecastTimeSeries
GenerateHistoricalMetrics

Added KeywordPlanIdeaService.GenerateKeywordForecastMetrics to support 
generating keyword campaign forecast metrics without the need of creating a 
keyword plan first.

You may give it a try. For more information, you may check here: 
https://developers.google.com/google-ads/api/docs/release-notes

Let us know if you have further questions.

This message is in relation to case "ref:_00D1U1174p._5004Q2mA3EP:ref"

Thanks,

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/tTg1y0RW024A005QglmhYURBOMSd0Njoddhw%40sfdc.net.


RE: schema to extract search keyword attributes through api

2023-06-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Atul,

In addition, you can provide the needed information via the Reply privately to 
author option. If this option is not available, then send it instead on this 
email address googleadsapi-supp...@google.com.

This message is in relation to case "ref:_00D1U1174p._5004Q2m9zV1:ref"

Thanks,

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/qxR4K0RVZZ10001h6GTloKTqeiXrNkRf6P_A%40sfdc.net.


RE: schema to extract search keyword attributes through api

2023-06-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Atul,

Thanks for reaching out to the Google Ads API Team. I hope you are doing well 
today.

I understand that you want to extract average CPC and average CPM for the 
search keywords through API. However, for our team to provide accurate 
information and recommendations on this matter, could you please  provide us 
with complete or uncropped screenshots from the Google Ads UI?

“Please note that Google Ads API mirrors the Google Ads UI. Meaning by using 
the Google Ads API, you can get and manage the data that you are seeing in the 
UI.”

Your response is highly appreciated. Have a great day.

This message is in relation to case "ref:_00D1U1174p._5004Q2m9zV1:ref"

Thanks,

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/lcM6B0RVZYVG00HvFPI9zNSJuhwWrhfI4mdQ%40sfdc.net.


Re: Is automatic retry possible if "UNAVAILABLE" error occurs?

2023-06-09 Thread Google Ads API and AdWords API Forum
Re-posting the last inquiry 
(https://groups.google.com/g/adwords-api/c/GauIioOpooc) from the forum as 
it wasn't routed to our support queue.

Regards,
Google Ads API Team
On Friday, June 9, 2023 at 2:58:16 PM UTC+8 JIHoon Ock wrote:

> Thank you for looking at my question.
>
> Intermittent errors occur in the process of inquiring campaign information.
>
> ===
> Response
> 
> Headers: null
> Body: null
> Failure message: null
> Status: Status{code=UNAVAILABLE, description=io exception, 
> cause=io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException:
>  
> null: googleads.googleapis.com/2404:6800:4005:81c:0:0:0:200a:443
> Caused by: java.net.NoRouteToHostException
> at 
> io.grpc.netty.shaded.io.netty.channel.unix.Errors.newConnectException0(Errors.java:147)
> at 
> io.grpc.netty.shaded.io.netty.channel.unix.Errors.handleConnectErrno(Errors.java:128)
> at 
> io.grpc.netty.shaded.io.netty.channel.unix.Socket.connect(Socket.java:313)
> at 
> io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel.doConnect0(AbstractEpollChannel.java:773)
> at 
> io.grpc.netty.shaded.io.netty.channel.epoll.EpollSocketChannel.doConnect0(EpollSocketChannel.java:144)
> at 
> io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel.doConnect(AbstractEpollChannel.java:758)
> at 
> io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.connect(AbstractEpollChannel.java:600)
> at 
> io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1342)
> at 
> io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:548)
> at 
> io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:533)
> at 
> io.grpc.netty.shaded.io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:54)
> at 
> io.grpc.netty.shaded.io.grpc.netty.WriteBufferingAndExceptionHandler.connect(WriteBufferingAndExceptionHandler.java:157)
> at 
> io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:548)
> at 
> io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.access$1000(AbstractChannelHandlerContext.java:61)
> at 
> io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext$9.run(AbstractChannelHandlerContext.java:538)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
> at 
> io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
> at 
> io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:750)
> }.
> ===
> ▶ WARN  2023-06-09 12:14:30.629 [grpc-default-executor-23] 
> com.google.ads.googleads.lib.request.summary[logAtLevel:159] - FAILURE 
> REQUEST SUMMARY. Method: 
> google.ads.googleads.v13.services.GoogleAdsService/Search, Endpoint: 
> googleads.googleapis.com:443, CustomerID: {{id}}, RequestID: null, 
> ResponseCode: UNAVAILABLE, Fault: io exception.
> ▶ WARN  2023-06-09 12:14:31.553 [grpc-default-executor-23] 
> com.google.ads.googleads.lib.request.summary[logAtLevel:159] - FAILURE 
> REQUEST SUMMARY. Method: 
> google.ads.googleads.v13.services.GoogleAdsService/Search, Endpoint: 
> googleads.googleapis.com:443, CustomerID: {{id}}, RequestID: null, 
> ResponseCode: UNAVAILABLE, Fault: io exception.
> ▶ WARN  2023-06-09 12:14:31.966 [grpc-default-executor-23] 
> com.google.ads.googleads.lib.request.summary[logAtLevel:159] - FAILURE 
> REQUEST SUMMARY. Method: 
> google.ads.googleads.v13.services.GoogleAdsService/Search, Endpoint: 
> googleads.googleapis.com:443, CustomerID: {{id}}, RequestID: null, 
> ResponseCode: UNAVAILABLE, Fault: io exception.
> ▶ WARN  2023-06-09 12:14:39.793 [grpc-default-executor-23] 
> com.google.ads.googleads.lib.request.summary[logAtLevel:159] - FAILURE 
> REQUEST SUMMARY. Method: 
> google.ads.googleads.v13.services.GoogleAdsService/Search, Endpoint: 
> googleads.googleapis.com:443, CustomerID: {{id}}, RequestID: null, 
> ResponseCode: UNAVAILABLE, Fault: io exception.
> ▶ WARN  2023-06-09 12:14:45.906 [grpc-default-executor-23] 
> com.google.ads.googleads.lib.request.summary[logAtLevel:159] - FAILURE 
> REQUEST SUMMARY. Method: 
> goog

Re: GenerateForecastMetricsResponse doesn't include keyword forecasts

2023-06-09 Thread Patrick P

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: upload conversions and enhanced conversions with gclid via the api

2023-06-09 Thread Joachim Løvgaard
Thanks for your fast response.

On this 
page: 
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks 
(the first you reference) it states:

*Providing neither wbraid nor gbraid, but providing both gclid and 
user_identifiers: The gclid takes precedence.*

What that tells me is that the user identifiers (e.g. email, address 
information etc) is ignored if I add a gclid. Am I wrong about that?

If I am wrong then I will just upload a click conversion with the gclid and 
also include the user identifiers leaving me with *one* API call per 
conversion, which is great. Can you confirm?

On Friday, June 9, 2023 at 1:26:46 PM UTC+2 Google Ads API Forum Advisor 
wrote:

> Hello,
>
> Thanks for reaching out to Google Ads API Support.
>
> With regards to your concern, on uploading with a gclid and uploading 
> enhanced conversions, please refer to the API documentation below for more 
> details.
>
>- Upload Click Conversions - 
>
> *https://developers.google.com/google-ads/api/docs/conversions/upload-clicks* 
>
>  
>- Enhanced Conversion - 
>
> *https://developers.google.com/google-ads/api/docs/conversions/enhance-conversions*
>  
>
> 
>  
>
> I hope this information helps you. 
> This message is in relation to case "ref:_00D1U1174p._5004Q2m9sBR: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/176a9acd-93d6-4e43-916b-25092eaf960dn%40googlegroups.com.


GAQL: Escape % and _ in LIKE

2023-06-09 Thread FW API
Hi.

I would like to use % and _ literally in a LIKE filter.

How can I escape these special characters?

Does GAQL LIKE use other special characters besides these two?

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/660e061d-eae0-45a2-bde2-d94b5e6aac83n%40googlegroups.com.


Retireve info when the account is suspended

2023-06-09 Thread Κωστας Μαυρογαλος
Greetings,
I'm attempting to query the API about whether an account is suspended or 
not(V13 and using PHP, btw).
So far, attempting to query the API with the id of a suspended account 
returns a *Fault* and more specifically a *Status code:7* *Details: The 
caller does not have permission* and my script exits without any chance of 
processing the request*.*
Is there a way for someone to retrieve that piece of information? Whether 
an account is suspended or not, I mean.

If it helps, the Fault happens in this line:  $customer = 
$googleAdsServiceClient->search($customerId, 
$query)->getIterator()->current()->getCustomer();

Thank you in advance 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3a4c990d-fd62-40e4-920c-4a2ab232256cn%40googlegroups.com.


AdGroupAd review_status in response

2023-06-09 Thread Nghia Nguyen
Hi,
I have a quick question to ask. I tried to get my *policy_summary *in 
*AdGroupAd *and this is my GAQL queries:

*SELECT ad_group_ad.resource_name, 
ad_group_ad.policy_summary.approval_status, 
ad_group_ad.policy_summary.review_status FROM ad_group_ad*

But my response on *review_status *of *policy_summary* is kinda weird:












*  {"ad_group_ad": {  "resource_name": 
"customers/4812627607/adGroupAds/151333739204~660290471682",  
"policy_summary": {"approval_status": 1,
"review_statusfromad_group_adwheread_group_ad": null  },  "ad": {  
  "resource_name": "customers/4812627607/ads/660290471682"  }}  
}*

Is this a bug or something, its seem the *review_status *property of 
response is not right. I have screenshot of my response in my attachment, 
please take a look.
Best regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3fe82a2f-dbff-4c05-9923-59fd202d019bn%40googlegroups.com.


AdGroupAd review_status response

2023-06-09 Thread Nghia Nguyen
Hi,
I have a quick question to ask. I tried to get my *policy_summary *in 
*AdGroupAd 
*and this is my GAQL queries:

*SELECT ad_group_ad.resource_name, 
ad_group_ad.policy_summary.approval_status, 
ad_group_ad.policy_summary.review_status FROM ad_group_ad*

But my response on *review_status *of *policy_summary* is kinda weird:












*  {"ad_group_ad": {  "resource_name": 
"customers/4812627607/adGroupAds/151333739204~660290471682",  
"policy_summary": {"approval_status": 1,
"review_statusfromad_group_adwheread_group_ad": null  },  "ad": {  
  "resource_name": "customers/4812627607/ads/660290471682"  }}  
}*

Is this a bug or something, its seem the *review_status *property of 
response is not right. I have screenshot of my response in my attachment, 
please take a look.
Best regards,[image: Unt21itled.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf00eaa4-2098-4d8e-8519-778a2bb5a6f5n%40googlegroups.com.