You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$adWordsServices = new GoogleAds();
$session = (new AdwordsSession())->buildWithOAuth(config('google-ads.production.developerToken'),$userRefreshCredentials);
Argument 1 passed to Google\AdsApi\AdWords\AdWordsSessionBuilder::withOAuth2Credential() must implement interface Google\Auth\FetchAuthTokenInterface, array given, called in /home/glanaj/projects/neon/vendor/edujugon/laravel-google-ads/src/src/Session/AdwordsSession.php on line 90
The text was updated successfully, but these errors were encountered:
hi
i have to tried to list the accounts in my mcc using:
use Edujugon\GoogleAds\GoogleAds;
use Google\AdsApi\AdWords\v201809\mcm\CustomerService;
use Edujugon\GoogleAds\Session\AdwordsSession;
$adWordsServices = new GoogleAds();
$session = (new AdwordsSession())->buildWithOAuth(config('google-ads.production.developerToken'),$userRefreshCredentials);
$managedCustomerService = $adWordsServices->service(CustomerService::class, $session)->getService();
$page = $managedCustomerService->getCustomers();
i get this response:
Argument 1 passed to Google\AdsApi\AdWords\AdWordsSessionBuilder::withOAuth2Credential() must implement interface Google\Auth\FetchAuthTokenInterface, array given, called in /home/glanaj/projects/neon/vendor/edujugon/laravel-google-ads/src/src/Session/AdwordsSession.php on line 90
The text was updated successfully, but these errors were encountered: