function adwordsUpload($masterAccount, $clientAccount, $keywords) { if (count($keywords) > 0) { $adwordsService = new AdwordsService(); $updatedKeywords = $adwordsService->updateKeywords($masterAccount, $clientAccount, $keywords); $this->saveUpdatedKeywords($updatedKeywords); } }
function adwordsKeywordUpload($masterAccount, $clientAccount, $keywords) { $uploadKeywords = $this->getEngineKeywords($keywords, "adwords"); if (count($uploadKeywords) > 0) { $adwordsService = new AdwordsService(); $adwordsService->updateKeywords($masterAccount, $clientAccount, $uploadKeywords); } return $uploadKeywords; }