Hi Vladimir,

You can provide the OAuth2 configuration details while building the OAuth2 
credentials and session object. Please see OAuth2TokenBuilder.php 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/Common/OAuth2TokenBuilder.php#L58>
 and AdWordsSessionBuilder.php 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/AdWords/AdWordsSessionBuilder.php>
 for 
the available options. An example is provided here 
<https://github.com/googleads/googleads-php-lib/blob/master/tests/Google/AdsApi/Common/OAuth2TokenBuilderTest.php#L158>
 which 
shows how to use the OAuth2TokenBuilder without using the fromFile() 
method. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@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/a51a7b17-17fe-4b3f-8f0c-66e76a889350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to