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/57f70ed0-242a-4c17-aa5a-f21538273c30n%40googlegroups.com.
  • Ge... Stiofán Ó Riain
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Giang Nguyễn Trường
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to