<?xml version="1.0" encoding="utf-8"?>
<Order requestType="standard">
  <!-- Set this to true in order to still attempt to publish the order even if warning(s) occurred -->
  <PublishOrderOnWarning>true</PublishOrderOnWarning>
  <!-- Set this to true in order to still attempt to save the order in draft status even if error(s) occurred -->
  <SaveOrderAsDraftOnError>true</SaveOrderAsDraftOnError>
  <!-- Set this to true in order to throw an error (preventing a save operation) if any warnings occur -->
  <ThrowErrorOnWarning>false</ThrowErrorOnWarning>
  <!-- Set this to false in order to prevent an order with missing assets from publishing automatically once all assets become available -->
  <PublishWhenAvailable>true</PublishWhenAvailable>
  <PriorityType>Standard</PriorityType>
  <OrderName>DMDS Advanced Order 001</OrderName>
  <!-- Set this to a future date to delay delivery or omit to default to current date. Date specified is Eastern Time. -->
  <DeliveryDate>2014-01-01T14:00:00</DeliveryDate>
  <Advertiser>Yangaroo Advertising</Advertiser>
  <Brand>DMDS</Brand>
  <ContactName>Jim Smith</ContactName>
  <ContactEmail>jsmith@testcompany.com</ContactEmail>
  <ContactPhone>999-999-9999</ContactPhone>
  <Description>Any details of the order can be entered here</Description>
  <EstimateNumber>EST001</EstimateNumber>
  <Product>DMDS Deliver</Product>
  <PONumber>REF001</PONumber>
  <JobNumber>JN-001</JobNumber>
  <Publisher>Yangaroo Publishing</Publisher>
  <Website>www.dmds.com</Website>
  <!-- Logos are optional and are used to display advertiser/brand images to the destination in DMDS and the notification they receive.
    Logos must be uploaded in DMDS and are matched based on the name specified. There is currently no support for logos to be created via the API. -->
  <Logos>
    <Logo>
      <Name>DMDS</Name>
    </Logo>
    <Logo>
      <Name>Yangaroo</Name>
    </Logo>
  </Logos>
  <Videos>
    <AdVideo>
      <!-- If the video already exists in DMDS, just specify the ADID (or VideoID from DMDS) -->
      <ADID>ADID000001</ADID>
    </AdVideo>
    <AdVideo>
      <!-- Alternatively full video metadata can be specified. If the video does not yet exist a placeholder will be created -->
      <ADID>ADID000001H</ADID>
      <Brand>DMDS</Brand>
      <Title>YANGAROO PROMO HD</Title>
      <Duration>15</Duration>
      <VideoFormat>NTSC HD</VideoFormat>
      <AFD>Letterbox</AFD>
      <AudioConfig>5.1</AudioConfig>
      <ClosedCaption>Yes</ClosedCaption>
      <FrameRate>29.97</FrameRate>
      <SOM>00:00:07:00</SOM>
      <LOM>00:00:15:00</LOM>
    </AdVideo>
  </Videos>
  <Destinations>
    <Organization>
      <!-- Specify the OrganizationID -->
      <!-- Yangaroo Station: 1235769 5446 Cox Media South Zone, CA -->
      <OrganizationID>1235769</OrganizationID>
    </Organization>
    <Organization>
      <!-- Alternatively, you could match on the OrganizationName from DMDS, or your own custom organization ID/name -->
      <!-- Yangaroo Station: 1235773 5493 Cox Media Garnett, KS -->
      <OrganizationName>5493 Cox Media Garnett, KS</OrganizationName>
    </Organization>
  </Destinations>
  <ProductionServices>
    <ProductionService>
      <!-- Note that the ServiceID is the type of service while the "ProducitonService" is an instance of a request for that service -->
      <ServiceID>1</ServiceID>
      <!-- The AD-ID of the asset for the production service to be applied to.
      If the asset is not yet ingested then no action will be taken on the asset has been uploaded.
      No pending orders containing this asset will be sent until production services have been applied. -->
      <ADID>ADID000001H</ADID>
    </ProductionService>
    <ProductionService>
      <ServiceID>2</ServiceID>
      <ADID>ADID000001H</ADID>
    </ProductionService>
    <ProductionService>
      <ServiceID>1</ServiceID>
      <ADID>ADID000001</ADID>
    </ProductionService>
  </ProductionServices>
</Order>