Google Ads API beta

206 views
Skip to first unread message

cv

unread,
Feb 15, 2019, 5:21:46 AM2/15/19
to AdWords API and Google Ads API Forum
Hi,

How I can run the example from browser for google Ads API beta?

What should I need to change?

Thanks,

googleadsapi...@google.com

unread,
Feb 15, 2019, 3:39:40 PM2/15/19
to AdWords API and Google Ads API Forum
Hello Chirag,

Google Ads API Beta is the Upgraded version of AdWords API in Beta stage. If you are using the AdWords API for now and trying to migrate to the Google Ads API Beta, you could refer this guide. In general, you can make the APi calls using our client libraries of Google Ads API Beta or using the CURL operations mentioned here. If your question is different could you please elaborate the scenario you are trying? 

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

cv

unread,
Feb 17, 2019, 11:18:07 PM2/17/19
to AdWords API and Google Ads API Forum
Hello Sai,

I am able to run the example but only from command line (CLI).

From browser I am getting error as Use of undefined constant STDERR - assumed 'STDERR' in src/Google/Ads/GoogleAds/Lib/LoggerFactory.php on line 44

Can you please guide me how to run the example from browser?

Thanks,

googleadsapi...@google.com

unread,
Feb 18, 2019, 3:50:07 AM2/18/19
to AdWords API and Google Ads API Forum
Hi,

I'm a colleague of Sai and allow me to assist you as he is unavailable. Moving forward, my apologies as we do not provide support in running the Google Ads API from browser thus I could not comment on the issue that you encountered. We highly recommend to use one of our client libraries when making API calls using the Google Ads API.

Regards,  
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/5d0121b5-023f-47e7-a72a-b5995370a618%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

googleadsapi...@google.com

unread,
Feb 19, 2019, 2:00:19 AM2/19/19
to AdWords API and Google Ads API Forum
Hi Chirag,

The issue you encountered seems specific to PHP client library rather than the Google Ads API. This being said, I would suggest to post your issue here as the PHP client library owners are better equipped to assist you here.

Regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

On 02/19/19 13:27:03 chirag....@gmail.com wrote:
Hello Luis,

I am using clientLibrary for PHP only, 
We get the error when using ->fromFile('google_ads_php.ini') and when [LOGGING] is disabled.
When [LOGGING] is disabled then also LoggerFactory -> createLogger() is finding the $stream = $stream === null ? STDERR : $stream;

Hope you got the idea about issue I am facing.

Thanks,

You received this message because you are subscribed to a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/0KbXg5znR_g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscribe@googlegroups.com.

cv

unread,
Feb 20, 2019, 8:40:20 AM2/20/19
to AdWords API and Google Ads API Forum
Ok,

Let me post issue over there.

Thanks,
Reply all
Reply to author
Forward
0 new messages