Hi AA, The AdWordsUser doesn't require a clientCustomerId (yet) because at the time the object is constructed, we don't know what version of the API you will use it with and we currently support both clientEmail and clientCustomerId in versions prior to v201109. However, starting with v201109, clientCustomerId is required and must be provided (this includes AdHoc reports). Omitting clientCustomerId will cause an error (probably some variant of an account type mismatch) as you can only download reports for individual accounts with AdHoc reports. If you need to download reports for multiple accounts, I recommend you take a look at our reference implementation: http://code.google.com/p/google-api-adwords-java/source/browse/#svn%2Fapps%2Fmultipleclientreportdownloader
For #2, we do not have such a specific example (although we hope to add more examples of difference report use cases in the future). You can use the CreativeApprovalStatus in the Ad Performance Report to gain information about disapproved ads (for example, filtering to only include disapproved ads): http://code.google.com/apis/adwords/docs/appendix/reports.html#ad - Kevin Winter AdWords API Team On Friday, December 30, 2011 6:36:34 PM UTC-5, aa wrote: > > Hi there, > > I've just found a Java example of downloading a ad-hoc report > using com.google.api.adwords.lib.utils.v201109.ReportUtils at the following > link: > > http://goo.gl/KE7jk > > I have the following questions regarding the usage of ReportUtils class: > > 1) At line 47 of your example, it seems that the clientCustomerId is not > required to instantiate an AdWordsUser object. Does it mean that I can > leave it as null if I want to download all the report data under an MCC? > > 2) Is there any example on how I can download Creative / Keyword level > editorial rejection reports? > > Thanks and please help, > AA > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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