Hi, Using the PHP library there is no way (yet) to get the stream of data without first writing to a file, so you'll have to first download the report to a file, and then read the file contents. We're aware that there's interest in adding this functionality and are working on it.
Regarding your other questions: 1. Campaign level data is available in the Campaign Performance Report <https://developers.google.com/adwords/api/docs/appendix/reports#campaign>. The fields for what you want are *CampaignName*, *Cost*, and *Impressions*. 2. The Ad Performance Report <https://developers.google.com/adwords/api/docs/appendix/reports#ad> will return these fields. If you want to see all campaigns (#1) and ads (#2), whether they have impressions or not, make sure you include zero impressions <https://developers.google.com/adwords/api/docs/guides/zero-impression-reports> . Cheers, Josh, AdWords API Team On Thursday, September 25, 2014 1:36:58 PM UTC-4, Karen Martirosyan wrote: > > Hi, > I am using php adwords api. > I have 2 questions. > 1. How can I get these fields campaignName, total clicks, total > impressions. Via ReportDefinitionService we can save the file, but is there > a way without saving get data. > 2. How can I get 'Headline', 'Id', 'Description1', 'Description2' by > campaignId (now I am using 2 requests: via AdGroupService I am getting all > AdGropIds, and via AdGroupAdService what I need) > > Thanks... > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/2cf322bf-8b4b-4405-a5b8-5713f8fb23c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
