Hello,

You are getting the above-mentioned error because you are using a top-level 
MCC account (Manager account) for calling API calls like GetCampaigns 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201506/basicoperations/GetCampaigns.java>
, AddCampaigns 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201506/basicoperations/AddCampaigns.java>.
 
Top level MCC account Id(manager account) can be used only for account 
management (e.g. Create Account 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201506/accountmanagement/CreateAccount.java>
, Get Account Hierarchy 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201506/accountmanagement/GetAccountHierarchy.java>
 etc.). 

You could create an AdWords account and set that account id to 
clientCustomerId in ads.properties file and make the API calls other than 
the account management(e.g. GetCampaigns 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201506/basicoperations/GetCampaigns.java>
, AddCampaigns 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201506/basicoperations/AddCampaigns.java>)
 
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 [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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/27a720b8-cc7a-4e77-bc21-596e19fecbbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to