Re: Resource getting exhausted even in the standard access level developer token

2022-09-28 Thread Mario García
We are seeing the same issue using the REST API starting yesterday around 
5pm. CST
Here's the output from our log files. Also note the "Slow search response" 
message.

DEBUG: Tue Sep 27 2022 05:14:53:729 T204 Slow search response: 181162 msec 
for query SELECT 
segments.date,ad_group_criterion.criterion_id,ad_group.id,campaign.id,metrics.all_conversions,metrics.all_conversions_value,segments.conversion_action_name,segments.conversion_action_category
 
FROM webpage_view WHERE segments.date BETWEEN 20220730 AND 20220927
INFO: Tue Sep 27 2022 05:14:53:729 T204 SELECT 
segments.date,ad_group_criterion.criterion_id,ad_group.id,campaign.id,metrics.all_conversions,metrics.all_conversions_value,segments.conversion_action_name,segments.conversion_action_category
 
FROM webpage_view WHERE segments.date BETWEEN 20220730 AND 20220927
ERROR: Tue Sep 27 2022 05:14:53:729 T204 Unexpected response: [
   {
  "error" : {
 "code" : 429,
 "details" : [
{
   "@type" : 
"type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
   "errors" : [
  {
 "errorCode" : {
"quotaError" : "RESOURCE_EXHAUSTED"
 },
 "message" : "Too many requests. Retry in 900 seconds."
  }
   ],
   "requestId" : "eRoaCo0BFd5u5G8mwZqUjQ"
}
 ],
 "message" : "Resource has been exhausted (e.g. check quota).",
 "status" : "RESOURCE_EXHAUSTED"
  }
   }
]

On Wednesday, September 28, 2022 at 11:08:06 AM UTC-5 mayank...@pixis.ai 
wrote:

> Hi Peter,
>
> I have already attached the response above. Attaching it again here with 
> proper formatting:
>
> {
>
>   "error": {
> "code": 429,
> "message": "Resource has been exhausted (e.g. check quota).",
> "status": "RESOURCE_EXHAUSTED",
> "details": [
>   {
> "@type": "
> type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
> "errors": [
>   {
> "errorCode": {
>   "quotaError": "RESOURCE_EXHAUSTED"
> },
> "message": "Too many requests. Retry in 4 seconds.",
> "details": {
>   "quotaErrorDetails": {
> "rateScope": "ACCOUNT",
> "rateName": "Requests per service per method",
> "retryDelay": "4s"
>   }
> }
>   }
> ],
> "requestId": "AbXI0ljZWuRuXTaOaoTL5w"
>   }
> ]
>   }
> }
>
> *Request Id:* "AbXI0ljZWuRuXTaOaoTL5w"
>
> Also, everywhere it is mentioned that there is a specific system limit on 
> how many requests can be triggered concurrently. But what is that limit? I 
> need to know this because I will then keep my requests in such a way that 
> it does not lead to "*RESOURCE_EXHAUSTED*" error later. 
>
> This is the request type:
>
> https://googleads.googleapis.com/v11/customers/{CLIENT_CUSTOMER_ID}/googleAds:searchStream
>
> where the payload of the API is a query with "*search_term_view*".
>
>
> On Wednesday, September 28, 2022 at 9:04:44 PM UTC+5:30 adsapi wrote:
>
>> Hi Mayank,
>>
>> Thank you for reaching out to our API support team.
>>
>> You can refer to our API limits and quotas 
>>  
>> and Rate limits 
>> 
>>  
>> guides for more information on the API limits you need to consider.
>>
>> Also, so our team can further investigate and possibly raise this issue 
>> to the rest of our team, could you confirm if the issue persists? In 
>> addition, if the issue is still being encountered, could you also share the 
>> updated and complete request 
>> 
>>  
>> and response 
>> 
>>  
>> logs, and request-id 
>> 
>> ?
>>
>> You may then send the requested information via the *Reply privately to 
>> author* option. If this option is not available, you may send the 
>> details directly to our googleadsa...@google.com alias instead.
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2ehWcY: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

Re: StreamingResponseIterator from search_stream gets stuck

2022-09-27 Thread Mario García
We're still seeing this problem when streaming a large set of keywords from 
a customer account. It appears the request gets stuck and eventually the 
process times out. We have a query as follows:

  SELECT 
  ad_group_criterion.criterion_id, 
  ad_group_criterion.status,
  ad_group_criterion.keyword.match_type,
  ad_group_criterion.keyword.text, 
   ...
  FROM ad_group_criterion WHERE  ad_group_criterion.type = KEYWORD

and we use the searchStream API to process the results. The result set is 
very large, and could exceed  100,000 keywords but up until today we never 
had a problem with it.

On Tuesday, September 27, 2022 at 3:28:02 PM UTC-5 adsapi wrote:

> Hello Everyone,
>
> Thank you so much for providing all this information! I believe the issue 
> that was causing this was cleared up a few hours ago. I see our monitoring 
> is showing that traffic is back to normal. If you continue to have the same 
> issue, please respond back to me.
>
> Thanks,
> [image: Google Logo] 
> Nadine Wang 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2egwqd: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/387b2a4e-0d35-4034-8eb1-878035ecee0cn%40googlegroups.com.


Re: GAQL calls all giving INTERNAL_ERROR

2022-09-08 Thread Mario García
We're seeing the same error, but it appears to be for campaign queries only.

Mario Garcia
Adlucent
On Thursday, September 8, 2022 at 4:26:42 PM UTC-5 duca...@gmail.com wrote:

