ভারী বোঝা স্থাপন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
গুগল ড্রাইভ থেকে বাল্ক আপলোড
function bulkUploadFromGoogleDrive() { // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload // for the list of supported bulk upload templates. // You can upload a CSV file, or an EXCEL sheet. const file = DriveApp.getFilesByName('BulkCampaignUpload.csv').next(); const upload = AdsApp.bulkUploads().newFileUpload(file); upload.forCampaignManagement(); // Use upload.apply() to make changes without previewing. upload.preview(); }
দূরবর্তী সার্ভার থেকে বাল্ক আপলোড
function bulkUploadFromRemoteServer(csvFileUrl) { // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload // for the list of supported bulk upload templates. const blob = UrlFetchApp.fetch(csvFileUrl) .getBlob() .getAs(MimeType.CSV); const upload = AdsApp.bulkUploads().newFileUpload(blob); upload.forCampaignManagement(); // Use upload.apply() to make changes without previewing. upload.preview(); }
Google পত্রক থেকে বাল্ক আপলোড
function bulkUploadFromGoogleSpreadsheet(spreadsheetUrl) { // The format of this spreadsheet should match a valid bulk upload template. // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload // for the list of supported bulk upload templates. const spreadSheet = SpreadsheetApp.openByUrl(spreadsheetUrl); const sheet = spreadSheet.getActiveSheet(); const upload = AdsApp.bulkUploads().newFileUpload(sheet); upload.forCampaignManagement(); // Use upload.apply() to make changes without previewing. upload.preview(); }
প্রচারাভিযান তৈরি/আপডেট করুন
function createOrUpdateCampaigns() { // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload // for the list of supported bulk upload templates and their column names. const columns = [ 'Campaign', 'Budget', 'Bid Strategy type', 'Campaign type' ]; const upload = AdsApp.bulkUploads().newCsvUpload( columns, {moneyInMicros: false}); // Google Ads 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(); }
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-21 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-21 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis script provides functionalities to bulk upload data into Google Ads from various sources like Google Drive, remote servers, and Google Sheets.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes Google Ads Scripts' bulk upload feature to manage and update campaigns, using CSV or spreadsheet files formatted according to specified templates.\u003c/p\u003e\n"],["\u003cp\u003eThe examples demonstrate how to preview changes before applying them, ensuring accuracy in bulk operations.\u003c/p\u003e\n"],["\u003cp\u003eThe script allows creation or updating of existing campaigns by providing the necessary campaign details like name, budget, bid strategy, and type.\u003c/p\u003e\n"],["\u003cp\u003eBefore execution, users should consult the provided link for understanding supported bulk upload templates and their required column names.\u003c/p\u003e\n"]]],[],null,["Bulk upload from Google Drive \n\n```gdscript\nfunction bulkUploadFromGoogleDrive() {\n // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload\n // for the list of supported bulk upload templates.\n // You can upload a CSV file, or an EXCEL sheet.\n const file = DriveApp.getFilesByName('BulkCampaignUpload.csv').next();\n const upload = AdsApp.bulkUploads().newFileUpload(file);\n upload.forCampaignManagement();\n\n // Use upload.apply() to make changes without previewing.\n upload.preview();\n}\n```\n\nBulk upload from remote server \n\n```gdscript\nfunction bulkUploadFromRemoteServer(csvFileUrl) {\n // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload\n // for the list of supported bulk upload templates.\n const blob = UrlFetchApp.fetch(csvFileUrl)\n .getBlob()\n .getAs(MimeType.CSV);\n\n const upload = AdsApp.bulkUploads().newFileUpload(blob);\n upload.forCampaignManagement();\n\n // Use upload.apply() to make changes without previewing.\n upload.preview();\n}\n```\n\nBulk upload from Google Sheets \n\n```gdscript\nfunction bulkUploadFromGoogleSpreadsheet(spreadsheetUrl) {\n // The format of this spreadsheet should match a valid bulk upload template.\n // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload\n // for the list of supported bulk upload templates.\n const spreadSheet = SpreadsheetApp.openByUrl(spreadsheetUrl);\n const sheet = spreadSheet.getActiveSheet();\n\n const upload = AdsApp.bulkUploads().newFileUpload(sheet);\n upload.forCampaignManagement();\n\n // Use upload.apply() to make changes without previewing.\n upload.preview();\n}\n```\n\nCreate/update campaigns \n\n```gdscript\nfunction createOrUpdateCampaigns() {\n // See https://developers.google.com/google-ads/scripts/docs/features/bulk-upload\n // for the list of supported bulk upload templates and their column names.\n const columns = [\n 'Campaign', 'Budget', 'Bid Strategy type', 'Campaign type'\n ];\n\n const upload = AdsApp.bulkUploads().newCsvUpload(\n columns, {moneyInMicros: false});\n\n // Google Ads identify existing campaigns using its name. To create a new\n // campaign, use a campaign name that doesn't exist in your account.\n upload.append({\n 'Campaign': 'Test Campaign 1',\n 'Budget': 234,\n 'Bid Strategy type': 'cpc',\n 'Campaign type': 'Search Only'\n });\n // Use upload.apply() to make changes without previewing.\n upload.preview();\n}\n```"]]