Steps i followed
1. Create a new google account.
2. create a google ads manager account.
3. get a google ads developer token for test account.
4. setup cloud console by enabling the google ads api and api 
credentials(oauth client id and secret) and add same google account as test 
user in consent screen.
5. create a different google account and create a test manager account and 
test account in it.
6. setup client library in php and fill up configuration details placed in 
home directory (developer token of manager account, client id and secret of 
manager account id cloud console and login customer id of manager account)
7. command php authenticateindesktopapplication.php and get refresh token 
and then filling it in configuration file.
8. command php getcampaignsphp --customerId xxxxxxxxx (using the customer 
id of test account) is returning USER PERMISSION DENIED. 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.

But i did fill up login customer id in google_ads_php.ini file.

Can anyone please point out what am i m doing wrong here?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1c587dfe-ea37-4ffc-9e1c-0568bbddde8dn%40googlegroups.com.
  • No... Rahul Verma
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to