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 Google Ads API Forum Advisor Prod
Hi Amit, Thank you for the clarification. Upon further inspection, this looks like an issue pertaining to the client library. Could you post the error you're encountering here, and our php client library support team will take a look at your concern? Let me know if you have further questions.

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-27 Thread Google Ads API Forum Advisor Prod
Hi Amit, Thank you for the update and clarification. I see you're using this client library that includes the Laravel Sample Application implementation. Could you confirm with me if you're following these steps? It looks like you'll need to use the ini.php file as specified in the instructions.

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread sreenu malae
Hey Amit, I got your point. But i have no idea about laravel I'm sorry. Hope bryan will help you out. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this mes

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread Amit Lahiri
Hello Sreenu. Thank you for the reply. Application Type I am using Google Ads REST API in the Laravel application which is a web app using PHP. In this type of application I cannot asked client to do all these configuration to run the application. What am I supposed to do here? NTS / TS Wha

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread sreenu malae
Hello Amiti Lahiri, I faced the same issue BadMethodCallException. But I solved it by following a few steps 1. In terminal execute this "php -i" and check whether your version supports NTS(Non Thread Safe) or TS(thread-safe) 2. Then download compatible grpc dll from pecl site. Place the

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 Google Ads API Forum Advisor Prod
Hi Amit, Thank you for the update. I see that you have three concerns. You will find my answers below. 1. Rest Transport issue. Thank you for providing your code. However, I will need to see your Request and Response logs that are provided after you run the request. You can check how to enable

Re: Google Ads API V3 PHP is not working

2020-03-26 Thread Amit Lahiri
Hi Bryan. I am adding to the last post. Error is generating from the below line of code, following the error given. *$stream = $googleAdsServiceClient->searchStream($customerId, $query);* *BadMethodCallException* *Streaming calls are not supported while using the REST transport.* I cannot lo

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: Google Ads API V3 PHP is not working

2020-03-25 Thread Google Ads API Forum Advisor Prod
Hi Amit, I see you have two queries. You will find my answers below. 1. Issue with REST Transport. Could you provide the REST request and response logs where this error occurs so that I may further investigate this issue? 2. How to obtain Customer_ID dynamically. Could you clarify what you're u

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 Google Ads API Forum Advisor Prod
Hi Amit, I see that you have several inquiries. You can find my answers below. For parts 1 and 2, I see that you're trying to use a curl request and using our PHP client libraries together. Could you confirm if you're using this example to obtain the campaigns? For part 3, I see that you're ha

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-23 Thread Google Ads API Forum Advisor Prod
Hi Amit, Thank you for the update. I see that you have four concerns. My response is below. 1. Is my parameters settings, curl calling and overall coding snippet missed anything? Am I need to add more settings in parameters? Could you make sure you follow this example in making cUrl API calls? I

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

RE: Google Ads API V3 PHP is not working

2020-03-20 Thread Google Ads API Forum Advisor Prod
Hi Amit, Thank you for reaching out to us. I see that you're encountering an Unauthenticated Error. This means that you've supplied invalid authentication credentials to your API call. Could you please follow these steps to obtain the correct client credentials? For your second query, AdWords A