public function buildWithOAuth($developerToken, $oAuth2Credential)
    {
        $adwordsSession = new AdWordsSessionBuilder();

        return $adwordsSession->withDeveloperToken($developerToken)
            ->withOAuth2Credential($oAuth2Credential)
            ->build();
    }
public function buildWithOAuth($developerToken, $oAuth2Credential)
    {
        $adwordsSession = new AdWordsSessionBuilder();

        return $adwordsSession->withDeveloperToken($developerToken)
            ->withOAuth2Credential($oAuth2Credential)
            ->build();
    }
public function buildWithOAuth ( $ developerToken , $ oAuth2Credential ) { $ adwordsSession = new AdWordsSessionBuilder ( ) ; return $ adwordsSession -> withDeveloperToken ( $ developerToken ) -> withOAuth2Credential ( $ oAuth2Credential ) -> build ( ) ; }
Construct an API session from OAuth2

@param string $developerToken
@param \Google\Auth\Credentials\UserRefreshCredentials $oAuth2Credential
@return mixed
Construct an API session from OAuth2