*What versions of the client library and Google Ads API are you using?*
Client Library : Google Ads API Client Library for PHP v9.0.0
Google Ads API V7
*What environment are you using?*
PHP 7.3
Debian 10
gRPC
*Actions taken*
Just run the getInvoice example with this command:
php7.3 GetInvoices.php --customerId=XXXXX --billingSetupId=YYYYYY
*Expected result*
All the invoices related to the account.
*Actual result*
Method Name: /google.ads.googleads.v7.services.InvoiceService/ListInvoices
Host: googleads.googleapis.com Headers: { "x-goog-api-client":
"gl-php\/7.3.28-1+0~20210503.84+debian10~1.gbp6819da gapic\/ gax\/1.7.1
grpc\/1.37.1", "x-goog-request-params": "customer_id=XXXXX",
"developer-token": "REDACTED", "login-customer-id": "XXXXXXX" } Request:
{"customerId":"XXXXXXXXX","billingSetup":"customers\/XXXXXXXXXXXX\/billingSetups\/XXXXXXXXXXXXXXX","issueYear":"2021","issueMonth":"APRIL"}
Response ------- Headers: { "request-id": "25Y0Ww7141tqWpHB_-vbpA", "date":
"Tue, 18 May 2021 13:30:23 GMT", "alt-svc": "h3-29=\":443\";
ma=2592000,h3-T051=\":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\"" } Fault ------- Status
code: 13 Details: Internal error encountered. Failure:
{"errors":[{"errorCode":{"internalError":"INTERNAL_ERROR"},"message":"An
internal error has occurred."}],"requestId":"25Y0Ww7141tqWpHB_-vbpA"}
Request with ID '25Y0Ww7141tqWpHB_-vbpA' has failed. Google Ads failure
details: internal_error: An internal error has occurred.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/b3af3a68-6e7c-45b6-ab8a-1adb755923e7n%40googlegroups.com.