Re: GetCampaigns.php Number of results found: 0

16 views
Skip to first unread message
Message has been deleted

Milind Sankeshware (AdWords API Team)

unread,
Oct 15, 2018, 3:24:03 PM10/15/18
to AdWords API and Google Ads API Forum
Hello, 

I deleted your post as it contains your confidential information such as oAuth credentials. In the future, you may refer to this post for guidelines on posting in this forum

On Monday, October 15, 2018 at 3:01:11 AM UTC-4, mts09...@gmail.com wrote:
I installed Google Ads API Client Library for PHP (AdWords and Ad Manager) from https://github.com/googleads/googleads-php-lib/
setup in adsapi_php.ini

developerToken = "get it from Production Manger Account **** API Center;Access level:Test Account"

get clientId and clientSecret from console.developer.google.com as shown in Console_developer.png
clientId = "******"
clientSecret = "******"

using the above clientId and clientSecret generate a refreshToken as shown in oauthPlayground.png
refreshToken = "******"

using ******* (Test Manager Account) and ****** (Test Client Account which is another Google Account) to run GetCampaigns.php 
Both of them get Number of results found: 0 as shown in Result.png
clientCustomerId = "******"

What wrong with my settings?
Thanks for your help!

Thanks,
Milind, AdWords API Team. 
Reply all
Reply to author
Forward
0 new messages