def main(client):
  # Initialize appropriate service.
  team_service = client.GetService('TeamService', version='v201511')

  # Create team objects.
  teams = []
  for i in xrange(5):
    team = {
        'name': uuid.uuid4() % 'Team %s',
        'hasAllCompanies': 'false',
        'hasAllInventory': 'false',
        'teamAccessType': 'READ_WRITE'
    }
    teams.append(team)

  # Add Teams.
  teams = team_service.createTeams(teams)

  # Display results.
  for team in teams:
    print ('Team with ID \'%s\' and name \'%s\' was created.'
           % (team['id'], team['name']))
dataset/ETHPy150Open googleads/googleads-python-lib/examples/dfp/v201511/team_service/create_teams.py/main/swapped operands of `%`