public function createContent(Location $location = null, Campaign $campaign = null)
    {
        $connection = $this->getRestApiConnectionByLocation($location);
        $remoteContentTypes = $connection->getContentTypes();

        foreach($remoteContentTypes as $remoteContentType){
            $id = $location->getId().'-'.$remoteContentType['id'];
            $name = $remoteContentType['names']['value'][0]['#text'];
            $contentTypes[$id] = $name;
        }

        return $contentTypes;
    }