2016-10-26 3 views

Antwort

3

Sie können es nicht auf die gleiche Weise erstellen.

Aber man kann es durch Bulk-Upload erstellen:

function createOrUpdateCampaigns() { 
    // See https://developers.google.com/adwords/scripts/docs/features/bulk-upload 
    // for the list of supported bulk upload templates and their column names. 
    var columns = [ 
    'Campaign', 'Budget', 'Bid Strategy type', 'Campaign type' 
    ]; 

    var upload = AdWordsApp.bulkUploads().newCsvUpload(
     columns, {moneyInMicros: false}); 

    // AdWords identify existing campaigns using its name. To create a new 
    // campaign, use a campaign name that doesn't exist in your account. 
    upload.append({ 
    'Campaign': 'Test Campaign 1', 
    'Budget': 234, 
    'Bid Strategy type': 'cpc', 
    'Campaign type': 'Search Only' 
    }); 
    // Use upload.apply() to make changes without previewing. 
    upload.preview(); 
} 
Verwandte Themen