Hello Joseph, 

The PHP client library looks for the configuration file in the home 
directory of the user running the script, to fill out the required 
properties here 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2Fadsapi_php.ini&sa=D&sntz=1&usg=AFQjCNGiJFzZ9f51tsITWfYDu-v8Q5k7Cw>
 in 
the *adsapi_php.ini* file. If the home directory is not set correctly or if 
the library is not able to find the home directory, you can specify the 
configuration file path by passing as an argument to the fromFile() 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2Fv201609%2FBasicOperations%2FGetCampaigns.php%23L76&sa=D&sntz=1&usg=AFQjCNGbHCSga_gEAOIDjgfb64up6yrpzw>
 method. You 
can refer to our PHP client library 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib&sa=D&sntz=1&usg=AFQjCNHG11oTQ_WILjE1_dGOHU3x1lM8Mw>
 for 
additional guidance. If you are still facing issues, please send me the 
SOAP request and response logs for the API call. Please click on *Reply 
privately to author *when responding.

Thanks,
Bharani, AdWords API Team

On Monday, September 18, 2017 at 8:08:14 AM UTC-4, silvester correya wrote:
>
> Hi support,
>
>
> while  trying to migrate Adwords API to v201708 , Iam stuck of how to pass 
> outh data  stored in my database to API
>
>  $oAuth2Credential = (new OAuth2TokenBuilder())
>         ->fromFile()
>         ->build();
>
> $session = (new AdWordsSessionBuilder())
>         ->fromFile()
>         ->withOAuth2Credential($oAuth2Credential)
>         ->build();
>
>  
>
> Could someone help me to solve this issue.
>
>  
>
> Thanks,
>
> Joseph
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/91023773-8500-4467-b388-adf22572e493%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to pass ... silvester correya
    • Re: How ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
    • Re: How ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum

Reply via email to