Pontiac Wiki Pontiac Wiki

Posting a Line Item

Remarketing Campaign Tutorial

  • Tutorial Overview
  • Authentication
  • Creating a New Advertiser
  • Uploading a Creative
  • Posting Pixels
  • Posting a Line Item
  • Placing Pixels
  1. Home
  2. API Documentation
  3. Remarketing Campaign Tutorial
  4. Posting a Line Item

Posting a Line Item

At this point we have the Advertiser ID, Creative ID, Conversion Pixel ID and the Segment Pixel ID. We will post a simple, mostly default Line targeting a couple of zip codes and a couple of select sellers.
 
Advertiser ID 1713
Creative ID 28214
Conversion Pixel ID 980
Segment Pixel ID 22672
 
 curl -X POST -H ‘auth: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzZWF0SWQiOjEwMDAsInVzZXJJZCI6NCwiZXhwaXJlcyI6IjIwMjAtMDgtMjYgMDE6Mzk6MDkifQ.W475vyhEafa9TN94OaLkUEHWF7YkI6t-tJbKBIYqN6A’ -d ‘ {
   “pontiacAdvertiserId”:1713,
   “deployDate”:20200825,
   “status”:0,
   “startDate”:20200825,
   “endDate”:20200829,
   “totalBudgetSpend”:10.0,
   “dailyBudgetSpend”:2.2,
   “budgetType”:”spend”,
   “goalType”:”ctr”,
   “name”:”exampleLine2.1″,
   “budgetMultiplier”:1.1,
   “allowDynBudgetMultiplier”:0,
   “optSchedule”:{
   “days”:[
      “thursday”
   ]
   },
   “bidData”:{
   “range”:{
      “max”:3.75,
      “min”:0.26
   },
   “base”:2.31
   },
   “conversionPixelsIds”:[
   980
   ],
   “segmentGroups”:[
   {
      “segments”:[
         {
            “id”:22672,
            “segmentType”:”firstParty”,
            “action”:”include”,
            “status”:1
         }
      ],
“isCustomDomainGroup”:false
   }
   ],
   “creativesIds”:[
   28214
   ],
   “targets”:{
   “geoTargets”:{
      “action”:”include”,
      “geos”:[
         {
            “name”:”United States”,
            “code”:”US”,
            “id”:233,
            “type”:”country”
         },
         {
            “countryCode”:”US”,
            “code”:”11215″,
            “type”:”zip”
         },
         {
            “countryCode”:”US”,
            “code”:”11238″,
            “type”:”zip”
         },
         {
            “countryCode”:”US”,
            “code”:”07481″,
            “type”:”zip”
         },
         {
            “countryCode”:”US”,
            “code”:”07410″,
            “type”:”zip”
         }
      ]
   },
   “dayPartTargets”:{
      “dayParts”:[
         {
            “day”:”sunday”,
            “startHour”:6,
            “endHour”:23
         },
         {
            “day”:”monday”,
            “startHour”:6,
            “endHour”:23
         },
         {
            “day”:”tuesday”,
            “startHour”:6,
            “endHour”:23
         },
         {
            “day”:”wednesday”,
            “startHour”:6,
            “endHour”:23
         },
         {
            “day”:”thursday”,
            “startHour”:6,
            “endHour”:23
         },
         {
            “day”:”friday”,
            “startHour”:6,
            “endHour”:23
         },
         {
            “day”:”saturday”,
            “startHour”:6,
            “endHour”:23
         }
      ]
   },
   “inventoryTypeTargets”:{
      “types”:[
         “web”,
         “mobileWeb”
      ]
   },
   “osTargets”:{
      “action”:”include”,
      “systems”:[
        {
            “name”:”Android”,
            “id”:2
         },
         {
            “name”:”Apple iOS”,
            “id”:3
         },
         {
            “name”:”Apple Mac”,
            “id”:4
         },
        {
            “name”:”Microsoft Windows”,
            “id”:5
         }
      ]
   },
   “exchangeTargets”:{
      “action”:”include”,
      “exchanges”:[
         {
            “id”:2,
            “name”:”Pubmatic”,
            “category”:”Exchange”,
            “sensitive”:0
         },
         {
            “id”:8,
            “name”:”OpenX”,
            “category”:”Exchange”,
            “sensitive”:1
        },
         {
            “id”:9,
            “name”:”Rubicon”,
            “category”:”Exchange”,
            “sensitive”:0
         },
         {
            “id”:10,
            “name”:”AppNexus (Tier 3) Open”,
            “category”:”Network”,
            “sensitive”:0
         },
         {
            “id”:11,
            “name”:”AppNexus (Tier 2) Premier”,
            “category”:”Network”,
            “sensitive”:1
         },
        {
            “id”:12,
            “name”:”AppNexus (Tier 2) Open”,
            “category”:”Network”,
            “sensitive”:0
         }
      ]
   }
   },
   “frequency”:{
   “maxLifetimeImpressions”:12,
   “maxDailyImpressions”:4,
   “allowDyn”:1
   },
   “creativeSuperType”:”standard”
}’  ‘https://api.pontiac.media/pontiac/line’
 
