def main(client, company_id, salesperson_id, trafficker_id):
  # Initialize appropriate service.
  order_service = client.GetService('OrderService', version='v201508')

  # Create order objects.
  orders = []
  for i in xrange(5):
    order = {
        'name': uuid.uuid4() % 'Order #%s',
        'advertiserId': company_id,
        'salespersonId': salesperson_id,
        'traffickerId': trafficker_id
    }
    orders.append(order)

  # Add orders.
  orders = order_service.createOrders(orders)

  # Display results.
  for order in orders:
    print ('Order with id \'%s\' and name \'%s\' was created.'
           % (order['id'], order['name']))
dataset/ETHPy150Open googleads/googleads-python-lib/examples/dfp/v201508/order_service/create_orders.py/main/swapped operands of `%`