There is a bit of a misunderstanding here. The ReportDefinitionService is 
read only and is no longer directly used to download reports. 

At this point it serves two purposes:

API users who may have defined reports previously can still get their 
report definitions out of the service. (this is probably useful for 
Alistair and others to get stored report definitions back)
API users can also retrieve a list of supported fields dynamically for each 
report type through the service. (this is useful for code generation of 
enumerations of fields and to detect changes in available fields)

The PHP example code is only loading the service so that the required 
classes are available(as the comment on line 39 suggests). These classes 
allow you to build up your report definition in an object oriented fashion 
instead of piecing together a soap request or your own class and make some 
constants available for building the URL. If you view the ReportUtils.php 
class, it is not actually using the service to download the report, but is 
instead using CurlUtils to download the report from the AdHoc reporting URL.

Hope this clears things up.

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

--- 
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/groups/opt_out.


Reply via email to