AI-generated Key Takeaways
-
The Order resource describes the properties of a Planning order, including details like IDs, names, organizations, contacts, and terms.
-
An OrderContact represents a contact associated with an order and includes information such as contact type, title, name, and contact details.
-
PlanningOrderContactType defines the possible types of contacts for an order within DDM Planning, such as buyer contact, buyer billing contact, and seller contact.
-
The available methods for interacting with orders include getting a specific order by ID and listing multiple orders with optional filtering.
Resource: Order
Describes properties of a Planning order .
| JSON representation |
|---|
{ "id" : string , "accountId" : string , "subaccountId" : string , "advertiserId" : string , "projectId" : string , "name" : string , "buyerOrganizationName" : string , "sellerOrganizationName" : string , "contacts" : [ { object ( |
| Fields | |
|---|---|
id
|
ID of this order. This is a read-only, auto-generated field. |
accountId
|
Account ID of this order. |
subaccountId
|
Subaccount ID of this order. |
advertiserId
|
Advertiser ID of this order. |
projectId
|
Project ID of this order. |
name
|
Name of this order. |
buyerOrganizationName
|
Name of the buyer organization. |
sellerOrganizationName
|
Name of the seller organization. |
contacts[]
|
Contacts for this order. |
termsAndConditions
|
Terms and conditions of this order. |
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
notes
|
Notes of this order. |
buyerInvoiceId
|
Buyer invoice ID associated with this order. |
sellerOrderId
|
Seller order ID associated with this order. |
comments
|
Comments in this order. |
planningTermId
|
ID of the terms and conditions template used in this order. |
approverUserProfileIds[]
|
IDs for users that have to approve documents created for this order. |
siteNames[]
|
Free-form site names this order is associated with. |
siteId[]
|
Site IDs this order is associated with. |
lastModifiedInfo
|
Information about the most recent modification of this order. |
OrderContact
Contact of an order.
| JSON representation |
|---|
{
"contactInfo"
:
string
,
"contactType"
:
enum (
|
| Fields | |
|---|---|
contactInfo
|
Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID. |
contactType
|
Type of this contact. |
contactTitle
|
Title of this contact. |
contactName
|
Name of this contact. |
signatureUserProfileId
|
ID of the user profile containing the signature that will be embedded into order documents. |
PlanningOrderContactType
DDM Planning's order contact type. Next value = 4
| Enums | |
|---|---|
PLANNING_ORDER_CONTACT_BUYER_CONTACT
|
|
PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT
|
|
PLANNING_ORDER_CONTACT_SELLER_CONTACT
|
|
Methods |
|
|---|---|
|
Gets one order by ID. |
|
Retrieves a list of orders, possibly filtered. |

