Unable to determine the entity-type of this row. Make sure to only provide fields for columns that are appropriate for the entity.
var csv = AdWordsApp.bulkUploads().newCsvUpload([ "Campaign", "Campaign state", "Start Date", "End Date", "Budget", "Campaign type", "Campaign subtype", "Bid Strategy Type", ])
csv.append({ 'Campaign': 'e8def923cb9f9fcc07d8bdd7a54f0e2d92f950dd', 'Campaign state': 'enabled', 'Start Date': '2019-05-17', 'End Date': '2027-05-17', 'Budget': 1000, 'Campaign type': 'Search Network with Display Select', 'Campaign subtype': 'Standard', 'Bid Strategy Type': 'cpc', }) csv.setFileName('Create campaign e8def923cb9f9fcc07d8bdd7a54f0e2d92f950dd') csv.apply()
Campaign,Campaign state,Start Date,End Date,Budget,Campaign type,Campaign subtype,Bid Strategy Type,Resultse8def923cb9f9fcc07d8bdd7a54f0e2d92f950dd,enabled,2019-05-17,2027-05-17,1000,Search Network with Display Select,Standard,cpc,Unable to determine the entity-type of this row. Make sure to only provide fields for columns that are appropriate for the entity.--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/KUc4j000000000000000000000000000000000000000000000PRNZ7900okth0CZ8SZmxt_-_aL4fVg%40sfdc.net.
For more options, visit https://groups.google.com/d/optout.
function main() { Logger.log('Script started') var csv = AdWordsApp.bulkUploads().newCsvUpload([ "Campaign", "Campaign state", "Start Date", "End Date", "Budget", "Campaign type", "Networks", "Bid Strategy Type", "tracking URL", ])
csv.append({ 'Campaign': 'test-SearchAndContext', 'Budget': 10001, 'Bid Strategy Type': 'Manual cpc', 'Campaign state': 'paused', 'Campaign type': 'Search', "Networks": 'Google Search; Search Partners; Display Network;' }) csv.append({ 'Campaign': 'test-Search', 'Budget': 10001, 'Bid Strategy Type': 'Manual cpc', 'Campaign state': 'paused', 'Campaign type': 'Search', "Networks": 'Google Search; Search Partners;' }) csv.append({ 'Campaign': 'test-Context', 'Budget': 10001, 'Bid Strategy Type': 'Manual cpc', 'Campaign state': 'paused', 'Campaign type': 'Display', "Networks": 'Display Network;' }) csv.setFileName('test10') csv.apply() Logger.log('Script fin')}</pre>