Hello all,

I am currently working on shifting an API from Adwords API to Google Ads 
API.
I followed the below guidelines
https://github.com/googleads/google-ads-php/tree/main

After that, I tried to run the sample example code of 'GetCampaigns.php'.

However, I get an empty response.
Below are my request code piece:
$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
$query = 'SELECT campaign.id, campaign.name FROM campaign ORDER BY 
campaign.id';
$stream =$googleAdsServiceClient->searchStream($customerId, $query);

I logged the $stream from here.
I got following:
https://docs.google.com/document/d/1n7OvhKJlOwEZ0YKuaYyBC0Bb7f3AuQ1OT_G_coAcfiE/edit?usp=sharing

I could not get the Campaigns.

Please help.

Regards,
Rukesh



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0e81f220-4ae6-4e18-bd2a-3137d368c2d9n%40googlegroups.com.
  • Em... Rukesh Prajapati
    • ... Rukesh Prajapati
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Rukesh Prajapati
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to