How to get report data for multiple accounts by single request? --java api

2011-08-18 Thread google314
hi, 
I want to download all accounts' report data in one time, So, I'm trying to 
using MCC account to definition report by 'PrimaryUserLogin' in email 
arrays, but that return exception 
'AuthorizationError.USER_PERMISSION_DENIED'
the steps are below:
1,set MCC account ID, and get AdWordsUser.
2,get ReportDefinitionServiceInterface
3,set Predicate, 
predicate.setField(PrimaryUserLogin);
predicate.setOperator(PredicateOperator.IN);
predicate.setValues(emails);
4,set report fields
5,set others parameters, and revoke reportDefinitionService.mutate()
6, return exception 'AuthorizationError.USER_PERMISSION_DENIED'

How do I can through it and get multiple accounts report data.

I also trying to using the code 'AddMccReportDefinition.java' in URL 
'http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201101/AddMccReportDefinition.java',
 
but I don't have package 'com.google.api.adwords.lib.utils.v201101'.
please tell me how can I get it.

thanks a lots.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-26 Thread google314
OK, cheers, mate

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-17 Thread google314
Hi Danial:
I've checked the new version in the svn folder. the most current version is 
that dfp_api, do you mean that version, please? 
Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-17 Thread google314
Hi Danial:
Sorry for bother you. I've tried the new released dfp version for 
downloading report, still get stuck. I found that dfp_api.yml file has some 
new added fields that is required for confidential. For instance, what does 
that network code mean? cause there was no field like this in the previous 
version.  Without filling this field correctly, the error will still come. 

Thanks 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-16 Thread google314
I'll try it, thanks :)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-15 Thread google314
Hi Danial:
For that question I don't mind if the library can be modified a little bit 
since the previous problem can be resolved; however, I think the over 
frequently changing api may cause the original project unstable.   

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-15 Thread google314
Hi Danial:
Yes, I think it is OK to modify it locally, but I do not know where the 
problem is, could you tell me how do I modify the library, please?

Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-13 Thread google314
Hi Danial:
With your help, the report could be successfully download now. I set the 
report file name as : .csv, and when I open the report that had been 
just downloaded, there was some error code combined. Could you tell me how 
can I solve it,please? 

Thanks 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Ruby Adwords API Client -- error code combined in the report of CSVFOREXCEL format

2011-06-13 Thread google314
Hi all:
I am using the Google Adwords API Ruby client example code for downloading a 
Geoperformance report by CSVFOREXCEL format. This report was successfully 
downloaded with the required fields had been defined. However, there was 
some unreadable code combined in the report content when it was opened  by 
EXCEL. Could anyone tell me the cause of this, please? 

Thanks. 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-09 Thread google314
with pleasure.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: Ruby client -- download_report.rb failed

2011-06-08 Thread google314

The environment I am using is product environment. And the following ruby 
gems had been installed: google-ads-common (0.2.1),  
google-adwords-api(0.1.2), google-adx-buyer-api(0.2.0), httpclient(2.2.1), 
soap4r(1.5.8). The adwords_api.yml has been attached, please check it: )

Thanks 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


adwords_api.yml
Description: Binary data


Ruby client -- download_report.rb failed

2011-06-03 Thread google314
HI all:
I am using the Ruby client example code v201101, file name is 
download_report.rb. This file does not work properly after the report 
definition id has been given, I got the error info as the following:

 
C:/Ruby187/lib/ruby/gems/1.8/gems/google-ads-common-0.2.1/lib/ads_common/api_config.rb:279:in
 
`get_wsdl_base': undefined method `[]' for nil:NilClass (NoMethodError)
from 
C:/Ruby187/lib/ruby/gems/1.8/gems/google-adwords-api-0.1.2/lib/adwords_api/api_config.rb:264:in
 
`report_download_url'
from 
C:/Ruby187/lib/ruby/gems/1.8/gems/google-adwords-api-0.1.2/lib/adwords_api/extensions.rb:294:in
 
`get_report_url'
from 
C:/Ruby187/lib/ruby/gems/1.8/gems/google-adwords-api-0.1.2/lib/adwords_api/extensions.rb:211:in
 
`download_report'
from 
C:/Ruby187/lib/ruby/gems/1.8/gems/google-adwords-api-0.1.2/lib/adwords_api/extensions.rb:193:in
 
`download_report_as_file'
from 
C:/Ruby187/lib/ruby/gems/1.8/gems/google-adwords-api-0.1.2/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb:372:in
 
`download_report_as_file'
from 
D:/USER/022294/ÎÒµÄÎĵµ/NetBeansProjects/Application1/CampaignReport/lib/download_report.rb:42:in
 
`download_report'
from 
D:/USER/022294/ÎÒµÄÎĵµ/NetBeansProjects/Application1/CampaignReport/lib/download_report.rb:49
Does anybody has the same problem before? Please give me some help, thanks. 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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