google-ads-doctor cannot fetch token using PHP

2020-04-16 Thread Amit Lahiri
Hello. I am trying OAuth2 credentials and gnerate the access token using the library google-ads-doctor of PHP. But it is not getting generated and return the error below. I have follow below steps as given in this page https://github.com/googleads/google-ads-doctor. 1. Update the file google_

Re: Google Ads API V3 PHP is not working

2020-03-30 Thread Amit Lahiri
Hi Bryan. Thanks for the reply once again. Done, as you have said, here . Thanks, Amit On Tuesday, March 31, 2020 at 1:00:17 AM UTC+5:30, adsapiforumadvisor wrote: > > Hi Amit, > > Thank you for the clarification. Upon further inspect

Re: Google Ads API V3 PHP is not working

2020-03-30 Thread Amit Lahiri
Hi Bryan. I am following this library and followd each steps. Its working fine but stuck at the below line, as I have mentioned earlier, with the below mentioned error message. Error is generating from the below line of code, following the error gi

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread Amit Lahiri
you need to verify it supports NTS or TS > Hope it will work. > > On Thursday, March 26, 2020 at 11:14:47 PM UTC+4, Amit Lahiri wrote: >> >> Hi Bryan. >> >> I am adding to the last post. >> >> Error is generating from the below line of code, follow

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread Amit Lahiri
Hi Bryan. Thank you for the reply once again. 1. REST Transport issue: I am not using ini file, but add the crednetials into the functions, as found in the code. Also, I am using this with Laravel. Please suggest, if there anything to do. 2. Common Question: By service, I understand the para

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread Amit Lahiri
not locate the function searchStream() in the library I am using for gRPC. I have tried with the libraries grpc and grpc-gcp, from packagist.org. What am I supposed to do now? Awaiting your reply. Thanks, Amit On Thursday, March 26, 2020 at 1:36:21 AM UTC+5:30, Amit Lahiri wrote: >

Re: Google Ads API V3 PHP is not working

2020-03-25 Thread Amit Lahiri
Hi Bryan. Thanks a lot for the reply one again. *1. REST transport: here is the code. * public function profile() { // Either pass the required parameters for this example on the command line, or insert them into the constants above. $options = (new ArgumentParser())

Re: Why Oauth Credentials is not working with PHP code?

2020-03-25 Thread Amit Lahiri
Hi Anthony. Thanks for the reply. I am using the same email address for creating OAuth2 Client Id and user log in. Is this what you mean? What would be the next steps? Awaiting your reply. Thanks, Amit > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog:

Re: Why Oauth Credentials is not working with PHP code?

2020-03-25 Thread Amit Lahiri
Hi Anthony. Thank you for the reply. I have login to the Google Ads successfully using OAuth2 and received the access token. Then I am simple copying and pasting the below URL from example. But it is showin error. *API Call* https://googleads.googleapis.com/v3/customers/{customer_id}/campaig

Re: Google Ads API V3 PHP is not working

2020-03-25 Thread Amit Lahiri
Hi Bryan. Once again many thanks for the reply. *Current Issue* Previous issue was resolved. Currently, I am getting a different error. This is the error, * Streaming calls are not supported while using the REST transport.* *More comments* 1. Yes I am using the example yo

Re: Google Ads API V3 PHP is not working

2020-03-24 Thread Amit Lahiri
Hi Bryan. Many thanks for the reply. 1. I am using the same example process as referrred by you https://developers.google.com/google-ads/api/docs/concepts/curl-example. I was confuded with the below code and was not understanding how do I these lines of code in PHP. curl \ -d code=AUTHORIZ

Re: Google Ads API V3 PHP is not working

2020-03-20 Thread Amit Lahiri
Hello Bryan. Thanks for the reply. Could you please take a look into my below doubts? 1. Is my parameters settings, curl calling and overall coding snippet missed anything? Am I need to add more settings in parameters? 2. I am the developer working for the client. I am using my email address t

Google Ads API V3 PHP is not working

2020-03-20 Thread Amit Lahiri
Hello. I am using PHP to call Google Ads API. I am trying to retriev the Google ads campaign id and name. I am using simple curl to do this. Here is my code. *Code* $url = 'https://googleads.googleapis.com/v3/customers/123456789/googleAds:search'; $parameters = [ "query" => "SELECT campai

Why Oauth Credentials is not working with PHP code?

2020-03-05 Thread Amit Lahiri
Hi. I am facing the same problem. When I am clicking the Google Ads API to enable it, I am receiving the below error. API solution not found with service name: googleads.googleapis.com But I am quiet sure that I enable the API few days earlier. Why this error is given? How to resolve it? I a

Re: Google Ads API library page error

2020-03-05 Thread Amit Lahiri
Hi. I am facing the same problem. When I am clicking the Google Ads API to enable it, I am receiving the below error. API solution not found with service name: googleads.googleapis.com But I am quiet sure that I enable the API few days earlier. Why this error is gi