I am currently working with the Google Ad Manager API and I have a few questions regarding the creation of orders and associated entities. Specifically, I would like to clarify the following:
Exact Payload for Creating an Order: Could you please provide me with the required fields for the payload when creating an order in Google Ad Manager? It would be helpful if you could provide a sample payload or a list of essential fields that need to be included.
Entity Management: When creating an order through the API, does this automatically manage related entities such as Line Items, Native Ads, and Creatives? Or do I need to create these entities separately after creating the order?
Hi,
Thank you for contacting the Ad Manager API support team.
Please refer to the sample SOAP payload request below for creating an order. You can also refer to the documentation, where required fields are marked as “this value is required” and you need to include the required fields while creating an order.
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:RequestHeader xmlns:ns1="https://www.google.com/apis/ads/publisher/v202505" soapenv:mustUnderstand="0"> <ns1:networkCode></ns1:networkCode>
<ns1:applicationName></ns1:applicationName>
</ns1:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<createOrders xmlns="https://www.google.com/apis/ads/publisher/v202411">
<orders>
<name></name>
<advertiserId></advertiserId>
<traffickerId></traffickerId>
</orders>
</createOrders>
</soapenv:Body>
</soapenv:Envelope>
I would like to confirm that when you create an order, it does not automatically create associated entities such as line items, creatives. After creating an order, you need to:
1. Create a line item with createLineItems() with the corresponding order id.
2.Create a creative using createCreatives().
3. Associate line item and creative using createLineItemCreativeAssociations().
Here is the sample code for creating an order,LineItem,creative,LineItemCreativeAssociation in Java. Please check here for all available Ad Manager Client Libraries.
![]() |
Ad Manager API Team |
[2025-07-08 09:21:46Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rhPQl:ref" (ADR-00317854)