def get_run_marketing_url(course_key, user):
 course_run = get_course_run(course_key, user)
 return course_run.get('marketing_url')

def get_run_marketing_url ( course_key , user ) : course_run = get_course_run ( course_key , user ) return course_run . get ( 'marketing_url' )
get a course runs marketing url from the course catalog service .