Hi
I have found this code in samples, I run it ,But it doesnt create the campaign.
Are there another necessary settings. What is missing?
function createOrUpdateCampaigns() {
var columns = [ 'Campaign', 'Budget', 'Bid Strategy type', 'Campaign type' ];
var upload = AdWordsApp.bulkUploads().newCsvUpload( columns, {moneyInMicros: false} );
upload.append({
'Campaign': 'Test Campaign 1',
'Budget': 1,
'Bid Strategy type': 'cpc',
'Campaign type': 'Search Only'
});
// Use upload.apply() to make changes without previewing.
upload.preview();
}
function main() {
createOrUpdateCampaigns();
}