<?xml version="1.0" encoding="UTF-8"?>
<!--
Version 5 (2010-04-07)
Updated to demonstrate multi-lingual support.
Version 4 (2009-05-26)
Updated to AdsMLBookings 2.5.

Note: A schema location is provided in this sample, but must not be used in production messages.

SCENARIO
This quotation from a magazine is in response to a request for a quotation from an agency. 
The ad space is for a full page, full color display ad. 
The price quoted by the seller includes a color charge, a pre-agency discount for being a new advertiser, 
a pre-agency extra charge for a full bleed, and an agency discount.

In this sample all code descriptions are provided in three languages in order to demonstrate AdsML's multi-lingual support. 
This simulates an environment in which the seller does not know the preferred language of the buyer’s personnel.
-->
<AdsMLBookings xmlns:adsml-cv="http://www.adsml.org/controlledvocabularies/3.0"
  xmlns="http://www.adsml.org/adsmlbookings/2.5" xmlns:adsml="http://www.adsml.org/typelibrary/2.0"
  xmlns:adsml-ma="http://www.adsml.org/adsmlmaterials/2.5"
  xmlns:adsml-sd="http://www.adsml.org/adsmlstructureddescriptions/1.0"
  adsml:transmissionID="infotoday.com:2007-11-08:125" adsml:systemsID="AdTrackSystem-v2.0"
  adsml:administrativeResponseRequired="false" adsml:sendCount="1" adsml:transmissionSequence="30"
  adsml:transmissionStatus="Production" adsml:transmissionDateTime="2007-11-08T09:15:00Z"
  adsml:firstTransmissionDateTime="2007-11-08T09:15:00Z" adsml:schemaVersion="2.5.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.adsml.org/adsmlbookings/2.5 ../../Schemas/AdsMLBookings-2.5-Main-AS.xsd">
  <!-- The header identifies the sender and receiver for the message. -->
  <adsml:Header>
    <adsml:TransmissionFrom>
      <adsml:Identifier>
        <adsml:IDLabel>DUNS</adsml:IDLabel>
        <adsml:IDValue>11-222-3333</adsml:IDValue>
      </adsml:Identifier>
      <adsml:Name>Info Today</adsml:Name>
    </adsml:TransmissionFrom>
    <adsml:TransmissionTo>
      <adsml:Identifier>
        <adsml:IDLabel>DUNS</adsml:IDLabel>
        <adsml:IDValue>44-555-6789</adsml:IDValue>
      </adsml:Identifier>
      <adsml:Name>My Agency</adsml:Name>
    </adsml:TransmissionTo>
  </adsml:Header>
  <AdQuotation messageCode="AD-Q" adsml:messageID="infotoday.com:2007-11-10:123"
    adsml:messageClass="BusinessTransaction"
    adsml:messageHeaderLine="NuVitamins 2006 Product Promotion">
    <!-- The agency's quotation request identifier is referenced, with an expiration time and nature-of-response message. -->
    <QuotationIdentifier>myagency.com:2007-11-07:75661</QuotationIdentifier>
    <adsml:BusinessMessageDate>2007-11-10</adsml:BusinessMessageDate>
    <adsml:ExpirationTime>2007-11-25T12:00:00-00:00</adsml:ExpirationTime>
    <!-- The buyer responds with an acceptance with changes, referring to the price clarification. -->
    <adsml:NatureOfResponse>
      <adsml:CodeValue xsi:type="adsml-cv:AdsMLResponseConditionsCV">AcceptedWithClarificationsBySeller</adsml:CodeValue>
      <adsml:Description xml:lang="en">Accepted with clarifications by seller</adsml:Description>
      <adsml:Description xml:lang="fr">Accepté avec clarifications par le vendeur</adsml:Description>
      <adsml:Description xml:lang="de">Akzeptiert mit Klarstellungen durch Verkäufer</adsml:Description>
    </adsml:NatureOfResponse>
    <!-- The publication applies the NewspaperMagazine placement type in their quotation, which begins with a placement identifier. -->
    <adsml:BookingParty>
      <adsml:Identifier>
        <adsml:IDLabel>DUNS</adsml:IDLabel>
        <adsml:IDValue>44-555-6789</adsml:IDValue>
      </adsml:Identifier>
      <adsml:Name>My Agency</adsml:Name>
    </adsml:BookingParty>
    <!-- The selling party provides contact information for the sales rep. -->
    <adsml:SellingParty>
      <adsml:Identifier>
        <adsml:IDLabel>DUNS</adsml:IDLabel>
        <adsml:IDValue>11-222-3333</adsml:IDValue>
      </adsml:Identifier>
      <adsml:Name>Info Today</adsml:Name>
      <adsml:PartyAddress>
        <adsml:CommunicationChannel.PhysicalAddress>
          <adsml:Street>300 Bedford Avenue</adsml:Street>
          <adsml:ZipPostalCode>SL1 4RA</adsml:ZipPostalCode>
          <adsml:City>Slough</adsml:City>
          <adsml:CountryName>United Kingdom</adsml:CountryName>
          <adsml:CountryCode>GB</adsml:CountryCode>
        </adsml:CommunicationChannel.PhysicalAddress>
      </adsml:PartyAddress>
      <adsml:Contact>
        <adsml:Role xsi:type="adsml-cv:AdsMLContactRoleCV">SalesRepresentative</adsml:Role>
        <adsml:Name>Howard Robeson</adsml:Name>
        <adsml:CommunicationChannel.Phone>
          <adsml:Usage>
            <adsml:CodeValue>Office</adsml:CodeValue>
          </adsml:Usage>
          <adsml:Type>Voice</adsml:Type>
          <adsml:PhoneNumber>01753 440540</adsml:PhoneNumber>
        </adsml:CommunicationChannel.Phone>
        <adsml:CommunicationChannel.EMail>
          <adsml:EMailAddress>howard.robeson@infotoday.com</adsml:EMailAddress>
        </adsml:CommunicationChannel.EMail>
      </adsml:Contact>
    </adsml:SellingParty>
    <adsml:DocumentCurrencyCode xsi:type="adsml-cv:ISOCurrencyCodeCV">GBP</adsml:DocumentCurrencyCode>
    <Placement.NewspaperMagazine>
      <PlacementIdentifier>myagency.com:2007-11-07:120.1</PlacementIdentifier>
      <IsStandAlone>true</IsStandAlone>
      <adsml:AdType>
        <adsml:CodeValue xsi:type="adsml-cv:AdsMLAdTypeCV">Display</adsml:CodeValue>
        <adsml:Description xml:lang="en">Display</adsml:Description>
        <adsml:Description xml:lang="fr">Réclames</adsml:Description>
        <adsml:Description xml:lang="de">Reklamen</adsml:Description>
      </adsml:AdType>
      <AdvertiserBrand>
        <adsml:Advertiser>
          <adsml:Name>Healthways</adsml:Name>
        </adsml:Advertiser>
        <Brand>
          <adsml:Name>NuVitamins</adsml:Name>
        </Brand>
      </AdvertiserBrand>
      <adsml:Campaign>
        <adsml:CodeValue>NuVitamins 2006 Product Promotion</adsml:CodeValue>
      </adsml:Campaign>
      <PlacementPrice>
        <adsml:PriceType>
          <adsml:CodeValue xsi:type="adsml-cv:AdsMLPriceTypeCV">QuotedPrice</adsml:CodeValue>
          <adsml:Description xml:lang="en">Quoted price</adsml:Description>
          <adsml:Description xml:lang="fr">Prix calculé</adsml:Description>
          <adsml:Description xml:lang="de">Berechneter Preis</adsml:Description>
        </adsml:PriceType>
        <!-- The mandatory TotalPrice is followed by an optional price breakdown consisting of a series of PriceComponents and Subtotals -->
        <!-- In this sample all of the PriceComponents use optional xsi:type attributes to indicate that they come from the AdsML Price Component CV -->
        <adsml:TotalPrice>
          <adsml:Amount>9840.00</adsml:Amount>
        </adsml:TotalPrice>
        <!-- The Full Page component has a rate of £10,000 per issue -->
        <adsml:PriceComponent adsml:sequenceNo="1">
          <adsml:PriceComponentName>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLPriceComponentCV">BasePrice</adsml:CodeValue>
          </adsml:PriceComponentName>
          <adsml:Amount>10000.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">Base Rate</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Tarif de base</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="en">Basistarif</adsml:DescriptionLine>
        </adsml:PriceComponent>
        <!-- The Colour has a £300 flat rate uplift -->
        <adsml:PriceComponent adsml:sequenceNo="2">
          <adsml:PriceComponentName>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLPriceComponentCV">ColorCharge</adsml:CodeValue>
          </adsml:PriceComponentName>
          <adsml:Amount>300.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">Colour Charge</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Supplément couleur</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="de">Farbzuschlag</adsml:DescriptionLine>
        </adsml:PriceComponent>
        <!-- A Pre-Agency discount of £100 for being a New Advertiser -->
        <adsml:PriceComponent adsml:sequenceNo="3">
          <adsml:PriceComponentName>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLPriceComponentCV">Discount</adsml:CodeValue>
          </adsml:PriceComponentName>
          <adsml:Amount>-100.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">New Advertiser Discount</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Rabais pour nouvel annonceur</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="de">Rabatt für Neuinserenten</adsml:DescriptionLine>
        </adsml:PriceComponent>
        <!-- A Pre-Agency extra charge of 2% for Bleed -->
        <adsml:PriceComponent adsml:sequenceNo="4">
          <adsml:PriceComponentName>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLPriceComponentCV">Bleed</adsml:CodeValue>
          </adsml:PriceComponentName>
          <adsml:Amount>200.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">Bleed Charge (2%)</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Supplément franc-bord (2%)</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="de">Randanschnitt-Zuschlag (2%)</adsml:DescriptionLine>
          <adsml:CalculationSpecification>
            <adsml:Percent>2.00</adsml:Percent>
            <adsml:BasePrice>10000.00</adsml:BasePrice>
          </adsml:CalculationSpecification>
        </adsml:PriceComponent>
        <adsml:SubTotal adsml:sequenceNo="5">
          <adsml:SubTotalName>
            <adsml:CodeValue>PreAgency</adsml:CodeValue>
            <!-- The seller provides a formal name for the SubTotal, probably to support stylesheet processing -->
          </adsml:SubTotalName>
          <adsml:Amount>10400.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">Pre Agency Commission Subtotal</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Sous-total avant commission agence</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="de">Zwischensumme vor Agenturprovision</adsml:DescriptionLine>
        </adsml:SubTotal>
        <!-- An Agency Discount (Commission) of 15% -->
        <adsml:PriceComponent adsml:sequenceNo="6">
          <adsml:PriceComponentName>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLPriceComponentCV">AgencyCommission</adsml:CodeValue>
          </adsml:PriceComponentName>
          <adsml:Amount>-1560.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">Agency Commission @ 15%</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Commission agence @ 15%</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="de">Agenturprovision @ 15%</adsml:DescriptionLine>
          <adsml:CalculationSpecification>
            <adsml:Percent>15.00</adsml:Percent>
            <adsml:BasePrice>10400.00</adsml:BasePrice>
          </adsml:CalculationSpecification>
        </adsml:PriceComponent>
        <adsml:SubTotal adsml:sequenceNo="7">
          <adsml:SubTotalName>
            <adsml:CodeValue>PreTax</adsml:CodeValue>
          </adsml:SubTotalName>
          <adsml:Amount>9840.00</adsml:Amount>
          <adsml:DescriptionLine xml:lang="en">PreTax Subtotal</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="fr">Sous-total avant taxes</adsml:DescriptionLine>
          <adsml:DescriptionLine xml:lang="de">Zwischensumme vor Steuern</adsml:DescriptionLine>
        </adsml:SubTotal>
      </PlacementPrice>
      <adsml:DescriptionLine>Healthways NuVitamins January 2006 Full Page Ad</adsml:DescriptionLine>
      <adsml:Status>
        <adsml:CodeValue xsi:type="adsml-cv:AdsMLStatusCodeCV">Accepted</adsml:CodeValue>
        <adsml:Description xml:lang="en">Accepted</adsml:Description>
        <adsml:Description xml:lang="fr">Accepté</adsml:Description>
        <adsml:Description xml:lang="de">Akzeptiert</adsml:Description>
      </adsml:Status>
      <Publication>
        <PublicationCode>
          <adsml:CodeValue>IT</adsml:CodeValue>
          <adsml:Description>Info Today</adsml:Description>
        </PublicationCode>
      </Publication>
      <InsertionPeriod>
        <ScheduleEntryIdentifier>myagency.com:2007-11-07:75661.2006-01</ScheduleEntryIdentifier>
        <adsml:Status>
          <adsml:CodeValue xsi:type="adsml-cv:AdsMLStatusCodeCV">Accepted</adsml:CodeValue>
          <adsml:Description xml:lang="en">Accepted</adsml:Description>
          <adsml:Description xml:lang="fr">Accepté</adsml:Description>
          <adsml:Description xml:lang="de">Akzeptiert</adsml:Description>
        </adsml:Status>
        <PreDefinedPeriod>
          <adsml:CodeValue>IT:2006-01</adsml:CodeValue>
          <adsml:Description xml:lang="en">Info Today: January 2006 Issue</adsml:Description>
          <adsml:Description xml:lang="fr">Info Today: Edition Janvier 2006</adsml:Description>
          <adsml:Description xml:lang="de">Info Today: Ausgabe Januar 2006</adsml:Description>
        </PreDefinedPeriod>
      </InsertionPeriod>
      <!-- The seller mirrors back the production detail from the buyer's request. -->
      <ProductionDetail.NewspaperMagazine>
        <Size>
          <AdSizeCode>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLAdSizeCodePrintCV">FullPage</adsml:CodeValue>
            <!-- Use of xsi:type is optional and enables schema validation. It is also possible to use a CodeList element as shown in Positioning, below. -->
            <adsml:Description xml:lang="en">Full Page</adsml:Description>
            <adsml:Description xml:lang="fr">Page entière</adsml:Description>
            <adsml:Description xml:lang="de">Ganze Seite</adsml:Description>
          </AdSizeCode>
        </Size>
        <Colors>
          <ColorType>
            <adsml:CodeValue xsi:type="adsml-cv:AdsMLColorTypeCV">ProcessColor</adsml:CodeValue>
            <adsml:Description xml:lang="en">Process color</adsml:Description>
            <adsml:Description xml:lang="fr">Couleur composée</adsml:Description>
            <adsml:Description xml:lang="de">Mischfarben</adsml:Description>
          </ColorType>
        </Colors>
        <Bleed>
          <adsml:CodeValue xsi:type="adsml-cv:AdsMLBleedCodeCV">Full</adsml:CodeValue>
          <adsml:Description xml:lang="en">Full Bleed on all sides</adsml:Description>
          <adsml:Description xml:lang="fr">Franc-bord de tous les côtés</adsml:Description>
          <adsml:Description xml:lang="de">Randanschnitt an allen Seiten</adsml:Description>
        </Bleed>
        <Positioning>
          <PrimaryPositioning>
            <PlacementInBook>
              <SectionCode>
                <adsml:CodeList>adsml-cv:AdsMLSectionCodeCV</adsml:CodeList>
                <adsml:CodeValue>Editorial</adsml:CodeValue>
                <adsml:Description xml:lang="en">Editorial</adsml:Description>
                <adsml:Description xml:lang="fr">Editorial</adsml:Description>
                <adsml:Description xml:lang="de">Leitartikel</adsml:Description>
              </SectionCode>
              <PlacementCode>
                <adsml:CodeList>adsml-cv:AdsMLPlacementInBookPrintCV</adsml:CodeList>
                <adsml:CodeValue>RightHandPage</adsml:CodeValue>
                <adsml:Description xml:lang="en">Right-hand page</adsml:Description>
                <adsml:Description xml:lang="fr">Page à droite</adsml:Description>
                <adsml:Description xml:lang="de">Rechte Seite</adsml:Description>
              </PlacementCode>
            </PlacementInBook>
          </PrimaryPositioning>
          <CuttablePosition>false</CuttablePosition>
        </Positioning>
      </ProductionDetail.NewspaperMagazine>
    </Placement.NewspaperMagazine>
  </AdQuotation>
</AdsMLBookings>

