How to Get Budgets info v201705

2017-08-04 Thread roberto . smith
Hello. I'm trying to get the account budget info. I know that I need to use BudgetOrderService, but I don't find an example for this service. I hope you can help me with this implementation. Best Regards! Roberto Smith -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

Re: Get MCC Client List

2017-08-01 Thread roberto . smith
Hi Peter. I used the GetAccountHierarchy.php version and it worked ok. Thanks a lot. Roberto Smith El martes, 1 de agosto de 2017, 1:52:01 (UTC-4), Peter Oliquino escribió: > > Hi Roberto, > > Could you confirm if what you meant by getting the client list is to get > all the

Re: Asign Customer ID Dynamically v201705

2017-08-01 Thread roberto . smith
Hello. Thanks for your answer. Thanks again. Roberto Smith El martes, 1 de agosto de 2017, 2:08:04 (UTC-4), Peter Oliquino escribió: > > Hi Roberto, > > You may refer to this below code on how to dynamically set the > clientCustomerId in PHP : > > $session = (new

Asign Customer ID Dynamically v201705

2017-07-31 Thread roberto . smith
Hello. I have installed the v201705 AdWords API version (PHP). The API have the *adsapi_php.ini* configuration file with a *clientCustomerId* field. Is there a way to change dynamically the *clientCustomerId* with the API?. Thanks for your help! Roberto Smith

Get MCC Client List

2017-07-31 Thread roberto . smith
Hello. I have a web app using a deprecated version API. I'm trying to migrate to v201705. The first thing I need is to get the MCC Client List, but the AdWordsUser doesn't exist anymore. I will aprecciate if you can help me with this. Thanks and Best Regards Rob

Re: Adwords PHP API Web Application problem

2016-01-21 Thread roberto . smith
Hello Thanet, thanks for your answer. I tried it via OAuth2 Playground and it works. I didn't read well that I can use *installed application* type for your web application. I don't know which is the best option, but at i

Re: Adwords PHP API Web Application problem

2016-01-20 Thread roberto . smith
Hello Yin. The php examples have this include for the drive service: require_once 'Google/Service/Drive.php'; So I searched the Google/Service/ folder list for somethig like Adwords but didn't found it. This is the file list of services: AdExchangeBuyer.php AdExchangeSeller.php Admin.php AdSen

Re: Adwords PHP API Web Application problem

2016-01-20 Thread roberto . smith
Hi Yin. I've set the scope this way: $client->addScope("https://www.googleapis.com/auth/adwords";); But then I need to access the Adwords Service. The youtube and drive examples use: $client->addScope("https://www.googleapis.com/auth/youtube";); $client->addScope("https://www.googleapi

Re: Adwords PHP API Web Application problem

2016-01-20 Thread roberto . smith
Hi Yin, thanks for your answer. I had followed the link. In the example this line appears: $drive_service = new Google_Service_Drive($client); But there is no *Google_Service_Adwords*, so I can't use Adword API. If I put *Google_Service_Adwords* on the code, the script fails. I've searched th

Adwords PHP API Web Application problem

2016-01-20 Thread roberto . smith
Hi. I want to create a Web application in php to manage the Adwords account in my digital agency. I downloaded "The Google Ads API PHP Client Library" from https://github.com/googleads/googleads-php-lib. I created a Web application and configured the application except the "refresh_token" param