如何获得 lineitem 赞助
How to get lineitem sponsorship
如何获得订单项赞助价值 ie.a 已售出的所有印象中每个订单项的预留百分比?
我正在使用 DFP PHP 客户端库 v201711。
50% 的赞助订单项需要 LineItemService.getLineItemsByStatement to query DFP API and then inspect the primaryGoal attribute. This is how it would look like in an online DFP API query tool:
{
"primaryGoal": {
"units": 50,
"goalType": "DAILY",
"unitType": "IMPRESSIONS"
},
"orderId": 548040886,
"reserveAtCreation": false,
"adExchangeAuctionOpeningPriority": 0,
"isPrioritizedPreferredDealsEnabled": false,
"startDateTimeType": "USE_START_DATE_TIME",
"skipCrossSellingRuleWarningChecks": false,
"costPerUnit": {
"currencyCode": "RUB",
"microAmount": 200000000
},
...
}
如何获得订单项赞助价值 ie.a 已售出的所有印象中每个订单项的预留百分比?
我正在使用 DFP PHP 客户端库 v201711。
50% 的赞助订单项需要 LineItemService.getLineItemsByStatement to query DFP API and then inspect the primaryGoal attribute. This is how it would look like in an online DFP API query tool:
{
"primaryGoal": {
"units": 50,
"goalType": "DAILY",
"unitType": "IMPRESSIONS"
},
"orderId": 548040886,
"reserveAtCreation": false,
"adExchangeAuctionOpeningPriority": 0,
"isPrioritizedPreferredDealsEnabled": false,
"startDateTimeType": "USE_START_DATE_TIME",
"skipCrossSellingRuleWarningChecks": false,
"costPerUnit": {
"currencyCode": "RUB",
"microAmount": 200000000
},
...
}