LineItem with PRICE_PRIORITY type

74 views
Skip to first unread message

Thierry KALB

unread,
May 23, 2012, 1:50:54 PM5/23/12
to google-doubleclick...@googlegroups.com

Hello.

 

I try to create a lineItem with PRICE_PRIORITY type.

I get the following exception : LineItemOperationError.NOT_APPLICABLE

 

It is certainly due to field(s) I try to set that I not have to (with such a type).

Could you tell me what is wrong in my request?

Thanks.

 

Please find attached the corresponding lines of the soap_xml.log.

 

Thierry.

soap_xml.log

Trygve Refvem

unread,
May 23, 2012, 2:59:50 PM5/23/12
to google-doubleclick...@googlegroups.com
Hi, 
I am struggling with a need to adopt the adserver to a slot/feed based system that operates on mobile devices. 
The challenge is to serve the ads to a slot similar to a banner – a slot – that appears in a stream of slots. Is this possible in Doubleclick?
BR
Trygve Refvem

DFP Advisor

unread,
May 23, 2012, 8:19:37 PM5/23/12
to google-doubleclick...@googlegroups.com
Hi Thierry,

The following is the soap request for a successful line item creation.  I noticed you do not specify unitType to be IMPRESSIONS. Can you try that?

<SOAP-ENV:Body>
   <lineItems xsi3:type="dfp:LineItem">
    <dfp:orderId>81445236</dfp:orderId>
    <dfp:name>Line item #9056122615172352012</dfp:name>
    <dfp:startDateTimeType>IMMEDIATELY</dfp:startDateTimeType>
    <dfp:endDateTime xsi3:type="dfp:DateTime">
     <dfp:date xsi3:type="dfp:Date">
      <dfp:year>2013</dfp:year>
      <dfp:month>9</dfp:month>
      <dfp:day>30</dfp:day>
     </dfp:date>
     <dfp:hour>0</dfp:hour>
     <dfp:minute>0</dfp:minute>
     <dfp:second>0</dfp:second>
    </dfp:endDateTime>
    <dfp:creativeRotationType>EVEN</dfp:creativeRotationType>
    <dfp:lineItemType>PRICE_PRIORITY</dfp:lineItemType>
    <dfp:unitType>IMPRESSIONS</dfp:unitType>
    <dfp:unitsBought>500</dfp:unitsBought>
    <dfp:costPerUnit xsi3:type="dfp:Money">
     <dfp:currencyCode>USD</dfp:currencyCode>
     <dfp:microAmount>2000000</dfp:microAmount>
    </dfp:costPerUnit>
    <dfp:costType>CPM</dfp:costType>
    <dfp:creativePlaceholders xsi3:type="dfp:CreativePlaceholder">
     <dfp:size xsi3:type="dfp:Size">
      <dfp:width>300</dfp:width>
      <dfp:height>250</dfp:height>
     </dfp:size>
    </dfp:creativePlaceholders>
    <dfp:creativePlaceholders xsi3:type="dfp:CreativePlaceholder">
     <dfp:size xsi3:type="dfp:Size">
      <dfp:width>120</dfp:width>
      <dfp:height>600</dfp:height>
     </dfp:size>
    </dfp:creativePlaceholders>
    <dfp:allowOverbook>true</dfp:allowOverbook>
    <dfp:targeting xsi3:type="dfp:Targeting">
     <dfp:inventoryTargeting xsi3:type="dfp:InventoryTargeting">
      <dfp:targetedPlacementIds>962076</dfp:targetedPlacementIds>
     </dfp:inventoryTargeting>
    </dfp:targeting>
   </lineItems>
  </createLineItems>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks,
Jeffrey Sham, DFP API Team

DFP Advisor

unread,
May 23, 2012, 8:23:27 PM5/23/12
to google-doubleclick...@googlegroups.com
Hi,

I think that's a bit outside the scope of what we can help with on this forum.  We can help answer DFP API questions but for your question, you may want to contact the DFP help center: http://productforums.google.com/forum/#!forum/dfp

Thanks,
Jeffrey Sham, DFP API Team

Thierry KALB

unread,
May 25, 2012, 11:52:44 AM5/25/12
to dfpapi-advis...@gtempaccount.com, google-doubleclick...@googlegroups.com

Hello Jeffrey.

Thanks for looking at.

In fact the issue was linked to the “reserveAtCreation” flag, set to ‘true’ in my case (which seems to be not compatible with the type ‘PRICE_PRIORITY’.

Now I know… J.

Regards,

Thierry.

 

De : google-doubleclick...@googlegroups.com [mailto:google-doubleclick...@googlegroups.com] De la part de DFP Advisor
Envoyé : jeudi 24 mai 2012 02:20
À : google-doubleclick...@googlegroups.com
Objet : Re: LineItem with PRICE_PRIORITY type

--
You received this message because you are subscribed to the Google Groups "Google's DoubleClick for Publishers API Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-doubleclick-for-publishers-api/-/UrRi5j_LJAsJ.
To post to this group, send email to google-doubleclick...@googlegroups.com.
To unsubscribe from this group, send email to google-doubleclick-for-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-doubleclick-for-publishers-api?hl=en.

Reply all
Reply to author
Forward
0 new messages