Hi all
I use developer token on localhost environment with error code
"DEVELOPER_TOKEN_NOT_APPROVED" .
Don't know how you fixed this error on localhost?
Can you help?
Thanks!
Vào lúc 18:16:23 UTC+7 ngày Thứ Ba, 8 tháng 2, 2022, Stiofán Ó Riain đã
viết:
> Hi all
>
> I am using the same code, same developer token, same everything.
>
> If I run the code on localhost it works fine. If I run it on domain.com I
> get the following error:
>
> *Fatal error*: Uncaught Google\ApiCore\ApiException: { "message": "The
> caller does not have permission", "code": 7, "status": "PERMISSION_DENIED",
> "details": [ { "@type":
> "type.googleapis.com\/google.ads.googleads.v8.errors.GoogleAdsFailure",
> "errors": [ { "errorCode": { "authorizationError":
> "DEVELOPER_TOKEN_NOT_APPROVED" }, "message": "The developer token is not
> approved. Non-approved developer tokens can only be used with test
> accounts." } ], "requestId": "Kz-OPMgsJ5oRs5gb18pQrg" } ] } thrown in
> */var/www/html/vendor/google-ads-php/vendor/google/gax/src/ApiException.php*
> on
> line *168*
>
> I have added domain.com to the Authorized JavaScript origins, added
> domain.com to the Authorized redirect URIs, and added domain.com to
> Authorized domains.
>
> I am using the same test accounts to test things.
>
> *Can you help?*
>
> 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 [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
"Google Ads API and AdWords 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/5827fd4f-921b-42ff-9537-85d319fb37b6n%40googlegroups.com.