Hello,

You are getting the "*no campaigns were found*" message because you are 
using a top-level MCC account (Manager account) for making API calls like 
GetCampaigns 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201506%2Fbasicoperations%2FGetCampaigns.java&sa=D&sntz=1&usg=AFQjCNE9_wQiZ2hh47fO68TxdJri4Tr1YQ>
, AddCampaigns 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201506%2Fbasicoperations%2FAddCampaigns.java&sa=D&sntz=1&usg=AFQjCNFkaAn8xOC1ZqfqXR5rhQnpq5BjIg>.
 
Top level MCC account Id(manager account) can be used only for account 
management (e.g. Create Account 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201506%2Faccountmanagement%2FCreateAccount.java&sa=D&sntz=1&usg=AFQjCNHI5pYIfNCUCqohS7mzdqhbd1kKCQ>
, Get Account Hierarchy 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201506%2Faccountmanagement%2FGetAccountHierarchy.java&sa=D&sntz=1&usg=AFQjCNEGDWPLWEfgEJQ8BF_IA3GaE-ipvw>
 etc.). 

You could create an AdWords account and set that account id to 
clientCustomerId in ads.properties(of Java client library) file and make 
the API calls other than the account management(e.g. GetCampaigns 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201506%2Fbasicoperations%2FGetCampaigns.java&sa=D&sntz=1&usg=AFQjCNE9_wQiZ2hh47fO68TxdJri4Tr1YQ>
, AddCampaigns 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201506%2Fbasicoperations%2FAddCampaigns.java&sa=D&sntz=1&usg=AFQjCNFkaAn8xOC1ZqfqXR5rhQnpq5BjIg>)
 
from our example code of client library. 

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/05ef9352-a51b-4f36-913c-1e8f4e9ad66a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to