PageSourceSearch

https://app.adcero.io/_next/static/chunks/31603.179d20511208bf51.js

js adcero.io collected 2026-10-02 02:01:50 UTC 13,316 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31603],{10383:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},20181:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("tv",[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]])},29095:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("message-square-quote",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M8 12a2 2 0 0 0 2-2V8H8",key:"1jfesj"}],["path",{d:"M14 12a2 2 0 0 0 2-2V8h-2",key:"1dq9mh"}]])},37237:(e,t,a)=>{a.r(t),a.d(t,{CampaignSettingsPage:()=>A});var s=a(95155),n=a(12115),i=a(41192),o=a(63942),d=a(13753),l=a(44476),r=a(62695),c=a(10383),h=a(76129),p=a(29318),m=a(79975),g=a(94273),x=a(40398),u=a(90235),y=a(17982),v=a(76032);let b=[...v.gi],j=[...v.gp],f=[...v.G8];function k(e){let{value:t,onChange:a,isExpanded:n,onToggle:i}=e;return(0,s.jsx)("div",{id:"section-ad-rotation",children:(0,s.jsx)(h.i,{title:"Ad rotation",isExpanded:n,onToggle:i,sectionType:"OPTIONAL",children:(0,s.jsx)(m.c,{name:"display-ad-rotation",value:t,onChange:a,options:[{value:"optimize",label:"Optimize: Prefer best performing ads",description:"Show ads that are expected to get more clicks or conversions. Recommended for most advertisers."},{value:"rotate_indefinitely",label:"Do not optimize: Rotate ads indefinitely"}]})})})}function N(e){let{startDate:t,endDate:a,onStartDateChange:n,onEndDateChange:i,endDateOption:o,onEndDateOptionChange:d,isExpanded:l,onToggle:r}=e;return(0,s.jsx)("div",{id:"section-start-end-dates",children:(0,s.jsx)(h.i,{title:"Start and end dates",icon:(0,s.jsx)(c.A,{className:"h-5 w-5"}),isExpanded:l,onToggle:r,infoTooltip:"Set when your campaign starts and optionally ends",sectionType:"OPTIONAL",isComplete:!!t||!!a,children:(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)(u.J,{className:"text-sm font-medium text-muted-foreground",children:"Start date"}),(0,s.jsx)(x.M,{selectedDate:t,onDateChange:n,placeholder:"Select start date",buttonClassName:"h-12 w-full max-w-xs justify-between px-4 text-base"})]}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)(u.J,{className:"text-sm font-medium text-muted-foreground",children:"End date"}),(0,s.jsxs)(y.z,{value:o,onValueChange:e=>d(e),className:"space-y-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(y.C,{value:"none",id:"display-end-date-none"}),(0,s.jsx)(u.J,{htmlFor:"display-end-date-none",className:"cursor-pointer text-base font-normal",children:"None"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(y.C,{value:"date",id:"display-end-date-date"}),(0,s.jsx)("div",{className:"w-full max-w-xs",onClick:()=>d("date"),children:(0,s.jsx)(x.M,{selectedDate:a,onDateChange:e=>{d("date"),i(e)},placeholder:"Select a date",buttonClassName:"h-12 justify-between px-4 text-base"})})]})]}),"date"===o&&t&&a&&a<=t&&(0,s.jsx)("p",{className:"text-sm text-[var(--gm-error)]",children:"End date must be after the start date"})]})]})})})}function C(e){let{checked:t,onChange:a,selectable:n,isExpanded:i,onToggle:o}=e;return(0,s.jsx)("div",{id:"section-conversions",children:(0,s.jsx)(h.i,{title:"Conversions",isExpanded:i,onToggle:o,sectionType:"OPTIONAL",children:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:"View-through conversions"}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(p.h,{checked:t,onChange:a,disabled:!n,label:'Include view-through conversions in your "Conversions" and "All conversions" columns',id:"display-include-view-through-conversions"}),(0,s.jsx)("p",{className:"pl-6 text-sm text-muted-foreground",children:"Only available for manual vCPM and Target CPA bid strategies that are paying for viewable impressions"})]}),(0,s.jsxs)("p",{className:"text-sm text-muted-foreground",children:["View-through conversions are counted when someone views your ad, doesn't click it, then performs a conversion action later on"," ",(0,s.jsx)("a",{href:"https://support.google.com/google-ads/answer/6270625",target:"_blank",rel:"noopener noreferrer",className:"font-medium text-[var(--gm-info)] underline underline-offset-2 hover:opacity-80",children:"Learn more"})]})]})})})}
1function w(e){let{contentLabelExclusions:t,onExclusionChange:a,isExpanded:i,onToggle:o}=e,d=(0,n.useCallback)(e=>{let n=(0,v.At)(e);return(0,s.jsx)("div",{className:e.className,children:(0,s.jsx)(p.h,{checked:(0,v.AE)(t,e),onChange:t=>a(e,t),disabled:!n,id:"display-content-exclusion-".concat(e.id),label:(0,s.jsxs)("span",{className:n?"":"space-y-1",children:[(0,s.jsx)("span",{className:n?void 0:"text-muted-foreground",children:e.label}),!n&&(0,s.jsx)("span",{className:"block w-fit border-b border-dashed border-[var(--gm-error)] text-[var(--gm-error)]",children:"Inactive"})]})})},e.id)},[t,a]);return(0,s.jsx)("div",{id:"section-content-exclusions",children:(0,s.jsx)(h.i,{title:"Content exclusions",isExpanded:i,onToggle:o,sectionType:"OPTIONAL",children:(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)("p",{className:"text-base font-medium",children:"Opt out of showing your ads on content that doesn't fit your brand"}),(0,s.jsxs)("div",{className:"grid border-y border-border md:grid-cols-3",children:[(0,s.jsxs)("div",{className:"space-y-5 p-4 md:border-r md:border-border",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-muted-foreground",children:[(0,s.jsx)("span",{children:"Content label (Display and GVP)"}),(0,s.jsx)(g.I,{content:"Exclude inventory by digital content label suitability."})]}),(0,s.jsx)("div",{className:"space-y-4",children:b.map(d)})]}),(0,s.jsxs)("div",{className:"space-y-5 border-t border-border p-4 md:border-r md:border-t-0 md:border-border",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-muted-foreground",children:[(0,s.jsx)("span",{children:"Sensitive content"}),(0,s.jsx)(g.I,{content:"Exclude sensitive content categories from your Display campaign inventory."})]}),(0,s.jsx)("div",{className:"space-y-4",children:j.map(d)})]}),(0,s.jsxs)("div",{className:"space-y-5 border-t border-border p-4 md:border-t-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-muted-foreground",children:[(0,s.jsx)("span",{children:"Content type"}),(0,s.jsx)(g.I,{content:"Exclude specific inventory or placement content types."})]}),(0,s.jsx)("div",{className:"space-y-4",children:f.map(d)})]})]}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"While content exclusions are completed to the best of our ability, we can't guarantee that all related content will be excluded."})]})})})}let A=n.memo(function(e){let{accountCountry:t}=e,{state:a,updateCampaign:c}=(0,i.CO)(),{customerId:h,managerCustomerId:p}=(0,o._)(),[m,g]=(0,n.useState)({adRotation:!1,devices:!1,startEndDates:!1,conversions:!1,contentExclusions:!1}),x=(0,n.useCallback)(e=>{g(t=>({...t,[e]:!t[e]}))},[]),[u,y]=(0,n.useState)("optimize"),[b,j]=(0,n.useState)(!1),f=(0,n.useMemo)(()=>(function(e){let{advertisingChannelType:t="DISPLAY",advertisingChannelSubType:a,biddingStrategyType:s,paymentMode:n}=e;return"DISPLAY"!==t?{eligible:!1,reason:"not_display"}:"DISPLAY_GMAIL"===a?{eligible:!1,reason:"gmail_display_subtype"}:"MANUAL_CPM"===s?{eligible:!0,reason:"eligible_manual_cpm"}:"TARGET_CPA"===s?"CONVERSIONS"===n?{eligible:!1,reason:"target_cpa_pay_for_conversions"}:{eligible:!0,reason:"eligible_target_cpa"}:{eligible:!1,reason:"unsupported_bidding_strategy"}})({advertisingChannelType:"DISPLAY",biddingStrategyType:a.campaign.biddingStrategy}),[a.campaign.biddingStrategy]).eligible,[A,M]=(0,n.useState)(a.campaign.endDate?"date":"none");(0,n.useEffect)(()=>{!f&&b&&j(!1)},[b,f]);let E=(0,n.useCallback)(e=>c({startDate:e}),[c]),D=(0,n.useCallback)(e=>c({endDate:e}),[c]),T=(0,n.useCallback)(e=>{M(e),"none"===e&&D(void 0)},[D]),S=(0,n.useCallback)((e,t)=>{(0,v.At)(e)&&c({contentLabelExclusions:(0,v.bK)(a.campaign.contentLabelExclusions,e,t)})},[a.campaign.contentLabelExclusions,c]),_=(0,n.useMemo)(()=>{var e;return null!=(e=a.campaign.displayDeviceTargeting)?e:{mode:"all",operatingSystems:[],deviceModels:[],networks:[]}},[a.campaign.displayDeviceTargeting]),O=(0,n.useCallback)(e=>{c({displayDeviceTargeting:{..._,...e}})},[_,c]),P=(0,n.useCallback)(e=>{c({displayDeviceTargeting:{..._,mode:e,..."all"===e?{operatingSystems:[],deviceModels:[],networks:[]}:{}},..."all"===e?{deviceTargeting:void 0}:{}})},[_,c]);return(0,s.jsx)(d.H,{description:"Define key settings for your Display campaign.",accountCountry:t,locationsInfoTooltip:"Select geographic locations where your ads will be shown",showCampaignDates:!1,showDevices:!1,showDemographics:!1,showIpExclusions:!1,showExtensions:!1,after
1EuPolitical:(0,s.jsx)(k,{value:u,onChange:y,isExpanded:m.adRotation,onToggle:()=>x("adRotation")}),afterAdSchedule:e=>{let{devices:t}=e;return(0,s.jsx)("div",{id:"section-devices",children:(0,s.jsx)(r.J,{sectionType:"OPTIONAL",isExpanded:m.devices,onToggle:()=>x("devices"),mode:_.mode,onModeChange:P,devices:t.state,onDeviceChange:t.handleChange,selectedOperatingSystems:_.operatingSystems,onOperatingSystemsChange:e=>O({operatingSystems:e}),selectedDeviceModels:_.deviceModels,onDeviceModelsChange:e=>O({deviceModels:e}),selectedNetworks:_.networks,onNetworksChange:e=>O({networks:e}),customerId:h,loginCustomerId:p,showTvScreens:!1})})},afterUrlOptions:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N,{startDate:a.campaign.startDate,endDate:a.campaign.endDate,onStartDateChange:E,onEndDateChange:D,endDateOption:A,onEndDateOptionChange:T,isExpanded:m.startEndDates,onToggle:()=>x("startEndDates")}),(0,s.jsx)(C,{checked:b,onChange:j,selectable:f,isExpanded:m.conversions,onToggle:()=>x("conversions")}),(0,s.jsx)(w,{contentLabelExclusions:a.campaign.contentLabelExclusions,onExclusionChange:S,isExpanded:m.contentExclusions,onToggle:()=>x("contentExclusions")})]}),additionalFooterBanners:(0,s.jsx)(l.X,{message:"Additional account-level controls can still be adjusted in Google Ads after campaign creation.",learnMoreUrl:"https://support.google.com/google-ads/answer/1704395"})})})},40398:(e,t,a)=>{a.d(t,{M:()=>c});var s=a(95155);a(12115);var n=a(38621),i=a(16485),o=a(25016),d=a(97003),l=a(55725),r=a(97450);function c(e){let{selectedDate:t,onDateChange:a,placeholder:c="Pick a date",displayValue:h,className:p,buttonClassName:m,popoverContentClassName:g,disabled:x=!1,...u}=e;return(0,s.jsxs)(r.AM,{children:[(0,s.jsx)(r.Wv,{asChild:!0,...u,children:(0,s.jsxs)(d.$,{variant:"outline",disabled:x,className:(0,o.cn)("w-full justify-start text-left font-normal",!t&&"text-muted-foreground","cursor-pointer","form-field-white-bg",m),children:[(0,s.jsx)(i.A,{className:"mr-2 h-4 w-4"}),t?(0,s.jsx)("span",{className:"min-w-0 truncate",children:null!=h?h:(0,n.GP)(t,"PP")}):(0,s.jsx)("span",{children:c})]})}),(0,s.jsx)(r.hl,{className:(0,o.cn)("w-auto p-0",g),style:{pointerEvents:"auto"},children:(0,s.jsx)(l.V,{mode:"single",selected:t,onSelect:a,initialFocus:!0,disabled:x})})]})}},40704:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("file-input",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},46046:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},69141:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},80003:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("list",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},90627:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]])},91761:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.