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();  
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/05bc9d57-cca6-4223-b9f3-a48bb5bdcc72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to