UPDATE:

This issue was due to having incorrect Billing Setup ID. The Payment 
Profile ID (previously Billing ID) in the UI/Invoice is not the same as the 
Billing Setup ID. I used the query example at the following URL, which 
helped me identify the correct Billing Setup ID:

Billing Setup  |  Google Ads API  |  Google Developers 
<https://developers.google.com/google-ads/api/docs/billing/billing-setups>



On Tuesday, June 8, 2021 at 11:08:09 AM UTC-5 Koeppel Direct wrote:

> Hello,
>
> I'm getting the follow error when trying to list invoices. I think I have 
> the login, customer, and billing setup IDs all correct. Can someone please 
> help?
>
> {
>     "message": "The caller does not have permission",
>     "code": 7,
>     "status": "PERMISSION_DENIED",
>     "details": [
>         {
>             "@type": 0,
>             "data": "type.googleapis.com
> \/google.ads.googleads.v7.errors.GoogleAdsFailure"
>         },
>         {
>             "@type": 0,
>             "data": [
>                 {
>                     "errorCode": {
>                         "invoiceError": "UNKNOWN"
>                     },
>                     "message": "The error code is not in this version.",
>                     "details": {
>                         "unpublishedErrorCode": 
> "InvoiceError.BILLING_SETUP_NOT_APPROVED"
>                     }
>                 },
>                 {
>                     "errorCode": {
>                         "authorizationError": "ACTION_NOT_PERMITTED"
>                     },
>                     "message": "The user does not have permission to 
> perform this action on the resource or call a method."
>                 }
>             ]
>         },
>         {
>             "@type": 0,
>             "data": "I2tdux_xnammkOQ6REJa-A"
>         }
>     ]
> }
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4afbdc63-0329-4ce6-ba6d-8db08d71da3an%40googlegroups.com.

Reply via email to