I managed to get test access to the Google AdWords API (described here: https://github.com/googleads/googleads-php-lib <https://www.google.com/appserve/mkt/p/AFnwnKWJQaM2wsrm3NCplfWwqvmUMGEK5Dw916KBYsHjD4kC2wrLKNmQ03YqnmQRaoqVj8lcEcMLfPf-ReehMFS60Z87BmYdHZJmsTgRo5cA6O5mfRA>) by setting up
- an Ads Manager Account with a developer token (test) - a Test Ads Manager Account (with the red label "Test") - a Test Client Account (with the red labale "Test") After Setting Up OAUTH credentials and downloading adwords-examples-41.0.0.tar.gz, I was able to make a test call "GetCampaigns" via terminal. When I set up the laravel project, that was included in the above download, I got noticed that the above approach is deprecated. Thus, I followed this approach to use the updated library: https://github.com/googleads/google-ads-php/blob/master/README.md <https://www.google.com/appserve/mkt/p/AFnwnKXrE1wIEOR8_5cjpxLLBdNojp9vsHc-n-5nH9tAGMTSgyhWyDwVP4jtpbjYgmgfX9PBZZjHl4gee7VT6euCF6X78KOP8CBDYDiTv6OMGVLOOqeTHEaDAlDIF2-8ZH4t-7Pdybvl> After I run php examples/BasicOperations/GetCampaigns.php --customerId XYZXYZXYZX I get the following: Do I need to completely start over and discard my 3 test accounts? ApiException was thrown with message '{ "message": "The caller does not have permission", "code": 7, "status": "PERMISSION_DENIED", "details": [ { "@type": 0, "data": "type.googleapis.com \/google.ads.googleads.v2.errors.GoogleAdsFailure" }, { "@type": 0, "data": [ { "errorCode": { "authorizationError": "USER_PERMISSION_DENIED" }, "message": "User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https:\/\/ developers.google.com \/google-ads\/api\/docs\/concepts\/call-structure#login-customer-id" } ] } ] }'. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/72a59a1d-3039-41bf-b664-92409d2a6ff7%40googlegroups.com.
