Hi GoogleAds team,

I was trying to fetch the campaign name.
Please help me to resolve this. Below is my code:


$query =
"SELECT
campaign.id,
campaign.name,
campaign.status
FROM campaign
ORDER BY campaign.id";

// Issues a search stream request.
/** @var GoogleAdsServerStreamDecorator $stream */
$stream = $googleAdsServiceClient->searchStream($customerId, $query);

print_r($stream->iterateAllElements());

it outputs:
Generator Object ( )

I have checked Google Ads and there we are running the Campaigns.

Thanks
Shelly

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/73f7ac61-0d0d-426c-84f8-2461bda60ed6n%40googlegroups.com.

Reply via email to