> Same here. Please let us know if you have ETA for the fix. Thanks! 
>
> On Thursday, September 8, 2022 at 2:20:07 PM UTC-7 Gavin wrote:
>
>> We also experienced the same error message for our calls to Google Ads 
>> starting from the same time. It looks like an outage in Google Ads API. Can 
>> someone please help confirm and have an ETA of the fix / mitigation?
>>
>>  {
>>   "StatusCode": 13,
>>   "Details": "Internal error encountered.",
>>   "RequestId": "cNNFoWWRq0oZh2XavHtxkQ",
>>   "Failure": {
>> "errors": [
>>   {
>> "errorCode": {
>>   "internalError": "INTERNAL_ERROR"
>> },
>>
>> "message": "An internal error has occurred."
>>   }
>> ],
>> "requestId": "cNNFoWWRq0oZh2XavHtxkQ"
>>   }
>> }
>>
>> Thanks,
>> Gavin
>>
>> On Thursday, September 8, 2022 at 1:59:33 PM UTC-7 j.e.frank wrote:
>>
>>> Starting around 4pm Eastern time, we started having all of our GAQL 
>>> calls fail with an INTERNAL_ERROR.  I don't know of any changes on our end 
>>> that might be relevant.  Is there a known issue with GAQL?
>>>
>>> Here is the logging output from one such call (with some info redacted 
>>> by me)
>>>
>>> 2022-09-08 16:56:55.387 [local] [grpc-default-executor-13] INFO 
>>>  c.g.ads.googleads.lib.request.detail - FAILURE REQUEST DETAIL.
>>> Request
>>> ---
>>> MethodName: 
>>> google.ads.googleads.v11.services.GoogleAdsService/SearchStream
>>> Endpoint: googleads.googleapis.com:443
>>> Headers: {developer-token=REDACTED, login-customer-id=REDACTED, 
>>> x-goog-api-client=gl-java/11.0.13 gccl/19.0.0 gapic/19.0.0 gax/2.6.1 
>>> grpc/1.41.0}
>>> Body: customer_id: "REDACTED"
>>> query: "SELECT campaign.id, campaign.name, campaign.status, 
>>> campaign.serving_status, campaign.advertising_channel_type, customer.id, 
>>> customer.descriptive_name, customer.currency_code, customer.time_zone, 
>>> campaign.end_date, campaign.start_date FROM campaign WHERE campaign.id 
>>> IN (REDACTED) ORDER BY campaign.id, customer.id"
>>>
>>>
>>> Response
>>> 
>>> Headers: 
>>> Metadata(content-type=application/grpc,request-id=oScB2XFX8vnV2mMf9fKkCw,date=Thu,
>>>  
>>> 08 Sep 2022 20:56:55 GMT,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")
>>> Body: null
>>> Failure message: errors {
>>>   error_code {
>>> internal_error: INTERNAL_ERROR
>>>   }
>>>   message: "An internal error has occurred."
>>> }
>>> request_id: "oScB2XFX8vnV2mMf9fKkCw"
>>>
>>> Status: Status{code=INTERNAL, description=Internal error encountered., 
>>> cause=null}.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8de7026a-6b3a-429a-b3c9-cbddb41c90c4n%40googlegroups.com.


Re: New Ads API Search Term View for shopping campaigns doesn't segment by product group

2022-01-06 Thread Mario García
I have the exact same question. Is there an update from the API team?

On Tuesday, December 7, 2021 at 10:39:39 AM UTC-6 serghei@gmail.com 
wrote:

> Sent all the details via email. Looking forward for a reply. Thank you!
>
> On Monday, December 6, 2021 at 4:23:27 PM UTC+2 adsapi wrote:
>
>> Hi,
>>
>> Thanks for reaching out to us.
>>
>> Could you please send a SOAP *request* 
>> 
>>  
>> and *response* 
>> 
>>  
>> logs of the report when you are able to segment the shopping search query 
>> reports by product groups ID, combined with a screenshot of the equivalent 
>> report in the UI that is segmented the same way that the API report is 
>> pulled, so that I can check better? 
>>
>> You may then send the requested information via the *Reply privately to 
>> author* option. If this option is not available, you may send the 
>> details directly to our googleadsa...@google.com alias instead.
>>
>> Regards, 
>> [image: Google Logo] 
>> Yasar 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2SbOEQ: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/95cdc6ff-7fff-4d7a-8e69-8b8e304414b4n%40googlegroups.com.


Ad approval status removed in v201705

2017-06-18 Thread Mario García


Ad approval status has been removed. The migration guide says we should use 
Policy Summary instead. But there isn’t a 1-1 mapping of status values:


Old Approval Status values (we used these in our app):
https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.AdGroupAd.ApprovalStatus

   - APPROVED
   - DISAPPROVED
   - FAMILY_SAFE
   - NON_FAMILY_SAFE
   - PORN
   - UNCHECKED
   - UNKNOWN

New Policy Summary values:
https://developers.google.com/adwords/api/docs/reference/v201705/AdGroupAdService.AdGroupAdPolicySummary

   - APPROVED
   - DISAPPROVED
   - APPROVED_LIMITED
   - ELIGIBLE
   - UNDER_REVIEW
   - SITE_SUSPENDED
   - UNKNOWN

Is anybody familiar, or have a good idea how to map these new values?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/855a45e7-b852-4bea-bc13-6d7aa1b15ea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.