Hi,
Thank you for reaching out to us. The INTERNAL_ERROR
<https://developers.google.com/google-ads/api/docs/common-errors#internalapierror>
occurs
when something unexpected happened while processing the request or the API
isn't functioning correctly due to a bug. I would suggest waiting for 30
seconds before retrying the request. Should the error persists, could you
provide the complete JSON request and response logs when you encountered
the error? If you haven't enabled logging yet, kindly provide the client
library you are using so I could assist you on how to do so. Please use
*reply
privately to author* option.
Regards,
Dave
Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 05/05/19 14:23:47 910107...@qq.com wrote:
I have encountered the same error. Can you solve it? How to solve it?
在 2019年4月8日星期一 UTC+8下午6:29:14,rhys.e...@siteloft.com写道:
I'm migrating our PHP app to the google ads api, I've setup the client
library and am ready to start making requests however I'm getting this
error for every request.
[2019-04-08 06:56:22] google-ads.NOTICE: Request
-------
Method Name: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.2.14 gapic\/ gax\/0.38.0 grpc\/1.19.0",
"developer-token": "REDACTED",
"login-customer-id": "455-424-4570"
}
Request: {"customerId":"265-055-1346","query":"SELECT campaign.name FROM
campaign"}
Response
-------
Headers: {
"date": "Mon, 08 Apr 2019 06:56:22 GMT",
"alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}
Fault
-------
Status code: 13
Details: Internal error encountered.
Failure: {}
Google/ApiCore/ApiException with message '{
"message": "Internal error encountered.",
"code": 13,
"status": "INTERNAL",
"details": []
}'
My code is pretty simple.
$adsService = $client->getGoogleAdsServiceClient();
$res = $adsService->search('2650551346', "SELECT campaign.name FROM
campaign");
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/71d7daf9-1d41-4afd-b27d-ba601001508f%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/71d7daf9-1d41-4afd-b27d-ba601001508f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/00d12emreg000000g3de7c0016gtu2w70mjidhh6oo30c1g68r36dhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.