| Field Name | Type | Description | Required |
|---|---|---|---|
| account_id | string | account that newly create campaign belongs to | No |
| campaign_name | string | name of the newly create campaign | Yes |
| charge_type | string | Bidding Strategy, historical values by default. The allowed value contains: cpc, smart_bid, max_cv | No |
| status | int | the active/pause status of the newly create campaign, while 0 represents pause, 1 represents active | Yes |
| day_parting | [][]int | an 7*24 array indicating the certain times of day or certain days of the week that you open your campaign, where index 0-6 in first dimension means Monday to Sunday, index 0-23 in second dimension means hours in a day, value 1 means selected, 0 means unselected e.g. [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]] means campaign will run from 3am to 2pm every Friday | Yes |
| dp_timezone | string | By default your account time zone is selected. We'll schedule your campaign to run based on the selected time zone. The allowed value contains: EST UTC-12 UTC-11 UTC-10 UTC-9 UTC-8 UTC-7 UTC-6 UTC-5 UTC-4 UTC-3 UTC-2 UTC-1 UTC UTC+1 UTC+2 UTC+3 UTC+4 UTC+5 UTC+6 UTC+7 UTC+8 UTC+9 UTC+10 UTC+11 UTC+12 UTC+13 UTC+14 | No |
| start_time | string | the exactly start time for the campaign, format yyyy-mm-dd hh:mm:ss, it can not before very day manage-api called | Yes |
| end_time | string | the exactly end time for the campaign, format yyyy-mm-dd hh:mm:ss, it can neither before start_time nor after year 2030 | Yes |
| daily_cap | double | cpc cost as most everyday, minimum daily_cap cap is $20/day, daily_cap/cpc can not be less than 30 | Yes |
| spend_limit | double | cpc cost as most for the campaign | Yes |
| spend_mode | int | the speed to consume daily budget: 1 represents consume budget uniformly; 0 means spend consume budget as soon as possible | Yes |
| cpc | double | budget for a click(unit: USD), cpc can not be higher than $5, daily_cap/cpc can not be less than 30 | When charge_type is set to cpc or smart_bid, cpc is required. When charge_type is set to maxcv, cpc is not required. |
| audience | object | the audience you want to target: type="ALL", value=[] means no limitation; type="INCLUDE" means target audience in the value set; type="EXCLUDE" means target audience not in the value set. The allowed value contains: News, Weather, Election, Entertainment, Sports, Finance, Health, Foodanddrink, Travel, Autos, Video, Money, TV, Movies, Music, Homepage | Yes |
| language | string | language = "en " means the language your campaign target , the allowed language value contains: en , es , de , fr , it , pt , nl ,pl, sv, cs, nb, da, hu, ga Default language = " en " Thefollowing are thesupportedlanguages foreachcountry. US:en;es CA:en,fr AU:en GB:en DE:de FR:fr IT:it, de, fr ES:es AT:de BR:pt MX:es BE:fr,nl,de PT:pt CH:de,fr,it NL:nl PL:pl SE:sv CZ:cs NO:nb DK:da HU:hu IE:en,ga NZ: en | No |
| location | array | Object Array; Note: You can choose targeted country in this section. In USA you can choose certain ZipCodes or States. Region means region targeting The allowed region value contains: US , CA ,AU , GB , DE , FR , IT , ES,AT, BR, MX, BE, PT, CH,NL,PL,SE,CZ,NO,DK,HU Please note: GB represents United Kingdom of Great Britain and Northern Ireland Default region = "US" DE, FR, IT, ES, AT, BR, MX, BE, PT, CH only support type="ALL" type="ALL", value=[] means no limitation; type="INCLUDE" means target state/zipcode in the value set type="EXCLUDE" means target state/zipcode not in the value set option="state" means using state targeting, option="zipcode" means using zipcode targeting. For more details, please find the request Sample above. USA supports states : AL, AK, AZ, AR, CA, CO, CT, DE, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY Canada supports states contains: AB, BC, MB, NB, NL, NS, ON, PE, QC, SK, NT, NU, YT Australia supports states contains: NSW, QLD, SA, TAS, VIC, WA, ACT, NT New South Wales = NSW Queensland = QLD South Australia = SA Tasmania = TAS Victoria = VIC Western Australia = WA Australian Capital Territory = ACT Northern Territory = NT United Kingdom supports states contains: ENG, NIR, SCT, WLS England = ENG Northern Ireland = NIR Scotland = SCT Wales = WLS | Yes |
| platform_targeting | object | the platform you want to target: type="ALL", value=[] means no limitation; type="INCLUDE" means target platform in the value set; type="EXCLUDE" means target platform not in the value set. The allowed value contains: Desktop, Mobile, Tablet, Xbox | Yes |
| os_targeting | object | the os you want to target: type="ALL", value=[] means no limitation; type="INCLUDE" means target os in the value set; type="EXCLUDE" means target os not in the value set. The allowed value contains: Mac OS, Windows, Android, IOS | Yes |
| browser_targeting | object | the browser you want to target: type="ALL", value=[] means no limitation; type="INCLUDE" means target browser in the value set; type="EXCLUDE" means target browser not in the value set. The allowed value contains: Chrome, Safari, Internet Explorer, Edge, Firefox | Yes |
| product_type | string | product type of your campaign. Note: Please choose ONE product type. The allowed value contains: E-commerce, Lead Gen, Health & Fitness, Finance & Insurance, Real Estate, Auto, Careers, Technology & Computing, Education, Arts & Entertainment, Style & Fashion, Family & Parenting, Food, Hobbies & Interests, Home & Garden, Law Gov't & Politics, News, Pets, Religion & Spirituality, Science, Sports, Travel, Society, Others | Yes |
| objective | string | objective of your campaign. Note: Please choose ONE Objective. The allowed value contains: "lead" means Lead Generation, "conversions" means Online Purchases, "awareness" means Website Engagement | Yes |
| target_cpa | double | target CPA ofyour campaign . (unit: USD) daily_cap< tcpa*30 (when the charge type =maxcv) | When Marketing Objective selects Lead Generation or Online Purchases , target CPA is required ; when Website Engagement is selected , target CPA is not required. |
| optimization_type | string | conversion goal of your campaign. Note: Please fill in ONE conversion goal. The conversion goal is the type of pixel important conversion embedded in the account. If the pixel important conversion has not installed, please choose '-1' as the value. The allowed value contains: "1" means View Content, "2" means App Install, "3" means Complete Registration, "4" means Add to Cart, "5" means Add Payment Info, "6" means Search, "7" means Start Checkout, "8" means Purchase, "9" means Add to Wishlist, "10" means Lead, "-1" means Default Optimization | When Marketing Objective selects Lead Generation or Online Purchases, optimization_type is required;when Website Engagement is selected, optimization_type is not required. The optimization_type is the type of pixel important conversion embedded in the account. If the pixel important conversion has not been installed, you can choose Default Optimization, which will optimize for important conversions that are passed back by default. |
| landing_page | string | landing page | Yes |
| utm_tracking | string | tracking code for campaign level tracking. Refer help doc to see details. | Yes |
| brand_name | string | name of brand, 30 character at most | Yes |
| ad | object array | contains at most 10 object of creative | Yes |
| asset_name | string | name of the creative | Yes |
| img | string | link of the creative, The image size must be greater than 600×400. | Yes |
| headline | string | headline of your creative, 80 character at most. You can set dynamic macro in your title: ${LOCATION_STATE} ${TIME_MON} ${LOCATION_CITY} | Yes |