Re: [PHP SDK] - How to change the clientCustomerId on the new SDK

2017-05-24 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Vladimir, You can provide the OAuth2 configuration details while building the OAuth2 credentials and session object. Please see OAuth2TokenBuilder.php and AdWordsSessionBuilder.ph

Re: [PHP SDK] - How to change the clientCustomerId on the new SDK

2017-05-24 Thread Vladimir Tatarsky
Ok, just another question (sorry for off-topic): is that possible to build session and OAuth credential object without calling "fromFile" method? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.go

Re: [PHP SDK] - How to change the clientCustomerId on the new SDK

2017-05-19 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Vladimir, You need to use the AdWordsSessionBuilder to build a session for a specific clientCustomerId as shown here

Re: [PHP SDK] - How to change the clientCustomerId on the new SDK

2017-05-19 Thread Vladimir Tatarsky
Hi guys, is that possible to set Client customer ID dynamically? i.e. without building new session every time -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts

Re: [PHP SDK] - How to change the clientCustomerId on the new SDK

2017-02-14 Thread Arce Yazilim
We thank you. He works like we want. 14 Şubat 2017 Salı 20:18:26 UTC+3 tarihinde Shwetha Vastrad (AdWords API Team) yazdı: > > Hi, > > You can set the clientCusotmerId while creating an AdWords session as > shown below: > > $session = (new AdWordsSessionBuilder()) > ->fromFile() >

Re: [PHP SDK] - How to change the clientCustomerId on the new SDK

2017-02-14 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, You can set the clientCusotmerId while creating an AdWords session as shown below: $session = (new AdWordsSessionBuilder()) ->fromFile() ->withOAuth2Credential($oAuth2Credential) ->withClientCustomerId(clientCustomerId) ->build(); Regards, Shwetha, AdWord

[PHP SDK] - How to change the clientCustomerId on the new SDK

2017-02-14 Thread Arce Yazilim
Hello, I could change the customer id on the old SDK as below. $user = new AdWordsUser (); $user->LogAll (); $user->SetClientCustomerId (111); // < this one I have not found out how to do this on the new SDK. We need to change this value because there are multiple users who use our adv