Hi Jai, api.adwords.clientCustomerId should contain the customer id of your test account (i.e. the account that has the dummy campaign). An MCC account cannot have campaigns, hence the error message that no campaigns were found.
Cheers, Anash P. Oommen AdWords API Advisor. On Thursday, June 12, 2014 9:25:20 AM UTC-4, Jai pur wrote: > > Even I have the same problem "No Campaigns were found" > > Hi Guys, > > Firstly, I am new to Adwords. I have created one Test Mcc Account(Test mcc > account) and under this Test mcc account i have created one client > account(Dummy client account), and under this Dummy client account i have > created on Campaign(new bike campaign in india) and also provided > adgroups,adds and keywords. And now my problem is when i run > GetCampaigns.java from google Adwords Api program i have successfully > connected with correct authentication info but i am getting this message *"No > Campaigns were found"* even i have created campaign (new bike campaign in > india) under this client account (Dummy client account). Please once look > below details for my authentication setup provided in the ads.properties > file. > > api.adwords.clientId : > api.adwords.clientSecret : > (for both above clientId and clientSecret info i have given by creating a > project from this link https://console.developers.google.com by providing > with an authorized url). > api.adwords.clientCustomerId : provided Test mcc account client id (Dummy > client account). > api.adwords.developerToken : from my original mcc account (product mcc > account). > api.adwords.refreshToken : which is generated after running > GetRefreshToken.java from google Adwords Api. > > By providing above authentication credentials connected to the mcc account > successfully but unable to get campaign details from created Dummy client > account with a message "No Campaigns were found". Please help me on this > and make me to move forward. Thanks in Advance. > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.