Hi,
I need to create lineitems by google api i need sample payload with required fields. I pass payload like this but its throwing unwanted errors.
{
"orderId": "########",
"name": "Testing Line Item 2",
"startDateTimeType": "IMMEDIATELY",
"endDateTime": {
"date": {
"year": 2024,
"month": 5,
"day": 15
},
"hour": 0,
"minute": 0,
"second": 0,
"timeZoneId": "Asia/Kolkata"
},
"creativeRotationType": "OPTIMIZED",
"lineItemType": "PRICE_PRIORITY",
"costPerUnit": {
"currencyCode": "USD",
"microAmount": "5000000"
},
"costType": "CPC",
"primaryGoal": {
"goalType": "LIFETIME_CLICKS",
"unitType": "IMPRESSIONS",
"units": 1000000
},
"creativePlaceholders": [
{
"size": {
"width": 300,
"height": 50,
"isAspectRatio": false
}
}
],
"targeting": {
"geoTargeting": {
"targetedLocations": [
{
"id": "2356",
"type": "COUNTRY",
"displayName": "India"
}
]
}
}
}
Thanks
Mehul Panchal