Re: error trying to get metrics.phone_calls for customer

2023-04-27 Thread JP Boily
You should update your doc then, as it's shown as Selectable in the doc in 
the Customer. :)

But thanks for the confirmation!

On Thursday, April 27, 2023 at 5:03:29 a.m. UTC-4 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for raising this concern to the Google Ads API support team.
>
> Regarding your concern, please note that the metrics.phone_calls is not a 
> compatible/selectable metric for the customer report and this is the reason 
> why you are getting the said error. Kindly note that for you to know what 
> fields that are compatible or selectable to a specific report, you will 
> need to select the '*Yes it is*' option in the dropdown of a specific 
> report. I would suggest using the *customer_query_builder* (
> https://developers.google.com/google-ads/api/fields/v13/customer_query_builder)
>  
> as this will greatly help you build and validate your query.
>
> Let us know if you have further questions.
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2kqou6: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/e4f31442-913a-4983-a24e-a2c9f2271dcbn%40googlegroups.com.


Error trying to get metrics.phone_calls for customer

2023-04-26 Thread JP Boily
Hey folks,

We're trying to fetch the number of phone calls (metrics.phone_calls) on a 
customer level with this query:

```
SELECT
  metrics.phone_calls
FROM customer
WHERE segments.date >= '2021-01-01'
  AND segments.date <= '2023-01-28'
```

We're getting this error:

 {"error"=>{"code"=>400, "message"=>"Request contains an invalid 
argument.", "status"=>"INVALID_ARGUMENT", 
"details"=>[{"@type"=>"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure",
 
"errors"=>[{"errorCode"=>{"queryError"=>"PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE"},
 
"message"=>"Cannot select or filter on the following metrics: 
'phone_calls'(could not support requested resources: 'CUSTOMER'), since 
metric is incompatible with the resource in the FROM clause or other 
selected segmenting resources."}], "requestId"=>"HIDDEN_FOR_YOU_FOLKS"}]}}

But it should work, according to the doc 

:

[image: Screenshot 2023-04-26 at 7.21.39 PM.png]

Which one is wrong, and which one is right?

I guess there is always the workaround of getting it on the campaign level 
and adding them all, but it's not ideal, if it should be supported anyways.

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/f4eacf83-23ff-4750-9cca-b615abc8a71cn%40googlegroups.com.


Re: Change in OAuth consent screen works? Need to manually check "Manage your AdWords campaigns"

2021-08-05 Thread JP Boily
Thanks for the quick reply.

I couldn't find a way to reach out to them through your link (which seems 
to be for Cloud Platform, billing and Google Maps) or the help section of 
the console.

I ended up replying to the verification email.

Crossing fingers.

On Thursday, August 5, 2021 at 1:06:46 a.m. UTC-4 adsapi wrote:

> Hi,
>
> Thanks for reaching out to us.
>
> Upon checking the screenshot shared with us, your concern does not appear 
> to be AdWords 
>  / Google Ads 
>  API related, 
> and since authorization scopes regarding OAuth consent screen is more of a 
> Google API Console scope. We recommend that you reach out to the Google API 
> Console Support team via this *link* 
>  instead.
>
> Let us know if you have any further questions.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HLrnz: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 
"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/21952801-d31a-4d69-b166-df470d83fd37n%40googlegroups.com.


Change in OAuth consent screen works? Need to manually check "Manage your AdWords campaigns"

2021-08-04 Thread JP Boily
Hey folks,

We're a reporting tool platform and have had a Google Ads integration for 
about a year or so. We've been verified.

For some unknown reason, we got unverified and had to go through the 
process all over again in mid-July.

Since then, when someone connects a Google Ads account, the behaviour of 
the scope "https://www.googleapis.com/auth/adwords; seems to have changed 
on the consent screen.

Prior to this, here is what it looked 
like: https://share.metricswatch.com/jku47K5z

Nothing to manually check on the consent screen.

Since then: https://share.metricswatch.com/2NulkBGr

The scopes didn't change. Nothing changed in the code.

Are we alone?

Is there different levels of verifications now or something like that?

Thanks so much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dbccfbf5-e871-46d2-8bc6-3c2461c845d8n%40googlegroups.com.


Re: Automic Endpoint Service rpc GET raise InternalServerError

2020-08-26 Thread JP Boily
Same here, for the last 10 hours or so I would say.

Everything else (that we use) seems to be working perfectly.

I tried upgrading the Ruby gem, didn't change anything. I looked at the 
sunset dates, thinking maybe something stopped working and it could have 
been planned, but nope, doesn't seem like it (using v2 of the API still 
here).

What are you all using in terms of API version and language/library? Just 
to see if it is across the board (it looks like it).
On Wednesday, August 26, 2020 at 3:55:30 a.m. UTC-4 hishid...@gmail.com 
wrote:

>
> We are experiencing the same error in CustomerService calls, too.
>
>
> https://googleads.googleapis.com/v3/customers/{ourId}?resourceName=customers%2F{ourId}
>  
> 
> ”
>
> request body: (empty)
> response body: { "message": "Internal error encountered.", "code": 13, 
> "status": "INTERNAL", "details": [] }
>
> We noticed this error about 1 hour ago.
>
> Is GoogleAds API in trouble?
> 2020年8月26日水曜日 16:04:54 UTC+9 travis...@gmail.com:
>
>> Hi, I found this issue today while using google-ads-python SDK:
>>
>> Try to invoke get operation on automic endpoints:
>> 1. CustomerService.get_customer
>> 2. ConversionActionService.get_conversion_action
>> 3. UserListService.get_user_list
>>
>> All of them raise an internal server error, e.g.
>>
>> ```
>> WARNING Request made: ClientCustomerId: None, Host: 
>> googleads.googleapis.com:443, Method: 
>> /google.ads.googleads.v3.services.UserListService/GetUserList, RequestId: 
>> None, IsFault: True, FaultMessage: Internal error encountered.
>> Traceback (most recent call last):
>>   File 
>> "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", 
>> line 57, in error_remapped_callable
>> return callable_(*args, **kwargs)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 221, in __call__
>> compression=compression)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 257, in _with_call
>> return call.result(), call
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 
>> 333, in result
>> raise self
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 247, in continuation
>> compression=new_compression)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 271, in with_call
>> compression=compression)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 257, in _with_call
>> return call.result(), call
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 
>> 333, in result
>> raise self
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 247, in continuation
>> compression=new_compression)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 271, in with_call
>> compression=compression)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 256, in _with_call
>> request)
>>   File 
>> "/usr/local/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
>>  
>> line 168, in intercept_unary_unary
>> self._handle_grpc_failure(response)
>>   File 
>> "/usr/local/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
>>  
>> line 140, in _handle_grpc_failure
>> raise self._get_error_from_response(response)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", 
>> line 247, in continuation
>> compression=new_compression)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 
>> 837, in with_call
>> return _end_unary_response_blocking(state, call, True, None)
>>   File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 
>> 729, in _end_unary_response_blocking
>> raise _InactiveRpcError(state)
>> grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that 
>> terminated with:
>> status = StatusCode.INTERNAL
>> details = "Internal error encountered."
>> debug_error_string = 
>> "{"created":"@1598424644.646624727","description":"Error received from peer 
>> ipv4:74.125.203.95:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Internal
>>  
>> error encountered.","grpc_status":13}"
>> ```
>>
>> I've check:
>> 1. The OAuth2 authentication
>> 2. Query with GoogleAdsService works fine
>> 3. For automic endpoints, some other operations such as LIST works fine.
>>
>> 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