本文介绍了如何使用Adwords脚本创建新的广告系列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用Google Adwords脚本,您可以创建一个广告组,如此处所示- https://developers.google.com/adwords/scripts/docs/examples/ad-groups .但是没有有关如何创建广告系列的参考.
Using Google Adwords Script, you can create a Ad Group like given here - https://developers.google.com/adwords/scripts/docs/examples/ad-groups. But there is no reference on how to create a Campaign.
如何使用Google Adwords脚本创建新的广告系列?
How to create a new campaign using Google Adwords Script?
推荐答案
您不能以相同的方式创建它.
You can not create it the same way.
但是您可以通过批量上传来创建它:
But you can create it by bulk upload:
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();
}
这篇关于如何使用Adwords脚本创建新的广告系列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!