{“timestamp”:”Tue Aug 25 18:33:36 UTC 2020″,”response”:{“Lines”:[{“pontiacLineId”:6802,”pontiacAdvertiserId”:1713,”deployDate”:20200825,”status”:0,”seatId”:1000,”startDate”:20200825,”endDate”:20200829,”totalBudgetSpend”:10.0,”dailyBudgetSpend”:2.2,”budgetType”:”spend”,”goalType”:”ctr”,”name”:”exampleLine2.1″,”budgetMultiplier”:1.1,”allowDynBudgetMultiplier”:0,”optSchedule”:{“days”:[“thursday”]},”bidData”:{“range”:{“max”:3.75,”min”:0.26},”base”:2.31},”conversionPixelsIds”:[980],”segmentGroups”:[{“segments”:[{“id”:22672,”segmentType”:”firstParty”,”action”:”include”,”status”:1}],”isCustomDomainGroup”:0}],”creativesIds”:[28214],”targets”:{“geoTargets”:{“action”:”include”,”geos”:[{“name”:”United States”,”code”:”US”,”id”:233,”type”:”country”},{“countryCode”:”US”,”code”:”11215″,”type”:”zip”},{“countryCode”:”US”,”code”:”11238″,”type”:”zip”},{“countryCode”:”US”,”code”:”07481″,”type”:”zip”},{“countryCode”:”US”,”code”:”07410″,”type”:”zip”}]},”dayPartTargets”:{“dayParts”:[{“day”:”sunday”,”startHour”:6,”endHour”:23},{“day”:”monday”,”startHour”:6,”endHour”:23},{“day”:”tuesday”,”startHour”:6,”endHour”:23},{“day”:”wednesday”,”startHour”:6,”endHour”:23},{“day”:”thursday”,”startHour”:6,”endHour”:23},{“day”:”friday”,”startHour”:6,”endHour”:23},{“day”:”saturday”,”startHour”:6,”endHour”:23}]},”inventoryTypeTargets”:{“types”:[“web”,”mobileWeb”]},”osTargets”:{“action”:”include”,”systems”:[{“name”:”Android”,”id”:2},{“name”:”Apple iOS”,”id”:3},{“name”:”Apple Mac”,”id”:4},{“name”:”Microsoft Windows”,”id”:5}]},”exchangeTargets”:{“action”:”include”,”exchanges”:[{“id”:2,”name”:”Pubmatic”,”category”:”Exchange”,”sensitive”:0},{“id”:8,”name”:”OpenX”,”category”:”Exchange”,”sensitive”:1},{“id”:9,”name”:”Rubicon”,”category”:”Exchange”,”sensitive”:0},{“id”:10,”name”:”AppNexus (Tier 3) Open”,”category”:”Network”,”sensitive”:0},{“id”:11,”name”:”AppNexus (Tier 2) Premier”,”category”:”Network”,”sensitive”:1},{“id”:12,”name”:”AppNexus (Tier 2) Open”,”category”:”Network”,”sensitive”:0}]}},”frequency”:{“maxLifetimeImpressions”:12,”maxDailyImpressions”:4,”allowDyn”:1},”creativeSuperType”:”standard”,”budgetsAreFixed”:0,”lineSetupType”:”simple”,”segmentBooleanOperator”:”or”,”dailyPacing”:”even”,”isRemarketing”:0,”campaignType”:1,”sensitive”:0,”statusInfo”:[],”minMinutesPerImpEnabled”:0}]},”accountStatus”:1,”seatId”:1000}

© 2025 Pontiac Wiki Sec · All Rights Reserved · Developed by RDK

  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Pontiac.media