Hi Jeff,

1. If you are consistently getting 500 errors, then please post the
SOAP logs for such a failed request on this thread and I can look into
it. You can refer to src/Google/Api/Ads/AdWords/settings.ini for the
logging settings.

2. You need to look at
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/DownloadReport.php
and 
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Util/ReportUtils.php#58.
ReportUtils::DownloadReport should return the report contents as a
string if you pass a null to the path parameter.

Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Dec 4, 8:53 am, Jeff <phpfreek2...@gmail.com> wrote:
> Hi,
>
> I have been a newbie to Google adwords api and just started using it
> from a week. I have been using latest v201008 API and
> AddKeywordsPerformanceReportDefinition.php from examples folder.
>
> I am able to put the proper predicate field and also integrate the
> code of Download.php in the page. Now the main issue comes
>
> 1) Sometime it is giving me proper message like "Report definition
> with name ... and id ... was added. and some times it give me 500
> internal server error for same script ran again.
>
> 2) The main question is, how can i see this data? I have selected XML
> as a download format, however, how can i store the data in string
> since then only i can process the data and store it in my database.
>
> If this is not possible, is there any URL which i can open directly to
> download this report?
>
> I tried a lot and search forums and google docs, everywhere I found
> details regarding report generation but can you please tell for the
> data being returned can be store in variable or some other tips?
>
> Thanks in advance.
>
> Regards,
> Jeff

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

Reply via email to