Hi,

I tried to use search stream like this.
Call 1:
foreach ($stream->readAll() as $response) {
foreach ($response->getResults() as $i=> $googleAdsRow) {
}
}
call2:
foreach ($stream->readAll() as $response) {
if ($response->hasSummaryRow()) {
}
}

Once I readAll data in call1, under call2 the stream will not get data.

Any idea why?
Does stream only readable once?


Thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ec699d18-9545-4f21-99bc-a9a1bc7818e4n%40googlegroups.com.
  • Se... cv
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... cv
        • ... cv
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to