Skip to main content
Use googleAds.createCampaign to create a Google Ads campaign with an existing budget and bidding strategy.

Example

Inputs

Set customerId, name, a campaign-budget resource name, channel type, bidding strategy, and the required EU political-advertising declaration. Search, Display, Video, Demand Gen, and Performance Max campaigns accept the standard bidding strategies. Shopping campaigns also require shoppingSetting with merchantId and campaignPriority, and accept manualCpc, targetSpend, or targetRoas bidding. An optional feed label uses only uppercase letters, digits, hyphens, and underscores. Hotel campaigns require hotelSetting.hotelCenterId and percentCpc bidding. Optional startDateTime and endDateTime values use YYYY-MM-DD HH:mm:ss in the customer account’s time zone. Status defaults to Google’s enabled state, so use PAUSED when staging. All customer-scoped actions accept optional loginCustomerId for manager-account access and a named Google account binding.

Output

Returns the created campaign resource name. Creation is not replay-safe.