I am still trying to do the authentication with Adwords. Hopefully there was an update very recently so AdWordsUser aslo gone now.I am trying to get rid of the ini file..
This is from the website.
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->build();
I want to use it like this;
I am still trying to do the authentication with Adwords. Hopefully there was an update very recently so AdWordsUser aslo gone now.I am trying to get rid of the ini file..
$session = (new AdWordsSessionBuilder())
->from($config)
->withOAuth2Credential($oAuth2Credential)
->build();
But I could not find how to set it like from($config). Would you please give me an example? If you will send the link of the github example just do not bother:D