CINXE.COM
<!DOCTYPE html> <html lang="zh-Hant" id="facebook" class="no_js"> <head><meta charset="utf-8" /><meta name="referrer" content="default" id="meta_referrer" /><script nonce="JNgoVrRB">function envFlush(a){function b(b){for(var c in a)b[c]=a[c]}window.requireLazy?window.requireLazy(["Env"],b):(window.Env=window.Env||{},b(window.Env))}envFlush({"useTrustedTypes":true,"isTrustedTypesReportOnly":true,"ajaxpipe_token":"AXhX59utXvgfg_U73vE","stack_trace_limit":30,"timesliceBufferSize":5000,"show_invariant_decoder":false,"compat_iframe_token":"AUVqxdLM0fgTJgKo_KUHrEtluaQ","isCQuick":false,"brsid":"7440449083423691430"});</script><script nonce="JNgoVrRB">window.openDatabase&&(window.openDatabase=function(){throw new Error()});</script><script nonce="JNgoVrRB">_btldr={};</script><script nonce="JNgoVrRB">function parentIsNotHeadNorBody(a){return a.parentElement!==document.body&&a.parentElement!==document.head}function isTagSupported(a){return a.nodeName==="SCRIPT"||a.nodeName==="LINK"&&((a=getNodeDataSet(a))==null?void 0:a.asyncCss)}function getNodeDataSet(a){return!(a.dataset instanceof window.DOMStringMap)?null:a.dataset}function addLoadEventListeners(a){var b;try{if(a.nodeType!==Node.ELEMENT_NODE)return}catch(a){return}if(parentIsNotHeadNorBody(a)||!isTagSupported(a))return;var c=(b=getNodeDataSet(a))==null?void 0:b.bootloaderHash;if(c!=null&&c!==""){var d=null,e=function(){window._btldr[c]=1,d==null?void 0:d()};d=function(){a.removeEventListener("load",e),a.removeEventListener("error",e)};a.addEventListener("load",e);a.addEventListener("error",e)}}(function(){Array.from(document.querySelectorAll('script,link[data-async-css="1"]')).forEach(function(a){return addLoadEventListeners(a)});var a=new MutationObserver(function(a,b){a.forEach(function(a){a.type==="childList"&&Array.from(a.addedNodes).forEach(function(a){addLoadEventListeners(a)})})});a.observe(document.getElementsByTagName("html")[0],{attributes:!1,childList:!0,subtree:!0})})();</script><style nonce="JNgoVrRB"></style><script nonce="JNgoVrRB">__DEV__=0;</script><noscript><meta http-equiv="refresh" content="0; URL=/docs/marketing-api/reference/ad-campaign?_fb_noscript=1" /></noscript><title id="pageTitle">Graph API 參照 v21.0:Ad Set - 文件 - Meta for Developers</title><meta name="bingbot" content="noarchive" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="title" content="Graph API 參照 v21.0:Ad Set" /><meta name="description" content="Graph API 參照 v21.0:Ad Set" /><meta name="fb:app_id" content="113869198637480" /><meta name="og:site_name" content="Meta for Developers" /><meta name="og:title" content="Graph API 參照 v21.0:Ad Set - 文件 - Meta for Developers" /><meta name="og:type" content="article" /><meta name="og:url" content="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/" /><meta name="og:image" content="https://static.xx.fbcdn.net/rsrc.php/v3/y1/r/xGN4CvUH3Nz.png" /><meta name="og:locale" content="en_US" /><meta name="og:description" content="Graph API 參照 v21.0:Ad Set" /><meta name="twitter:site:id" content="63359297" /><meta name="twitter:card" content="summary" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign" hreflang="x-default" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign" hreflang="en" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign" hreflang="en-us" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=id_ID" hreflang="id-id" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=id_ID" hreflang="id" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=de_DE" hreflang="de-de" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=de_DE" hreflang="de" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=es_LA" hreflang="es-419" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=es_ES" hreflang="es-es" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=es_ES" hreflang="es" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=fr_FR" hreflang="fr-fr" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=fr_FR" hreflang="fr" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=it_IT" hreflang="it-it" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=it_IT" hreflang="it" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=pt_BR" hreflang="pt-br" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=pt_BR" hreflang="pt" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=vi_VN" hreflang="vi-vn" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=vi_VN" hreflang="vi" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ru_RU" hreflang="ru-ru" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ru_RU" hreflang="ru" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ar_AR" hreflang="ar-ar" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ar_AR" hreflang="ar" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=th_TH" hreflang="th-th" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=th_TH" hreflang="th" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ko_KR" hreflang="ko-kr" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ko_KR" hreflang="ko" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=zh_HK" hreflang="zh-hk" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=zh_TW" hreflang="zh-tw" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=zh_CN" hreflang="zh-cn" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=zh_CN" hreflang="zh" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ja_JP" hreflang="ja-jp" /><link rel="alternate" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign?locale=ja_JP" hreflang="ja" /><link rel="canonical" href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/" /><link rel="search" type="application/opensearchdescription+xml" title="Meta for Developers" href="https://developers.facebook.com/opensearch/config.xml" /><link rel="icon" href="https://static.xx.fbcdn.net/rsrc.php/yB/r/2sFJRNmJ5OP.ico" /><link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yr/l/1,cross/5lgCuvmQIBe.css" data-bootloader-hash="cZDPgjQ" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yt/l/1,cross/scs2iBx9PqC.css" data-bootloader-hash="bfZmrY8" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yL/l/1,cross/CZbBUgUjutB.css" data-bootloader-hash="WIQEzfU" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yO/l/1,cross/DofeYSJlLLd.css" data-bootloader-hash="zzuy2xq" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yC/l/1,cross/HGpWgRpJM3b.css" data-bootloader-hash="iHCiaFe" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/y4/l/1,cross/WKzOP0l5SUB.css" data-bootloader-hash="0n8jUCL" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yR/l/1,cross/IbFMUZUMS2O.css" data-bootloader-hash="agX1D/g" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/ya/l/1,cross/gXVvGlARRSm.css" data-bootloader-hash="pfGV80/" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yx/l/1,cross/Edhu-zYJ9Zc.css" data-bootloader-hash="4WMghNp" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yO/l/1,cross/7JLxi68DK7R.css" data-bootloader-hash="WQUjqJD" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yn/l/1,cross/n8srgBZ1XY3.css" data-bootloader-hash="38MIlcl" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yj/l/1,cross/gbzkxS-kJWB.css" data-bootloader-hash="yYkmzMg" crossorigin="anonymous" /> <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/ys/l/1,cross/f65Tv5kh0xG.css" data-bootloader-hash="eKDQXBg" crossorigin="anonymous" /> <script src="https://static.xx.fbcdn.net/rsrc.php/v3/yy/r/Vjp7vPnuShH.js" data-bootloader-hash="waFoMbU" crossorigin="anonymous"></script> <script nonce="JNgoVrRB">requireLazy(["HasteSupportData"],function(m){m.handle({"clpData":{"6476":{"r":1000,"s":1},"1838142":{"r":1,"s":1},"1958484":{"r":1,"s":1},"1963303":{"r":1,"s":1},"1952609":{"r":1,"s":1},"1952757":{"r":1,"s":1},"1954516":{"r":1,"s":1},"1848815":{"r":10000,"s":1}},"gkxData":{"1221":{"result":false,"hash":null},"5415":{"result":false,"hash":null},"7742":{"result":false,"hash":null},"8068":{"result":false,"hash":null},"20935":{"result":false,"hash":null},"20936":{"result":false,"hash":null},"20940":{"result":false,"hash":null},"21043":{"result":false,"hash":null},"21116":{"result":false,"hash":null},"25571":{"result":false,"hash":null},"25572":{"result":false,"hash":null},"20948":{"result":true,"hash":null}},"justknobxData":{"2269":{"r":true},"2552":{"r":false},"3323":{"r":true}}})});requireLazy(["TimeSliceImpl","ServerJS"],function(TimeSlice,ServerJS){(new ServerJS()).handle({"define":[["cr:310",["RunWWW"],{"__rc":["RunWWW",null]},-1],["cr:1078",[],{"__rc":[null,null]},-1],["cr:1080",["unexpectedUseInComet"],{"__rc":["unexpectedUseInComet",null]},-1],["cr:1126",["TimeSliceImpl"],{"__rc":["TimeSliceImpl",null]},-1],["cr:3725",["clearTimeoutWWWOrMobile"],{"__rc":["clearTimeoutWWWOrMobile",null]},-1],["cr:4344",["setTimeoutWWWOrMobile"],{"__rc":["setTimeoutWWWOrMobile",null]},-1],["cr:6108",["CSS"],{"__rc":["CSS",null]},-1],["cr:6640",["PromiseImpl"],{"__rc":["PromiseImpl",null]},-1],["cr:7385",["clearIntervalWWW"],{"__rc":["clearIntervalWWW",null]},-1],["cr:7389",["setIntervalAcrossTransitionsWWW"],{"__rc":["setIntervalAcrossTransitionsWWW",null]},-1],["cr:7391",["setTimeoutAcrossTransitionsWWW"],{"__rc":["setTimeoutAcrossTransitionsWWW",null]},-1],["cr:8958",["FBJSON"],{"__rc":["FBJSON",null]},-1],["cr:8959",["DTSG"],{"__rc":["DTSG",null]},-1],["cr:8960",["DTSG_ASYNC"],{"__rc":["DTSG_ASYNC",null]},-1],["cr:696703",[],{"__rc":[null,null]},-1],["cr:708886",["EventProfilerImpl"],{"__rc":["EventProfilerImpl",null]},-1],["cr:135",["RunBlue"],{"__rc":["RunBlue",null]},-1],["cr:6669",["DataStore"],{"__rc":["DataStore",null]},-1],["URLFragmentPreludeConfig",[],{"hashtagRedirect":false,"fragBlacklist":["nonce","access_token","oauth_token","xs","checkpoint_data","code"]},137],["CookiePrivacySandboxConfig",[],{"is_affected_by_samesite_lax":false},7723],["CometPersistQueryParams",[],{"relative":{},"domain":{}},6231],["CookieDomain",[],{"domain":"facebook.com"},6421],["GetAsyncParamsExtraData",[],{"extra_data":{}},7511],["BootloaderConfig",[],{"deferBootloads":false,"jsRetries":[200,500],"jsRetryAbortNum":2,"jsRetryAbortTime":5,"silentDups":false,"timeout":60000,"tieredLoadingFromTier":100,"hypStep4":false,"phdOn":false,"btCutoffIndex":579,"fastPathForAlreadyRequired":true,"earlyRequireLazy":false,"enableTimeoutLoggingForNonComet":false,"deferLongTailManifest":true,"lazySoT":false,"translationRetries":[200,500],"translationRetryAbortNum":3,"translationRetryAbortTime":50},329],["CSSLoaderConfig",[],{"timeout":5000},619],["CookieCoreConfig",[],{"c_user":{"t":31536000,"s":"None"},"cppo":{"t":86400,"s":"None"},"dpr":{"t":604800,"s":"None"},"fbl_st":{"t":31536000,"s":"Strict"},"hckd":{"s":"None"},"i_user":{"t":31536000,"s":"None"},"locale":{"t":604800,"s":"None"},"m_ls":{"t":34560000,"s":"None"},"m_pixel_ratio":{"t":604800,"s":"None"},"noscript":{"s":"None"},"presence":{"t":2592000,"s":"None"},"sfau":{"s":"None"},"usida":{"s":"None"},"vpd":{"t":5184000,"s":"Lax"},"wd":{"t":604800,"s":"Lax"},"wl_cbv":{"t":7776000,"s":"None"},"x-referer":{"s":"None"},"x-src":{"t":1,"s":"None"}},2104],["CurrentUserInitialData",[],{"ACCOUNT_ID":"0","USER_ID":"0","NAME":"","SHORT_NAME":null,"IS_BUSINESS_PERSON_ACCOUNT":false,"HAS_SECONDARY_BUSINESS_PERSON":false,"IS_FACEBOOK_WORK_ACCOUNT":false,"IS_INSTAGRAM_BUSINESS_PERSON":false,"IS_MESSENGER_ONLY_USER":false,"IS_DEACTIVATED_ALLOWED_ON_MESSENGER":false,"IS_MESSENGER_CALL_GUEST_USER":false,"IS_WORK_MESSENGER_CALL_GUEST_USER":false,"IS_WORKROOMS_USER":false,"APP_ID":"256281040558","IS_BUSINESS_DOMAIN":false},270],["LSD",[],{"token":"AVqDFMOPmtY"},323],["ServerNonce",[],{"ServerNonce":"aCdwmM6tX0oMfGzTZ-vn6T"},141],["SiteData",[],{"server_revision":1018446937,"client_revision":1018446937,"push_phase":"C3","pkg_cohort":"BP:devsite_pkg","haste_session":"20050.BP:devsite_pkg.2.0..0.0","pr":1,"manifest_base_uri":"https:\/\/static.xx.fbcdn.net","manifest_origin":null,"manifest_version_prefix":null,"be_one_ahead":false,"is_rtl":false,"is_experimental_tier":false,"is_jit_warmed_up":true,"hsi":"7440449083423691430","semr_host_bucket":"6","bl_hash_version":2,"comet_env":0,"wbloks_env":false,"ef_page":null,"compose_bootloads":false,"spin":0,"__spin_r":1018446937,"__spin_b":"trunk","__spin_t":1732364548,"vip":"57.144.160.141"},317],["SprinkleConfig",[],{"param_name":"jazoest","version":2,"should_randomize":false},2111],["UserAgentData",[],{"browserArchitecture":"32","browserFullVersion":"7.0","browserMinorVersion":0,"browserName":"IE","browserVersion":7,"deviceName":"Unknown","engineName":"Trident","engineVersion":"3.0","platformArchitecture":"32","platformName":"Windows","platformVersion":"Vista","platformFullVersion":"Vista"},527],["PromiseUsePolyfillSetImmediateGK",[],{"www_always_use_polyfill_setimmediate":true},2190],["JSErrorLoggingConfig",[],{"appId":256281040558,"extra":[],"reportInterval":50,"sampleWeight":null,"sampleWeightKey":"__jssesw","projectBlocklist":[]},2776],["CookieCoreLoggingConfig",[],{"maximumIgnorableStallMs":16.67,"sampleRate":9.7e-5,"sampleRateClassic":1.0e-10,"sampleRateFastStale":1.0e-8},3401],["ImmediateImplementationExperiments",[],{"prefer_message_channel":true},3419],["UriNeedRawQuerySVConfig",[],{"uris":["dms.netmng.com","doubleclick.net","r.msn.com","watchit.sky.com","graphite.instagram.com","www.kfc.co.th","learn.pantheon.io","www.landmarkshops.in","www.ncl.com","s0.wp.com","www.tatacliq.com","bs.serving-sys.com","kohls.com","lazada.co.th","xg4ken.com","technopark.ru","officedepot.com.mx","bestbuy.com.mx","booking.com","nibio.no","myworkdayjobs.com","united-united.com","gcc.gnu.org"]},3871],["WebConnectionClassServerGuess",[],{"connectionClass":"EXCELLENT"},4705],["BootloaderEndpointConfig",[],{"debugNoBatching":false,"maxBatchSize":-1,"endpointURI":"https:\/\/developers.facebook.com\/ajax\/bootloader-endpoint\/"},5094],["ServerTimeData",[],{"serverTime":1732364549283,"timeOfRequestStart":1732364548227.2,"timeOfResponseStart":1732364548227.2},5943],["BigPipeExperiments",[],{"link_images_to_pagelets":false,"am_page_load_promise_timeout":false},907],["cr:7730",["getFbtResult"],{"__rc":["getFbtResult",null]},-1],["cr:8906",["goURIWWW"],{"__rc":["goURIWWW",null]},-1],["cr:925100",["RunBlue"],{"__rc":["RunBlue",null]},-1],["cr:7386",["clearTimeoutWWW"],{"__rc":["clearTimeoutWWW",null]},-1],["cr:7390",["setTimeoutWWW"],{"__rc":["setTimeoutWWW",null]},-1],["cr:1003267",["clearIntervalBlue"],{"__rc":["clearIntervalBlue",null]},-1],["cr:896462",["setIntervalAcrossTransitionsBlue"],{"__rc":["setIntervalAcrossTransitionsBlue",null]},-1],["cr:986633",["setTimeoutAcrossTransitionsBlue"],{"__rc":["setTimeoutAcrossTransitionsBlue",null]},-1],["cr:6799",["EventProfilerAdsSessionProvider"],{"__rc":["EventProfilerAdsSessionProvider",null]},-1],["IntlVariationHoldout",[],{"disable_variation":false},6533],["IntlNumberTypeProps",["IntlCLDRNumberType01"],{"module":{"__m":"IntlCLDRNumberType01"}},7027],["AdsManagerReadRegions",[],{"excluded_endpoints":["\/am_tabular"]},7950],["AsyncRequestConfig",[],{"retryOnNetworkError":"1","useFetchStreamAjaxPipeTransport":true},328],["DTSGInitialData",[],{},258],["FbtQTOverrides",[],{"overrides":{}},551],["IntlPhonologicalRules",[],{"meta":{},"patterns":{}},1496],["IntlViewerContext",[],{"GENDER":3,"regionalLocale":null},772],["NumberFormatConfig",[],{"decimalSeparator":".","numberDelimiter":",","minDigitsForThousandsSeparator":4,"standardDecimalPatternInfo":{"primaryGroupSize":3,"secondaryGroupSize":3},"numberingSystemData":null},54],["SessionNameConfig",[],{"seed":"2B0w"},757],["ZeroCategoryHeader",[],{},1127],["ZeroRewriteRules",[],{"rewrite_rules":{},"whitelist":{"\/hr\/r":1,"\/hr\/p":1,"\/zero\/unsupported_browser\/":1,"\/zero\/policy\/optin":1,"\/zero\/optin\/write\/":1,"\/zero\/optin\/legal\/":1,"\/zero\/optin\/free\/":1,"\/about\/privacy\/":1,"\/about\/privacy\/update\/":1,"\/privacy\/explanation\/":1,"\/zero\/toggle\/welcome\/":1,"\/zero\/toggle\/nux\/":1,"\/zero\/toggle\/settings\/":1,"\/fup\/interstitial\/":1,"\/work\/landing":1,"\/work\/login\/":1,"\/work\/email\/":1,"\/ai.php":1,"\/js_dialog_resources\/dialog_descriptions_android.json":0,"\/connect\/jsdialog\/MPlatformAppInvitesJSDialog\/":0,"\/connect\/jsdialog\/MPlatformOAuthShimJSDialog\/":0,"\/connect\/jsdialog\/MPlatformLikeJSDialog\/":0,"\/qp\/interstitial\/":1,"\/qp\/action\/redirect\/":1,"\/qp\/action\/close\/":1,"\/zero\/support\/ineligible\/":1,"\/zero_balance_redirect\/":1,"\/zero_balance_redirect":1,"\/zero_balance_redirect\/l\/":1,"\/l.php":1,"\/lsr.php":1,"\/ajax\/dtsg\/":1,"\/checkpoint\/block\/":1,"\/exitdsite":1,"\/zero\/balance\/pixel\/":1,"\/zero\/balance\/":1,"\/zero\/balance\/carrier_landing\/":1,"\/zero\/flex\/logging\/":1,"\/tr":1,"\/tr\/":1,"\/sem_campaigns\/sem_pixel_test\/":1,"\/bookmarks\/flyout\/body\/":1,"\/zero\/subno\/":1,"\/confirmemail.php":1,"\/policies\/":1,"\/mobile\/internetdotorg\/classifier\/":1,"\/zero\/dogfooding":1,"\/xti.php":1,"\/zero\/fblite\/config\/":1,"\/hr\/zsh\/wc\/":1,"\/ajax\/bootloader-endpoint\/":1,"\/mobile\/zero\/carrier_page\/":1,"\/mobile\/zero\/carrier_page\/education_page\/":1,"\/mobile\/zero\/carrier_page\/feature_switch\/":1,"\/mobile\/zero\/carrier_page\/settings_page\/":1,"\/aloha_check_build":1,"\/upsell\/zbd\/softnudge\/":1,"\/mobile\/zero\/af_transition\/":1,"\/mobile\/zero\/af_transition\/action\/":1,"\/mobile\/zero\/freemium\/":1,"\/mobile\/zero\/freemium\/redirect\/":1,"\/mobile\/zero\/freemium\/zero_fup\/":1,"\/privacy\/policy\/":1,"\/privacy\/center\/":1,"\/data\/manifest\/":1,"\/cmon":1,"\/cmon\/":1,"\/4oh4.php":1,"\/autologin.php":1,"\/birthday_help.php":1,"\/checkpoint\/":1,"\/contact-importer\/":1,"\/cr.php":1,"\/legal\/terms\/":1,"\/login.php":1,"\/login\/":1,"\/mobile\/account\/":1,"\/n\/":1,"\/remote_test_device\/":1,"\/upsell\/buy\/":1,"\/upsell\/buyconfirm\/":1,"\/upsell\/buyresult\/":1,"\/upsell\/promos\/":1,"\/upsell\/continue\/":1,"\/upsell\/h\/promos\/":1,"\/upsell\/loan\/learnmore\/":1,"\/upsell\/purchase\/":1,"\/upsell\/promos\/upgrade\/":1,"\/upsell\/buy_redirect\/":1,"\/upsell\/loan\/buyconfirm\/":1,"\/upsell\/loan\/buy\/":1,"\/upsell\/sms\/":1,"\/wap\/a\/channel\/reconnect.php":1,"\/wap\/a\/nux\/wizard\/nav.php":1,"\/wap\/appreg.php":1,"\/wap\/birthday_help.php":1,"\/wap\/c.php":1,"\/wap\/confirmemail.php":1,"\/wap\/cr.php":1,"\/wap\/login.php":1,"\/wap\/r.php":1,"\/zero\/datapolicy":1,"\/a\/timezone.php":1,"\/a\/bz":1,"\/bz\/reliability":1,"\/r.php":1,"\/mr\/":1,"\/reg\/":1,"\/registration\/log\/":1,"\/terms\/":1,"\/f123\/":1,"\/expert\/":1,"\/experts\/":1,"\/terms\/index.php":1,"\/terms.php":1,"\/srr\/":1,"\/msite\/redirect\/":1,"\/fbs\/pixel\/":1,"\/contactpoint\/preconfirmation\/":1,"\/contactpoint\/cliff\/":1,"\/contactpoint\/confirm\/submit\/":1,"\/contactpoint\/confirmed\/":1,"\/contactpoint\/login\/":1,"\/preconfirmation\/contactpoint_change\/":1,"\/help\/contact\/":1,"\/survey\/":1,"\/upsell\/loyaltytopup\/accept\/":1,"\/settings\/":1,"\/lite\/":1,"\/zero_status_update\/":1,"\/operator_store\/":1,"\/upsell\/":1,"\/wifiauth\/login\/":1}},1478],["DTSGInitData",[],{"token":"","async_get_token":""},3515],["WebDriverConfig",[],{"isTestRunning":false,"isJestE2ETestRun":false,"isXRequestConfigEnabled":false,"auxiliaryServiceInfo":{},"testPath":null,"originHost":null},5332],["EventConfig",[],{"sampling":{"bandwidth":0,"play":0,"playing":0,"progress":0,"pause":0,"ended":0,"seeked":0,"seeking":0,"waiting":0,"loadedmetadata":0,"canplay":0,"selectionchange":0,"change":0,"timeupdate":0,"adaptation":0,"focus":0,"blur":0,"load":0,"error":0,"message":0,"abort":0,"storage":0,"scroll":200000,"mousemove":20000,"mouseover":10000,"mouseout":10000,"mousewheel":1,"MSPointerMove":10000,"keydown":0.1,"click":0.02,"mouseup":0.02,"__100ms":0.001,"__default":5000,"__min":100,"__interactionDefault":200,"__eventDefault":100000},"page_sampling_boost":1,"interaction_regexes":{},"interaction_boost":{},"event_types":{},"manual_instrumentation":false,"profile_eager_execution":false,"disable_heuristic":true,"disable_event_profiler":false},1726],["cr:8828",[],{"__rc":[null,null]},-1],["cr:1094907",[],{"__rc":[null,null]},-1],["cr:1183579",["InlineFbtResultImpl"],{"__rc":["InlineFbtResultImpl",null]},-1],["cr:806696",["clearTimeoutBlue"],{"__rc":["clearTimeoutBlue",null]},-1],["cr:807042",["setTimeoutBlue"],{"__rc":["setTimeoutBlue",null]},-1],["FbtResultGK",[],{"shouldReturnFbtResult":true,"inlineMode":"NO_INLINE"},876],["AdsInterfacesSessionConfig",[],{},2393],["DataStoreConfig",[],{"expandoKey":"__FB_STORE","useExpando":true},2915],["AnalyticsCoreData",[],{"device_id":"$^|AcbnoGCMsMu-wHqYJV2bWGCILRLl33p9gGdvczvt4v019PCOQglBGwAG4j11onx-jdZbEdMz9penfQMgA7E4lPJ-fLns|fd.AcayTqT0ua2NcN59lW6YkZ2RpUSvwhFL8gNajrjjX3LFW63U51sQPZgMmzj7JULzY0_QHgNZ-ysOnJHvMQreOTf6","app_id":"256281040558","enable_bladerunner":false,"enable_ack":true,"push_phase":"C3","enable_observer":false,"enable_cmcd_observer":false,"enable_dataloss_timer":false,"enable_fallback_for_br":true,"queue_activation_experiment":false,"max_delay_br_queue":60000,"max_delay_br_queue_immediate":3,"max_delay_br_init_not_complete":3000,"consents":{},"app_universe":1,"br_stateful_migration_on":true,"enable_non_fb_br_stateless_by_default":false,"use_falco_as_mutex_key":false,"is_intern":false,"enable_session_id_bug_fix":true},5237],["InitialCookieConsent",[],{"deferCookies":false,"initialConsent":[1,2],"noCookies":false,"shouldShowCookieBanner":false,"shouldWaitForDeferredDatrCookie":false,"optedInIntegrations":["adobe_marketo_rest_api","blings_io_video","chili_piper_api","cloudfront_cdn","giphy_media","google_ads_pixel_frame_legacy","google_ads_pixel_img_legacy","google_ads_pixel_legacy","google_ads_remarketing_tag","google_ads_services","google_analytics_4_tag","google_analytics_img","google_cached_img","google_double_click_loading","google_double_click_redirecting","google_double_click_uri_connect","google_double_click_uri_frame","google_double_click_uri_img","google_fonts","google_fonts_font","google_maps","google_paid_ads_frame","google_paid_ads_img","google_translate","google_universal_analytics_legacy","google_universal_analytics_legacy_img","google_universal_analytics_legacy_script","jio","linkedin_insight","linkedin_insight_img","mapbox_maps_api","medallia_digital_experience_analytics","microsoft_exchange","nytimes_oembed","reachtheworld_s3","soundcloud_oembed","spotify_oembed","spreaker_oembed","ted_oembed","tenor_api","tenor_images","tenor_media","tiktok_oembed","twitter_analytics_pixel","twitter_analytics_pixel_img","twitter_legacy_embed","vimeo_oembed","youtube_embed","youtube_oembed","advertiser_hosted_pixel","airbus_sat","amazon_media","apps_for_office","arkose_captcha","aspnet_cdn","autodesk_fusion","bing_maps","bing_widget","boku_wallet","bootstrap","box","cardinal_centinel_api","chromecast_extensions","cloudflare_cdnjs","cloudflare_datatables","cloudflare_relay","conversions_api_gateway","demandbase_api","digitalglobe_maps_api","dlocal","dropbox","esri_sat","facebook_sdk","fastly_relay","gmg_pulse_embed_iframe","google_ads_conversions_tag","google_drive","google_fonts_legacy","google_hosted_libraries","google_oauth_api","google_recaptcha","here_map_ext","hive_streaming_video","isptoolbox","jquery","js_delivr","kbank","mathjax","meta_pixel","metacdn","microsoft_excel","microsoft_office_addin","microsoft_onedrive","microsoft_speech","microsoft_teams","mmi_tiles","open_street_map","paypal_billing_agreement","paypal_oauth_api","payu","plaid","platformized_adyen_checkout","plotly","pydata","recruitics","rstudio","salesforce_lighting","stripe","team_center","tripshot","trustly_direct_debit_ach","twilio_voice","unifier","unsplash_api","unsplash_image_loading","vega","yoti_api","youtube_oembed_api","google_apis","google_apis_scripts","google_img","google_tag","google_uri_frame","google_uri_script"],"hasGranularThirdPartyCookieConsent":true,"exemptedIntegrations":["advertiser_hosted_pixel","airbus_sat","amazon_media","apps_for_office","arkose_captcha","aspnet_cdn","autodesk_fusion","bing_maps","bing_widget","boku_wallet","bootstrap","box","cardinal_centinel_api","chromecast_extensions","cloudflare_cdnjs","cloudflare_datatables","cloudflare_relay","conversions_api_gateway","demandbase_api","digitalglobe_maps_api","dlocal","dropbox","esri_sat","facebook_sdk","fastly_relay","gmg_pulse_embed_iframe","google_ads_conversions_tag","google_drive","google_fonts_legacy","google_hosted_libraries","google_oauth_api","google_recaptcha","here_map_ext","hive_streaming_video","isptoolbox","jquery","js_delivr","kbank","mathjax","meta_pixel","metacdn","microsoft_excel","microsoft_office_addin","microsoft_onedrive","microsoft_speech","microsoft_teams","mmi_tiles","open_street_map","paypal_billing_agreement","paypal_oauth_api","payu","plaid","platformized_adyen_checkout","plotly","pydata","recruitics","rstudio","salesforce_lighting","stripe","team_center","tripshot","trustly_direct_debit_ach","twilio_voice","unifier","unsplash_api","unsplash_image_loading","vega","yoti_api","youtube_oembed_api"]},4328]],"require":[["markJSEnabled"],["URLFragmentPrelude"],["Primer"],["BigPipe"],["Bootloader"],["TimeSlice"],["AsyncRequest"],["FbtLogging"],["IntlQtEventFalcoEvent"],["RequireDeferredReference","unblock",[],[["AsyncRequest","FbtLogging","IntlQtEventFalcoEvent"],"sd"]],["RequireDeferredReference","unblock",[],[["AsyncRequest","FbtLogging","IntlQtEventFalcoEvent"],"css"]]]});});</script></head><body class="_55w7 win x1 Locale_zh_HK" dir="ltr"><script type="text/javascript" nonce="JNgoVrRB">requireLazy(["bootstrapWebSession"],function(j){j(1732364548)})</script><div class="_li"><div style="position: absolute;"><iframe frameborder="0" height="0" width="0" id="u_0_7j_qt"></iframe></div><div style="position: absolute;"><iframe frameborder="0" height="0" width="0" id="u_0_7k_2k"></iframe></div><div style="position: absolute;"><iframe frameborder="0" height="0" width="0" id="u_0_7l_s2"></iframe></div><div style="position: absolute;"><iframe frameborder="0" height="0" width="0" id="u_0_7m_73"></iframe></div><span><img src="https://facebook.com/security/hsts-pixel.gif?c=3.2.5" width="0" height="0" style="display:none" /></span><div class="_li _4xit"><div class="_1n5h" id="devsite_header" data-referrer="devsite_header" data-click-area="Nav"></div><div class="_11st" data-click-area="Main" id="rebrandBodyID"><div class="_1525"><div class="_660z _3u39"><div class="_5gyr _5gy5 _5k6m"><div class="_1jbo _4are"><div id="documentation_breadcrumbs_pagelet" data-referrer="documentation_breadcrumbs_pagelet"></div></div></div><div class="_5gy5"><div class="_1jbo _4are _1jca _1jc- _5zlb"><div class="_4lr1" id="documentation_primary_nav_pagelet"><div class="_7a4" id="documentation_primary_nav_pagelet_container"><div class="_3wm0"><div class="_3wm1" data-click-area="left_side_nav"><div class="_3-96 _v-_"><a class="_cdp" href="/docs/marketing-apis">推廣 API</a></div><ul><li class="_3cx7 _3cxd"><a href="/docs/marketing-apis/overview" class="_3cx9">概覽</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/get-started" class="_3cx9">開始使用</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/creative" class="_3cx9">廣告創意</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/bidding" class="_3cx9">出價</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/ad-rules" class="_3cx9">廣告規則引擎</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/audiences" class="_3cx9">廣告受眾</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/insights" class="_3cx9">洞察報告 API</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/best-practices" class="_3cx9">最佳操作實例</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/troubleshooting" class="_3cx9">疑難排解</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/reference" class="_3cx9">參考資料</a></li><li class="_3cx7 _3cxd"><a href="/docs/marketing-api/marketing-api-changelog" class="_3cx9">變更紀錄</a></li></ul></div><div class="_2pi6"><span class="img _55ym _55yq _55yo _5d9-" aria-busy="true" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuetext="載入中……"></span></div></div></div></div></div><div class="_1jbo _4are _1jcw _1jd4 _5zlc"><div class="_1dyy" id="u_0_7n_dC"></div><div id="documentation_body_pagelet" data-referrer="documentation_body_pagelet"><div class="_34yh" id="u_0_1_Ip"><div data-click-area="main"><div class="_4-u2 _57mb _1u44 _4-u8"><div class="_4-u3 _5rva _mog"><div class="clearfix"><span class="lfloat _ohe _c24 _50f4 _50f7"><span><span class="_2iem">Graph API 版本</span></span></span><div class="_5s5u rfloat _ohf"><span><div class="_6a _6b"><div class="_6a _6b uiPopover" id="u_0_2_qp"><a role="button" class="_42ft _4jy0 _55pi _5vto _55_p _2agf _4o_4 _p _4jy3 _517h _51sy" href="#" style="max-width:200px;" aria-haspopup="true" aria-expanded="false" rel="toggle" id="u_0_3_WQ"><span class="_55pe">v21.0</span><span class="_4o_3 _3-99"><i class="img sp_WbXBGqjC54o sx_514a5c"></i></span></a></div><input type="hidden" autocomplete="off" name="" id="u_0_4_DT" /></div></span></div></div></div></div><div class="_1xb4 _3-98"><div class="_4-u2 _57mb _1u44 _4-u8"><div class="_4-u3 _588p"><h1 id="overview">Ad Set</h1></div></div><div class="_4-u2 _57mb _1u44 _3fw6 _4-u8"><div class="_4-u3 _588p"><p>An ad set is a group of ads that share the same daily or lifetime budget, schedule, bid type, bid info, and targeting data. Ad sets enable you to group ads according to your criteria, and you can retrieve the ad-related statistics that apply to a set. See <a href="/docs/marketing-api/optimizedcpm">Optimized CPM</a> and <a href="/docs/marketing-api/reference/ad-campaign/promoted-object">Promoted Object</a>.</p><p>For example, create an ad set with a daily budget:</p><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_5_SI">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6_36">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_7_BW">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_8_GL">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_9_/u">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_a_EX">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_b_E6"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_c_Ut"><a tabindex="-1" href="#" role="button" id="u_0_d_m6"></a></span></div><code>curl -X POST \ -F 'name="My Reach Ad Set"' \ -F 'optimization_goal="REACH"' \ -F 'billing_event="IMPRESSIONS"' \ -F 'bid_amount=2' \ -F 'daily_budget=1000' \ -F 'campaign_id="<AD_CAMPAIGN_ID>"' \ -F 'targeting={ "geo_locations": { "countries": [ "US" ] }, "facebook_positions": [ "feed" ] }' \ -F 'status="PAUSED"' \ -F 'promoted_object={ "page_id": "<PAGE_ID>" }' \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/act_<AD_ACCOUNT_ID>/adsets</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+Reach+Ad+Set&optimization_goal=REACH&billing_event=IMPRESSIONS&bid_amount=2&daily_budget=1000&campaign_id=%3CAD_CAMPAIGN_ID%3E&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D&status=PAUSED&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _9c6" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.postman.com%2Fmeta%2Ffacebook-marketing-api%2Ffolder%2F8123rwa%2Fadsets&h=AT3K4vPZP4CTBu52vF1FdEJe_vDxfAKlVK3bBjtroLSO8V7S9ynUvHf4FKktsBgRe_LpmPkDPCugx7q96ZuenpIxkgZA6qV1Q1M18GHULJU-NpQoquCMO8nXBWe1Ur6OiDPr30LekAZ-LsQrJ6bwiB5Vbw" target="_blank" style="font-family: Arial, sans-serif; background-color: #EF5B25" rel="nofollow" data-lynx-mode="hover">Open In Postman</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_e_xO"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_f_2B"><a tabindex="-1" href="#" role="button" id="u_0_g_At"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdAccount = bizSdk.AdAccount; const AdSet = bizSdk.AdSet; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_ACCOUNT_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ ]; params = { 'name' : 'My Reach Ad Set', 'optimization_goal' : 'REACH', 'billing_event' : 'IMPRESSIONS', 'bid_amount' : '2', 'daily_budget' : '1000', 'campaign_id' : '<adCampaignLinkClicksID>', 'targeting' : {'geo_locations':{'countries':['US']},'facebook_positions':['feed']}, 'status' : 'PAUSED', 'promoted_object' : {'page_id':'<pageID>'}, }; const adsets = (new AdAccount(id)).createAdSet( fields, params ); logApiCallResult('adsets api call complete.', adsets);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+Reach+Ad+Set&optimization_goal=REACH&billing_event=IMPRESSIONS&bid_amount=2&daily_budget=1000&campaign_id=%3CAD_CAMPAIGN_ID%3E&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D&status=PAUSED&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _9c6" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.postman.com%2Fmeta%2Ffacebook-marketing-api%2Ffolder%2F8123rwa%2Fadsets&h=AT19azn-3SeTC7qRv4-aGo2gU1UMpT1Bl5bV393oE7RdWlaTN1GztEtWwjcKtmtLF5-XavlXurS7W_1zU0s8ONHPv-zXiFjqO5m33PWsNJwBNhyTqQT0GzmRLv0fLWpTOZFi-U0MuTli_spnyirnmApnLA" target="_blank" style="font-family: Arial, sans-serif; background-color: #EF5B25" rel="nofollow" data-lynx-mode="hover">Open In Postman</a></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_h_/y"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_i_jd"><a tabindex="-1" href="#" role="button" id="u_0_j_Aj"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdAccount; use FacebookAds\Object\AdSet; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_ACCOUNT_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( ); $params = array( 'name' => 'My Reach Ad Set', 'optimization_goal' => 'REACH', 'billing_event' => 'IMPRESSIONS', 'bid_amount' => '2', 'daily_budget' => '1000', 'campaign_id' => '<adCampaignLinkClicksID>', 'targeting' => array('geo_locations' => array('countries' => array('US')),'facebook_positions' => array('feed')), 'status' => 'PAUSED', 'promoted_object' => array('page_id' => '<pageID>'), ); echo json_encode((new AdAccount($id))->createAdSet( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+Reach+Ad+Set&optimization_goal=REACH&billing_event=IMPRESSIONS&bid_amount=2&daily_budget=1000&campaign_id=%3CAD_CAMPAIGN_ID%3E&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D&status=PAUSED&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _9c6" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.postman.com%2Fmeta%2Ffacebook-marketing-api%2Ffolder%2F8123rwa%2Fadsets&h=AT16pDnkz1SpziNWuEc1jMnXuD0FieaK4nXjQ3TbbOPRNupj9IuDYP_pyE6xlnTly52VKNUvB4bCCrFHXIoeUQ0jB7MHVHmT8aEI0xdsVQjoq4C_6fWX0rePZDVeq4Io9OEEKpaTnrbu5iGq33XHwZUFAg" target="_blank" style="font-family: Arial, sans-serif; background-color: #EF5B25" rel="nofollow" data-lynx-mode="hover">Open In Postman</a></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-php-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostPageLikes.php&h=AT1uqz00MWNGLqGfBJ2DMywIG7DUhIDCCTCGZVr29mvN5x22dq1HMj3CRa7zKA2jAd3k1m7E4qIVjU0KQDurGsAbwByGC9PJWD-qdMuY5c_akVaTi4yJ83Umt3CmRAOWW69GICSzFFCEe4bi3jZTAE46rg" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_k_Lz"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_l_xu"><a tabindex="-1" href="#" role="button" id="u_0_m_oM"></a></span></div><code>from facebook_business.adobjects.adaccount import AdAccount from facebook_business.adobjects.adset import AdSet from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_ACCOUNT_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ ] params = { 'name': 'My Reach Ad Set', 'optimization_goal': 'REACH', 'billing_event': 'IMPRESSIONS', 'bid_amount': '2', 'daily_budget': '1000', 'campaign_id': '<adCampaignLinkClicksID>', 'targeting': {'geo_locations':{'countries':['US']},'facebook_positions':['feed']}, 'status': 'PAUSED', 'promoted_object': {'page_id':'<pageID>'}, } print AdAccount(id).create_ad_set( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+Reach+Ad+Set&optimization_goal=REACH&billing_event=IMPRESSIONS&bid_amount=2&daily_budget=1000&campaign_id=%3CAD_CAMPAIGN_ID%3E&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D&status=PAUSED&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _9c6" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.postman.com%2Fmeta%2Ffacebook-marketing-api%2Ffolder%2F8123rwa%2Fadsets&h=AT1LY5vMjNQ9uC9gH9XgMWUNw2LQ_tctb-Q6GnLYTr9j0JbgHzVpPNfYBJZfHW7ACp3DzHhaECzDAgl4OhsR8-tGVpBKPM2Timxak0KXXwtAaq01C3v7fn5ttwh5BlVIa_-RlA838oA_ScSKEsV3xzLhcA" target="_blank" style="font-family: Arial, sans-serif; background-color: #EF5B25" rel="nofollow" data-lynx-mode="hover">Open In Postman</a></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-python-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostPageLikes.py&h=AT31KDOk-F5wf-eiWxskXZZx1hTgTKglW2y5Hi6kJ8eQI3gSR8NZ5Jzizd2kPEmk6jGvHc83GEeEHgCm9E_CR3jHw1I_M8zrDN4VCHjoKjWL9vS2cbN82nt8K70V0rwFGKVrKyda8AXlCZloc3Qj3uEsEQ" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_n_jZ"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_o_pY"><a tabindex="-1" href="#" role="button" id="u_0_p_Yj"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_ACCOUNT_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdAccount(id, context).createAdSet() .setName(\"My Reach Ad Set\") .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_REACH) .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS) .setBidAmount(2L) .setDailyBudget(1000L) .setCampaignId(\"<adCampaignLinkClicksID>\") .setTargeting( new Targeting() .setFieldFacebookPositions(Arrays.asList(\"feed\")) .setFieldGeoLocations( new TargetingGeoLocation() .setFieldCountries(Arrays.asList(\"US\")) ) ) .setStatus(AdSet.EnumStatus.VALUE_PAUSED) .setPromotedObject(\"{\\"page_id\\":\\"<pageID>\\"}\") .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+Reach+Ad+Set&optimization_goal=REACH&billing_event=IMPRESSIONS&bid_amount=2&daily_budget=1000&campaign_id=%3CAD_CAMPAIGN_ID%3E&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D&status=PAUSED&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _9c6" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.postman.com%2Fmeta%2Ffacebook-marketing-api%2Ffolder%2F8123rwa%2Fadsets&h=AT3ANORYvvil6i0RagbYOHSQX2KLhN2FRuWEQFO77VQdfa-svaYZ-I-2QzLD6fOjFxXB0y2oLS3FbcyHtzkHWrxzm-geVbh1-OYNo5Q8aZ9I4wNPEpQDPtU5KN6v_OgWSb2b9l_9eWU2CyIEOA8yuKP-1Q" target="_blank" style="font-family: Arial, sans-serif; background-color: #EF5B25" rel="nofollow" data-lynx-mode="hover">Open In Postman</a></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-java-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostPageLikes.java&h=AT1jb7DGESUoxSlg3THkfieT-Ye_UyIb8XNSw-rHDupiQf1PiAWYzoDgDmarFIEQpEaYIiHzlDiO4o-3-6nNt5-RVIABuijmz3QaURNf1B2VR4pRppdhq6qQOlNxCBozQUorVlsEBVdliHi5HE2zZEHpqQ" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_q_DS"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_r_Lx"><a tabindex="-1" href="#" role="button" id="u_0_s_Z8"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_ACCOUNT_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_account = FacebookAds::AdAccount.get(id) adsets = ad_account.adsets.create({ name: 'My Reach Ad Set', optimization_goal: 'REACH', billing_event: 'IMPRESSIONS', bid_amount: '2', daily_budget: '1000', campaign_id: '<adCampaignLinkClicksID>', targeting: {'geo_locations':{'countries':['US']},'facebook_positions':['feed']}, status: 'PAUSED', promoted_object: {'page_id':'<pageID>'}, })</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+Reach+Ad+Set&optimization_goal=REACH&billing_event=IMPRESSIONS&bid_amount=2&daily_budget=1000&campaign_id=%3CAD_CAMPAIGN_ID%3E&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D&status=PAUSED&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _9c6" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.postman.com%2Fmeta%2Ffacebook-marketing-api%2Ffolder%2F8123rwa%2Fadsets&h=AT2nh5IElrk_dBrDncYaL7fBmiCMJqCG-y3prSFSVT-tUWQcEKT-v3OmM72IdLrAF9pNnxLjBHALZee5mfpBuAS42MIw7AYFRMT7-P1w_-GnkSaoVX0cCLdfSUL_vfPpCxZ4XCWuNx21D1DZ9qFryyKDYw" target="_blank" style="font-family: Arial, sans-serif; background-color: #EF5B25" rel="nofollow" data-lynx-mode="hover">Open In Postman</a></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-ruby-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostPageLikes.rb&h=AT1prpkKLwmwCWuQtyK96GsdtvGYrw19zSpDwk3O3wY4fsPSR633Q4aMdgl-_-TL0KW1GIOygszgkAyVyFZ9_-y8t-__PZLtLW1YxE0fAThF8Am-0507-HjZiDMi-JjrOFkrszhE4r6e-6eKeJzBu7u2gg" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_t_Mp"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p><p>Create an ad set with a lifetime budget</p><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_u_Ba">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_v_0y">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_w_Js">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_x_sB">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_y_xF">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_z_6g">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_10_7Q"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_11_NC"><a tabindex="-1" href="#" role="button" id="u_0_12_RC"></a></span></div><code>curl -X POST \ -F 'name="My First Adset"' \ -F 'lifetime_budget=20000' \ -F 'start_time="2024-11-23T04:22:31-0800"' \ -F 'end_time="2024-12-03T04:22:31-0800"' \ -F 'campaign_id="<AD_CAMPAIGN_ID>"' \ -F 'bid_amount=100' \ -F 'billing_event="LINK_CLICKS"' \ -F 'optimization_goal="LINK_CLICKS"' \ -F 'targeting={ "facebook_positions": [ "feed" ], "geo_locations": { "countries": [ "US" ] }, "publisher_platforms": [ "facebook", "audience_network" ] }' \ -F 'status="PAUSED"' \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/act_<AD_ACCOUNT_ID>/adsets</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+First+Adset&lifetime_budget=20000&start_time=2024-11-23T04%3A22%3A31-0800&end_time=2024-12-03T04%3A22%3A31-0800&campaign_id=%3CAD_CAMPAIGN_ID%3E&bid_amount=100&billing_event=LINK_CLICKS&optimization_goal=LINK_CLICKS&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_13_F6"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_14_WT"><a tabindex="-1" href="#" role="button" id="u_0_15_0v"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdAccount = bizSdk.AdAccount; const AdSet = bizSdk.AdSet; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_ACCOUNT_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ ]; params = { 'name' : 'My First Adset', 'lifetime_budget' : '20000', 'start_time' : '2024-07-29T17:54:57-0700', 'end_time' : '2024-08-08T17:54:57-0700', 'campaign_id' : '<adCampaignLinkClicksID>', 'bid_amount' : '100', 'billing_event' : 'LINK_CLICKS', 'optimization_goal' : 'LINK_CLICKS', 'targeting' : {'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network']}, 'status' : 'PAUSED', }; const adsets = (new AdAccount(id)).createAdSet( fields, params ); logApiCallResult('adsets api call complete.', adsets);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+First+Adset&lifetime_budget=20000&start_time=2024-11-23T04%3A22%3A31-0800&end_time=2024-12-03T04%3A22%3A31-0800&campaign_id=%3CAD_CAMPAIGN_ID%3E&bid_amount=100&billing_event=LINK_CLICKS&optimization_goal=LINK_CLICKS&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_16_C9"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_17_4l"><a tabindex="-1" href="#" role="button" id="u_0_18_PH"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdAccount; use FacebookAds\Object\AdSet; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_ACCOUNT_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( ); $params = array( 'name' => 'My First Adset', 'lifetime_budget' => '20000', 'start_time' => '2024-07-29T17:54:57-0700', 'end_time' => '2024-08-08T17:54:57-0700', 'campaign_id' => '<adCampaignLinkClicksID>', 'bid_amount' => '100', 'billing_event' => 'LINK_CLICKS', 'optimization_goal' => 'LINK_CLICKS', 'targeting' => array('facebook_positions' => array('feed'),'geo_locations' => array('countries' => array('US')),'publisher_platforms' => array('facebook','audience_network')), 'status' => 'PAUSED', ); echo json_encode((new AdAccount($id))->createAdSet( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+First+Adset&lifetime_budget=20000&start_time=2024-11-23T04%3A22%3A31-0800&end_time=2024-12-03T04%3A22%3A31-0800&campaign_id=%3CAD_CAMPAIGN_ID%3E&bid_amount=100&billing_event=LINK_CLICKS&optimization_goal=LINK_CLICKS&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-php-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostLifetimeBudget200Duration10Days.php&h=AT3ScbZTDQYPKZiqL_5vdYkdkxL-9bNEgdnQosbJCPo-YOhHNexjsiio7A3pj7qBi4blmyZpyn_oxzUX5FxmQpe5XbS3vpaBhgrHtVMq_1UPlopgzSlNU0uDt4AGS-OeA50BdExVWV_w98Wl_zQV1wQ2Hg" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_19_yB"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_1a_51"><a tabindex="-1" href="#" role="button" id="u_0_1b_RU"></a></span></div><code>from facebook_business.adobjects.adaccount import AdAccount from facebook_business.adobjects.adset import AdSet from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_ACCOUNT_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ ] params = { 'name': 'My First Adset', 'lifetime_budget': '20000', 'start_time': '2024-07-29T17:54:57-0700', 'end_time': '2024-08-08T17:54:57-0700', 'campaign_id': '<adCampaignLinkClicksID>', 'bid_amount': '100', 'billing_event': 'LINK_CLICKS', 'optimization_goal': 'LINK_CLICKS', 'targeting': {'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network']}, 'status': 'PAUSED', } print AdAccount(id).create_ad_set( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+First+Adset&lifetime_budget=20000&start_time=2024-11-23T04%3A22%3A31-0800&end_time=2024-12-03T04%3A22%3A31-0800&campaign_id=%3CAD_CAMPAIGN_ID%3E&bid_amount=100&billing_event=LINK_CLICKS&optimization_goal=LINK_CLICKS&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-python-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostLifetimeBudget200Duration10Days.py&h=AT1NqdR54FjJSh4lQjTSDHKV1t6T17MLaJfWQ8GI8sMtpH1zFIsW8ca1hCMN6tMRB4afKTk7Y-rw0Rlv1eW90DgDc7oswwDwpMxoethaJOV0VI_7hpRblxDQbdTqsD1_LMJ2jsgbYu6-3UBZsOFYDHB9EQ" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_1c_h/"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_1d_hx"><a tabindex="-1" href="#" role="button" id="u_0_1e_4l"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_ACCOUNT_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdAccount(id, context).createAdSet() .setName(\"My First Adset\") .setLifetimeBudget(20000L) .setStartTime(\"2024-07-29T17:54:57-0700\") .setEndTime(\"2024-08-08T17:54:57-0700\") .setCampaignId(\"<adCampaignLinkClicksID>\") .setBidAmount(100L) .setBillingEvent(AdSet.EnumBillingEvent.VALUE_LINK_CLICKS) .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_LINK_CLICKS) .setTargeting( new Targeting() .setFieldFacebookPositions(Arrays.asList(\"feed\")) .setFieldGeoLocations( new TargetingGeoLocation() .setFieldCountries(Arrays.asList(\"US\")) ) .setFieldPublisherPlatforms(Arrays.asList(\"facebook\", \"audience_network\")) ) .setStatus(AdSet.EnumStatus.VALUE_PAUSED) .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+First+Adset&lifetime_budget=20000&start_time=2024-11-23T04%3A22%3A31-0800&end_time=2024-12-03T04%3A22%3A31-0800&campaign_id=%3CAD_CAMPAIGN_ID%3E&bid_amount=100&billing_event=LINK_CLICKS&optimization_goal=LINK_CLICKS&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-java-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostLifetimeBudget200Duration10Days.java&h=AT0JcrnDYSiS5YCFBKjA9NONAPT4ERTc-ptEl7wV_bJkOILV-N8fgBsvW_k1hHRnEk6l6OJqmjsuAyTZ87eYr8v1cfJRauczTs8TL1Y-8ePd_BadRnlzDl-ISUNMcGauJhIi3rfBbPjRzBXNUPzW0jbQGw" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_1f_UY"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_1g_cO"><a tabindex="-1" href="#" role="button" id="u_0_1h_k+"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_ACCOUNT_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_account = FacebookAds::AdAccount.get(id) adsets = ad_account.adsets.create({ name: 'My First Adset', lifetime_budget: '20000', start_time: '2024-07-29T17:54:57-0700', end_time: '2024-08-08T17:54:57-0700', campaign_id: '<adCampaignLinkClicksID>', bid_amount: '100', billing_event: 'LINK_CLICKS', optimization_goal: 'LINK_CLICKS', targeting: {'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network']}, status: 'PAUSED', })</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=My+First+Adset&lifetime_budget=20000&start_time=2024-11-23T04%3A22%3A31-0800&end_time=2024-12-03T04%3A22%3A31-0800&campaign_id=%3CAD_CAMPAIGN_ID%3E&bid_amount=100&billing_event=LINK_CLICKS&optimization_goal=LINK_CLICKS&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-ruby-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostLifetimeBudget200Duration10Days.rb&h=AT1SByDKzVh4CALAkYs3GKq8iem8vGeD_hdiV0MUQmTae0acR5Y2tv05JUWppEkHUrzjml7PjrHQdBGl2nTELtUmRrmSucgN8rsWipxA5Z3-a6VUnlE1-A-RQlSWhS9N2KfBcd710SLCxwQIhpVu6w6-zg" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_1i_yl"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p><h3 id="limits">Limits</h3><p>The following are the limits on ad sets</p><div class="_57-c"><table class="_4-ss _5k9x"><thead><th> Limit </th><th> Value </th></thead><tbody class="_5m37" id="u_0_1j_zK"><tr class="row_0"><td><p>Maximum number of ad sets per regular ad account</p> </td><td><p>5000 non-deleted ad sets</p> </td></tr><tr class="row_1 _5m29"><td><p>Maximum number of ad sets per bulk ad account</p> </td><td><p>10000 non-deleted ad sets</p> </td></tr><tr class="row_2"><td><p>Maximum number of ads per ad set</p> </td><td><p>50 non-archived ads</p> </td></tr></tbody></table></div><h3>Housing, Employment and Credit Ads</h3><p><span><p>Facebook is committed to protecting people from discrimination, and we are continually improving our ability to detect and deter potential abuse. It’s already against <a href="https://www.facebook.com/policies/ads/prohibited_content/discriminatory_practices">our policies</a> to discriminate by wrongfully targeting or excluding specific groups of people. As part of a <a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fnewsroom.fb.com%2Fnews%2F2019%2F03%2Fprotecting-against-discrimination-in-ads%2F&h=AT1PNVbi_x3DqK_igdra5kJ3bQvRR0N-TLvHWqavHxmLpvJd0_-o79rzouG-xmoFde1WDgpFyhBRYSX4a5v6rnvTay4JpA-bPYlwckeJfsb3wHaQWHZZCyjWLvTGSXLZ9VXz_JcTEePR7zhYyhPuk2oSKA" target="_blank" rel="nofollow" data-lynx-mode="hover">historic settlement agreement</a>, we are making changes to the way we manage housing, employment and credit ads.</p> </span></p><p><span><p>Advertisers must specify a <code>special_ad_category</code> for ad campaigns that market housing, employment, and credit. In doing so, the set of targeting options available for ads in these campaigns will be restricted. See <a href="/docs/marketing-api/special-ad-category">Special Ad Category</a> for more information.</p> </span></p><h3>Targeting European Union Ads</h3><p><span><p>Beginning Tuesday, May 16, 2023 advertisers who include the European Union (EU), associated territories, or select global/worldwide in their ad targeting on Facebook and Instagram will be asked to include information about who benefits from the ad (the beneficiary) and who is paying for the ad (the payor) for each ad set. Advertisers will be prompted for this information in all ads buying surfaces including Ads Manager and the Marketing API. Beginning Wednesday, August 16, 2023, if beneficiary and payer information is not provided, the ad will not be published.</p> </span></p><p><span><p>We are launching this requirement to respond to the EU Digital Services Act (DSA) which goes into full effect for Facebook and Instagram later this year.</p> </span></p><p><span><p>Ad sets targeted to the EU and/or associated territories (see <a href="https://www.facebook.com/business/help/605021638170961/">here</a> for a complete list) are required to provide beneficiary information (who benefits from the ad running), and payer information (who pays for the ad). This applies to new ads, duplicated ads, or significantly edited ads from May 16 forward, and without the required information, the API will respond with a wrong parameter error. For convenience the advertiser can set a saved beneficiary and payor in their ad account, which will be auto-populated during ad set creation, copying, and updating targets to include EU locations and ads under existing ad seta without configured the payor and beneficiary.. For more information about the ad account level parameters, <code>default_dsa_payor</code> and <code>default_dsa_beneficiary</code>, see to the check the <a href="/docs/marketing-api/reference/ad-account">Ad Account reference document</a>.</p> </span></p><p><span><p>To facilitate the creation of ad sets targeting the EU, we're offering a new API which allows developers to get a list of likely beneficiary/payer strings, based on ad account activity. See <a href="/docs/marketing-api/reference/ad-account/dsa_recommendations">Ad Account DSA Recommendations</a> for more information.</p> </span></p><p><span><p><strong>Notice:</strong></p> <ul> <li>When the default values are set in the ad account, during ad set creation, updating, and ad creation under an existing ad set, if one of them is not provided, the API will automatically fill the default value listed in the ad account. <strong>Do not pass only one of them and expect the API to set the other one to be the same value.</strong> For example, in the ad account settings, <code>default_dsa_payor</code> is <code>payor_default</code> and <code>default_dsa_beneficiary</code> is <code>beneficiary_default</code>. During ad set creation, if only <code>dsa_payor</code> is passed with the payor, the <code>dsa_beneficiary</code> will be automatically filled with value of <code>beneficiary_default</code> instead of <code>dsa_payor</code>.</li> <li>If no saved default values are set or the values are unset, without explicitly passing the payor or beneficiary during ad set creation or when making updates, it will trigger an error and the request will fail.</li> <li>The <code>payer</code> and the <code>beneficiary</code> fields are only for ad sets targeting the EU and/or associated territories. </li> <li>For ad sets targeting regions other than the EU and/or associated territories, that information will not be saved even if it is provided.</li> </ul> <p>To facilitate the creation of ad sets targeting the EU, we're offering a new API which allows developers to get a list of likely beneficiary/payer strings, based on ad account activity. See <a href="/docs/marketing-api/reference/ad-account/dsa_recommendations">Ad Account Dsa Recommendations</a> for more information.</p> </span></p></div></div><div class="_4-u2 _57mb _1u44 _2pig _4-u8"><div class="_4-u3 _588p"><h2 id="Reading">閱讀中</h2><div class="_844_"><div><div><p>An ad set is a group of ads that share the same daily or lifetime budget, schedule, bid type, bid info, and targeting data. Ad sets enable you to group ads according to your criteria, and you can retrieve the ad-related statistics that apply to a set.</p> </div><div><div class="_7aa"><div class="_4-u2 _57mb _1u44 _3fw6 _4-u8"><div class="_4-u3 _588p"><div class="_57yz _57z1 _3-8p"><div class="_57y-"><p><code>date_preset = lifetime</code> 參數在 Graph API 10.0 版中已停用,並由 <code>date_preset = maximum</code> 取代,後者可傳回最多 37 個月的資料。對於 9.0 版及更低版本,<code>date_preset = maximum</code> 將於 2021 年 5 月 25 日啟用,所有 <code>lifetime</code> 調用都將預設為 <code>maximum</code> 並只傳回 37 個月的資料。</p></div></div></div></div></div><h3 id="read-examples">Examples</h3><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_1k_ew">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_1l_O4">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_1m_kk">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_1n_BK">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_1o_V3">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_1p_Jm">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_1q_P1"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_1r_Dk"><a tabindex="-1" href="#" role="button" id="u_0_1s_PF"></a></span></div><code>curl -X GET \ -d 'fields="name,status"' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/<AD_SET_ID>/</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=name%2Cstatus&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_1t_Ow"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_1u_Fh"><a tabindex="-1" href="#" role="button" id="u_0_1v_tu"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdSet = bizSdk.AdSet; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_SET_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ 'name', 'status', ]; params = { }; const sample_code = (new AdSet(id)).get( fields, params ); logApiCallResult('sample_code api call complete.', sample_code);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=name%2Cstatus&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_1w_0R"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_1x_J4"><a tabindex="-1" href="#" role="button" id="u_0_1y_Nt"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdSet; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_SET_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( 'name', 'status', ); $params = array( ); echo json_encode((new AdSet($id))->getSelf( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=name%2Cstatus&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_1z_9W"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_20_Qk"><a tabindex="-1" href="#" role="button" id="u_0_21_K7"></a></span></div><code>from facebook_business.adobjects.adset import AdSet from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ 'name', 'status', ] params = { } print AdSet(id).get( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=name%2Cstatus&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_22_Ot"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_23_KC"><a tabindex="-1" href="#" role="button" id="u_0_24_T4"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_SET_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdSet(id, context).get() .requestNameField() .requestStatusField() .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=name%2Cstatus&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_25_Cx"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_26_Ah"><a tabindex="-1" href="#" role="button" id="u_0_27_qd"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_set = FacebookAds::AdSet.get(id ,'name,status')</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=name%2Cstatus&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_28_a3"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p><p>To retrieve date-time related fields in a UNIX timestamp format, use the <code>date_format</code> parameter:</p><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_29_pq">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_2a_Qv">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_2b_1y">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_2c_1P">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_2d_gn">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_2e_mF">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_2f_X1"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_2g_AX"><a tabindex="-1" href="#" role="button" id="u_0_2h_a1"></a></span></div><code>curl -X GET \ -d 'fields="id,name,start_time,end_time"' \ -d 'date_format="U"' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/<AD_SET_ID>/</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=id%2Cname%2Cstart_time%2Cend_time%26date_format=U&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_2i_V9"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_2j_de"><a tabindex="-1" href="#" role="button" id="u_0_2k_GO"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdSet = bizSdk.AdSet; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_SET_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ 'id', 'name', 'start_time', 'end_time', ]; params = { 'date_format' : 'U', }; const sample_code = (new AdSet(id)).get( fields, params ); logApiCallResult('sample_code api call complete.', sample_code);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=id%2Cname%2Cstart_time%2Cend_time%26date_format=U&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_2l_M0"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_2m_Ou"><a tabindex="-1" href="#" role="button" id="u_0_2n_zQ"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdSet; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_SET_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( 'id', 'name', 'start_time', 'end_time', ); $params = array( 'date_format' => 'U', ); echo json_encode((new AdSet($id))->getSelf( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=id%2Cname%2Cstart_time%2Cend_time%26date_format=U&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_2o_7g"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_2p_bb"><a tabindex="-1" href="#" role="button" id="u_0_2q_X6"></a></span></div><code>from facebook_business.adobjects.adset import AdSet from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ 'id', 'name', 'start_time', 'end_time', ] params = { 'date_format': 'U', } print AdSet(id).get( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=id%2Cname%2Cstart_time%2Cend_time%26date_format=U&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_2r_Tc"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_2s_u2"><a tabindex="-1" href="#" role="button" id="u_0_2t_FC"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_SET_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdSet(id, context).get() .setParam(\"date_format\", \"U\") .requestIdField() .requestNameField() .requestStartTimeField() .requestEndTimeField() .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=id%2Cname%2Cstart_time%2Cend_time%26date_format=U&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_2u_CY"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_2v_Ul"><a tabindex="-1" href="#" role="button" id="u_0_2w_nz"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_set = FacebookAds::AdSet.get(id ,'id,name,start_time,end_time')</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F?fields=id%2Cname%2Cstart_time%2Cend_time%26date_format=U&version=v21.0" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_2x_Po"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p><p>To retrieve information for multiple ad sets:</p><p><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_2y_c6"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_2z_Um">PHP Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_30_7z">cURL</button></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_31_7m"><code>use FacebookAds\Object\AdSet; use FacebookAds\Object\Fields\AdSetFields; $ad_set_ids = array(<AD_SET_1_ID>, <AD_SET_2_ID>, <AD_SET_3_ID>); $fields = array( AdSetFields::NAME, AdSetFields::CONFIGURED_STATUS, AdSetFields::EFFECTIVE_STATUS, ); $adsets = AdSet::readIds($ad_set_ids, $fields); foreach ($adsets as $adset) { echo $adset->{AdSetFields::NAME}.PHP_EOL; }</code></pre><pre class="_5gt1 prettyprint" id="u_0_32_7g"><code>curl -G \ -d 'fields=name,configured_status,effective_status' \ -d 'ids=1000002,1000002,1000002' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v2.11/</code></pre></div></div></p><p>To read all ad sets from one ad account:</p><p><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_33_WR"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_34_46">PHP Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_35_i5">Python Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_36_d5">Java Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_37_3S">cURL</button></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_38_Vq"><code>use FacebookAds\Object\AdAccount; use FacebookAds\Object\Fields\AdSetFields; $account = new AdAccount('act_<AD_ACCOUNT_ID>'); $adsets = $account->getAdSets(array( AdSetFields::NAME, AdSetFields::CONFIGURED_STATUS, AdSetFields::EFFECTIVE_STATUS, )); foreach ($adsets as $adset) { echo $adset->{AdSetFields::NAME}.PHP_EOL; }</code></pre><pre class="_5gt1 prettyprint" id="u_0_39_Ij"><code>from facebookads.adobjects.adaccount import AdAccount from facebookads.adobjects.adset import AdSet account = AdAccount('act_<AD_ACCOUNT_ID>') adsets = account.get_ad_sets(fields=[AdSet.Field.name]) for adset in adsets: print(adset[AdSet.Field.name])</code></pre><pre class="_5gt1 prettyprint" id="u_0_3a_QY"><code>APINodeList<AdSet> adSets = new AdAccount(act_<AD_ACCOUNT_ID>, context).getAdSets() .requestNameField() .requestConfiguredStatusField() .requestEffectiveStatusField() .execute();</code></pre><pre class="_5gt1 prettyprint" id="u_0_3b_Ri"><code>curl -G \ -d 'fields=name,configured_status,effective_status' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v2.11/act_<AD_ACCOUNT_ID>/adsets</code></pre></div></div></p><p>To read the names of ad sets with status paused in an ad account</p><p><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_3c_Rc"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_3d_De">PHP Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3e_cX">Java Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3f_fV">cURL</button></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_3g_to"><code>use FacebookAds\Object\AdAccount; use FacebookAds\Object\AdSet; use FacebookAds\Object\Fields\AdSetFields; $account = new AdAccount('act_<AD_ACCOUNT_ID>'); $adsets = $account->getAdSets( array(), array( AdSetFields::EFFECTIVE_STATUS => array( AdSet::STATUS_PAUSED, ), )); foreach ($adsets as $adset) { echo $adset->{AdSetFields::NAME}.PHP_EOL; }</code></pre><pre class="_5gt1 prettyprint" id="u_0_3h_G9"><code>APINodeList<AdSet> adSets = new AdAccount(act_<AD_ACCOUNT_ID>, context).getAdSets() .setEffectiveStatus("[\"PAUSED\"]") .execute();</code></pre><pre class="_5gt1 prettyprint" id="u_0_3i_hp"><code>curl -G \ -d 'effective_status=["PAUSED"]' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v2.11/act_<AD_ACCOUNT_ID>/adsets</code></pre></div></div></p><p>To read the <code>end_time</code> of multiple ad sets.</p><p><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_3j_JB"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_3k_j7">PHP Business SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3l_Bp">cURL</button></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_3m_Nq"><code>use FacebookAds\Object\AdSet; use FacebookAds\Object\Fields\AdSetFields; $adsets = AdSet::readIds( array($ad_set_1_id, $ad_set_2_id), array(AdSetFields::END_TIME)); foreach ($adsets as $adset) { echo $adset->{AdSetFields::END_TIME}.PHP_EOL; }</code></pre><pre class="_5gt1 prettyprint" id="u_0_3n_mt"><code>curl -G \ -d 'fields=end_time' \ -d 'ids=1000002,1000002' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v2.11/</code></pre></div></div></p></div><div><h3>例子</h3><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_3o_eU"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_3p_9J">HTTP</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3q_Gz">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3r_HZ">JavaScript SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3s_XZ">Android SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3t_Ut">iOS SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_3u_Mo">cURL</button><a role="button" class="_42ft _51tl selected" href="/tools/explorer/?method=GET&path=%3CAD_SET_ID%3E%2F%3Ffields%3Dadset_schedule&version=v21.0" target="_blank">Graph API Explorer<i class="_3-99 img sp_c_epTrfICMy sx_7b2121"></i></a></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_3v_Jd"><code>GET /v21.0/<AD_SET_ID>/?fields=adset_schedule HTTP/1.1 Host: graph.facebook.com</code></pre><pre class="_5gt1 prettyprint" id="u_0_3w_WQ"><code>/* PHP SDK v5.0.0 */ /* make the API call */ try { // Returns a `Facebook\FacebookResponse` object $response = $fb->get( '/<AD_SET_ID>/?fields=adset_schedule', '{access-token}' ); } catch(Facebook\Exceptions\FacebookResponseException $e) { echo 'Graph returned an error: ' . $e->getMessage(); exit; } catch(Facebook\Exceptions\FacebookSDKException $e) { echo 'Facebook SDK returned an error: ' . $e->getMessage(); exit; } $graphNode = $response->getGraphNode(); /* handle the result */</code></pre><pre class="_5gt1 prettyprint" id="u_0_3x_67"><code>/* make the API call */ FB.api( "/<AD_SET_ID>/", { "fields": "adset_schedule" }, function (response) { if (response && !response.error) { /* handle the result */ } } );</code></pre><pre class="_5gt1 prettyprint" id="u_0_3y_Rt"><code>Bundle params = new Bundle(); params.putString("fields", "adset_schedule"); /* make the API call */ new GraphRequest( AccessToken.getCurrentAccessToken(), "/<AD_SET_ID>/", params, HttpMethod.GET, new GraphRequest.Callback() { public void onCompleted(GraphResponse response) { /* handle the result */ } } ).executeAsync();</code></pre><pre class="_5gt1 prettyprint" id="u_0_3z_kF"><code>NSDictionary *params = @{ @"fields": @"adset_schedule", }; /* make the API call */ FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] initWithGraphPath:@"/<AD_SET_ID>/" parameters:params HTTPMethod:@"GET"]; [request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { // Handle the result }];</code></pre><pre class="_5gt1 prettyprint" id="u_0_40_D4"><code>curl -X GET -G \ -d 'fields="adset_schedule"' \ -d 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/<AD_SET_ID>/</code></pre></div></div>如果想了解如何使用 Graph API,請參閱我們的<a href="/docs/graph-api/using-graph-api/">使用 Graph API 指南</a>。</div><div><h3>參數</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>參數</th><th>描述</th></tr></thead><tbody><tbody class="_5m37" id="u_0_41_U9"><tr class="row_0"><td><div class="_yc"><span><code>date_preset</code></span></div><div class="_yb">enum{today, yesterday, this_month, last_month, this_quarter, maximum, data_maximum, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, last_week_mon_sun, last_week_sun_sat, last_quarter, last_year, this_week_mon_today, this_week_sun_today, this_year}</div></td><td><p class="_yd"><div><div><p>Date Preset</p> </div></div></p></td></tr><tr class="row_1 _5m29 _5m27"><td><div class="_yc"><span><code>time_range</code></span></div><div class="_yb">{'since':YYYY-MM-DD,'until':YYYY-MM-DD}</div></td><td><p class="_yd"><div><div><p>Time Range. Note if time range is invalid, it will be ignored.</p> </div></div></p></td></tr><tr class="row_1-0 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>since</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>A date in the format of "YYYY-MM-DD", which means from the beginning midnight of that day.</p> </div></div></p></td></tr><tr class="row_1-1 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>until</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>A date in the format of "YYYY-MM-DD", which means to the beginning midnight of the following day.</p> </div></div></p></td></tr></tbody></tbody></table></div></div><div><h3>欄位</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>欄位</th><th>描述</th></tr></thead><tbody><tr><td><div class="_yc"><span><code>id</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>ID for the Ad Set</p> </div></div></p><div class="_2pic"><a href="https://developers.facebook.com/docs/graph-api/using-graph-api/#fields" target="blank"><span class="_1vet">預設</span></a></div></td></tr><tr><td><div class="_yc"><span><code>account_id</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>ID for the Ad Account associated with this Ad Set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>adlabels</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-label/">list<AdLabel></a></div></td><td><p class="_yd"><div><div><p>Ad Labels associated with this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>adset_schedule</code></span></div><div class="_yb _yc"><span>list<DayPart></span></div></td><td><p class="_yd"><div><div><p>Ad set schedule, representing a delivery schedule for a single day</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>asset_feed_id</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>The ID of the asset feed that constains a content to create ads</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>attribution_spec</code></span></div><div class="_yb _yc"><span>list<AttributionSpec></span></div></td><td><p class="_yd"><div><div><p>Conversion attribution spec used for attributing conversions for optimization. Supported window lengths differ by optimization goal and campaign objective. See <a href="/docs/marketing-api/reference/ad-campaign-group#attribution_spec">Objective, Optimization Goal and <code>attribution_spec</code></a>.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>bid_adjustments</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-bid-adjustments/">AdBidAdjustments</a></div></td><td><p class="_yd"><div><div><p>Map of bid adjustment types to values</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>bid_amount</code></span></div><div class="_yb _yc"><span>unsigned int32</span></div></td><td><p class="_yd"><div><div><p>Bid cap or target cost for this ad set. The bid cap used in a <em>lowest cost bid strategy</em> is defined as the maximum bid you want to pay for a result based on your <code>optimization_goal</code>. The target cost used in a <em>target cost bid strategy</em> lets Facebook bid on your behalf to meet your target on average and keep costs stable as you raise budget.</p> <p>The bid amount's unit is cents for currencies like USD, EUR, and the basic unit for currencies like JPY, KRW. The bid amount for ads with <code>IMPRESSION</code> or <code>REACH</code> as <code>billing_event</code> is per 1,000 occurrences of that event, and the bid amount for ads with other <code>billing_event</code>s is for each occurrence.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>bid_constraints</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-bid-constraint/">AdCampaignBidConstraint</a></div></td><td><p class="_yd"><div><div><p>Choose bid constraints for ad set to suit your specific business goals. It usually works together with <code>bid_strategy</code> field.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>bid_info</code></span></div><div class="_yb _yc"><span>map<string, unsigned int32></span></div></td><td><p class="_yd"><div><div><p>Map of bid objective to bid value.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>bid_strategy</code></span><a class="_2pir" href="#" role="button" data-hover="tooltip" id="u_0_42_14"><i class="img sp_WbXBGqjC54o sx_ba4112"></i></a></div><div class="_yb _yc"><span>enum {LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS}</span></div></td><td><p class="_yd"><div><div><p>Bid strategy for this ad set when you use <code>AUCTION</code> as your buying type:<br /> <code>LOWEST_COST_WITHOUT_CAP</code>: Designed to get the most results for your budget based on your ad set <code>optimization_goal</code> without limiting your bid amount. This is the best strategy if you care most about cost efficiency. However with this strategy it may be harder to get stable average costs as you spend. This strategy is also known as <em>automatic bidding</em>. Learn more in <a href="https://www.facebook.com/business/help/721453268045071">Ads Help Center, About bid strategies: Lowest cost</a>.<br /> <code>LOWEST_COST_WITH_BID_CAP</code>: Designed to get the most results for your budget based on your ad set <code>optimization_goal</code> while limiting actual bid to your specified amount. With a bid cap you have more control over your cost per actual optimization event. However if you set a limit which is too low you may get less ads delivery. Get your bid cap with the field <code>bid_amount</code>. This strategy is also known as <em>manual maximum-cost bidding</em>. Learn more in <a href="https://www.facebook.com/business/help/721453268045071">Ads Help Center, About bid strategies: Lowest cost</a>.<br /> Notes:</p> <ul> <li>If you enable campaign budget optimization, you should get <code>bid_strategy</code> at the parent campaign level.</li> <li><code>TARGET_COST</code> bidding strategy has been deprecated with <a href="/docs/graph-api/changelog/version9.0">Marketing API v9</a>.</li> </ul> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>billing_event</code></span></div><div class="_yb _yc"><span>enum {APP_INSTALLS, CLICKS, IMPRESSIONS, LINK_CLICKS, NONE, OFFER_CLAIMS, PAGE_LIKES, POST_ENGAGEMENT, THRUPLAY, PURCHASE, LISTING_INTERACTION}</span></div></td><td><p class="_yd"><div><div><p>The billing event for this ad set:<br /><code>APP_INSTALLS</code>: Pay when people install your app.<br /><code>CLICKS</code>: Pay when people click anywhere in the ad. <br /><code>IMPRESSIONS</code>: Pay when the ads are shown to people.<br /><code>LINK_CLICKS</code>: Pay when people click on the link of the ad.<br /><code>OFFER_CLAIMS</code>: Pay when people claim the offer.<br /><code>PAGE_LIKES</code>: Pay when people like your page.<br /><code>POST_ENGAGEMENT</code>: Pay when people engage with your post.<br /><code>VIDEO_VIEWS</code>: Pay when people watch your video ads for at least 10 seconds.<br /><code>THRUPLAY</code>: Pay for ads that are played to completion, or played for at least 15 seconds.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>brand_safety_config</code></span></div><div class="_yb _yc"><span>BrandSafetyCampaignConfig</span></div></td><td><p class="_yd"><div><div><p>brand_safety_config</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>budget_remaining</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Remaining budget of this Ad Set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>campaign</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group/">Campaign</a></div></td><td><p class="_yd"><div><div><p>The campaign that contains this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>campaign_active_time</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Campaign running length</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>campaign_attribution</code></span></div><div class="_yb _yc"><span>enum</span></div></td><td><p class="_yd"><div><div><p>campaign_attribution, a new field for app ads campaign, used to indicate a campaign's attribution type, eg: SKAN or AEM</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>campaign_id</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>The ID of the campaign that contains this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>configured_status</code></span></div><div class="_yb _yc"><span>enum {ACTIVE, PAUSED, DELETED, ARCHIVED}</span></div></td><td><p class="_yd"><div><div><p>The status set at the ad set level. It can be different from the effective status due to its parent campaign. Prefer using 'status' instead of this.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>contextual_bundling_spec</code></span></div><div class="_yb _yc"><span>ContextualBundlingSpec</span></div></td><td><p class="_yd"><div><div><p>specs of contextual bundling Ad Set setup, including signal of opt-in/out the feature</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>created_time</code></span></div><div class="_yb _yc"><span>datetime</span></div></td><td><p class="_yd"><div><div><p>Time when this Ad Set was created</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>creative_sequence</code></span></div><div class="_yb _yc"><span>list<numeric string></span></div></td><td><p class="_yd"><div><div><p>Order of the adgroup sequence to be shown to users</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>daily_budget</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>The daily budget of the set defined in your <a href="/docs/marketing-api/adset/budget-limits">account currency</a>.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>daily_min_spend_target</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Daily minimum spend target of the ad set defined in your account currency. To use this field, daily budget must be specified in the Campaign. This target is not a guarantee but our best effort.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>daily_spend_cap</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Daily spend cap of the ad set defined in your account currency. To use this field, daily budget must be specified in the Campaign.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>destination_type</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>Destination of ads in this Ad Set.</p> <p>Options include: <code>WEBSITE</code>, <code>APP</code>, <code>MESSENGER</code>, <code>INSTAGRAM_DIRECT</code>.</p> <p>The <code>ON_AD</code>, <code>ON_POST</code>, <code>ON_VIDEO</code>, <code>ON_PAGE</code>, and <code>ON_EVENT</code> destination types are currently in limited beta testing. Trying to duplicate campaigns with existing destination types using these new destination types may throw an error. See the <a href="#odax">Outcome-Driven Ads Experiences</a> section below for more information.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>dsa_beneficiary</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>The beneficiary of all ads in this ad set.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>dsa_payor</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>The payor of all ads in this ad set.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>effective_status</code></span></div><div class="_yb _yc"><span>enum {ACTIVE, PAUSED, DELETED, CAMPAIGN_PAUSED, ARCHIVED, IN_PROCESS, WITH_ISSUES}</span></div></td><td><p class="_yd"><div><div><p>The effective status of the adset. The status could be effective either because of its own status, or the status of its parent campaign. <code>WITH_ISSUES</code> is available for version 3.2 or higher. <code>IN_PROCESS</code> is available for version 4.0 or higher.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>end_time</code></span></div><div class="_yb _yc"><span>datetime</span></div></td><td><p class="_yd"><div><div><p>End time, in UTC UNIX timestamp</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>frequency_control_specs</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-frequency-control-specs/">list<AdCampaignFrequencyControlSpecs></a></div></td><td><p class="_yd"><div><div><p>An array of frequency control specs for this ad set. As there is only one event type currently supported, this array has no more than one element. Writes to this field are only available in ad sets where <code>REACH</code> is the objective.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>instagram_actor_id</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Represents your Instagram account id, used for ads, including dynamic creative ads on Instagram.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>is_dynamic_creative</code></span><a class="_2pir" href="#" role="button" data-hover="tooltip" id="u_0_43_p0"><i class="img sp_WbXBGqjC54o sx_ba4112"></i></a></div><div class="_yb _yc"><span>bool</span></div></td><td><p class="_yd"><div><div><p>Whether this ad set is a dynamic creative ad set. dynamic creative ad can be created only under ad set with this field set to be true.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>issues_info</code></span><a class="_2pir" href="#" role="button" data-hover="tooltip" id="u_0_44_fo"><i class="img sp_WbXBGqjC54o sx_ba4112"></i></a></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-issues-info/">list<AdCampaignIssuesInfo></a></div></td><td><p class="_yd"><div><div><p>Issues for this ad set that prevented it from deliverying</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>learning_stage_info</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-learning-stage-info/">AdCampaignLearningStageInfo</a></div></td><td><p class="_yd"><div><div><p>Info about whether the ranking or delivery system is still learning for this ad set. While the ad set is still in learning , we might unstablized delivery performances.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>lifetime_budget</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>The lifetime budget of the set defined in your <a href="/docs/marketing-api/adset/budget-limits">account currency</a>.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>lifetime_imps</code></span></div><div class="_yb _yc"><span>int32</span></div></td><td><p class="_yd"><div><div><p>Lifetime impressions. Available only for campaigns with <code>buying_type=FIXED_CPM</code></p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>lifetime_min_spend_target</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Lifetime minimum spend target of the ad set defined in your account currency. To use this field, lifetime budget must be specified in the Campaign. This target is not a guarantee but our best effort.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>lifetime_spend_cap</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>Lifetime spend cap of the ad set defined in your account currency. To use this field, lifetime budget must be specified in the Campaign.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>min_budget_spend_percentage</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>min_budget_spend_percentage</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>multi_optimization_goal_weight</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>multi_optimization_goal_weight</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>name</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>Name of the ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>optimization_goal</code></span></div><div class="_yb _yc"><span>enum {NONE, APP_INSTALLS, AD_RECALL_LIFT, ENGAGED_USERS, EVENT_RESPONSES, IMPRESSIONS, LEAD_GENERATION, QUALITY_LEAD, LINK_CLICKS, OFFSITE_CONVERSIONS, PAGE_LIKES, POST_ENGAGEMENT, QUALITY_CALL, REACH, LANDING_PAGE_VIEWS, VISIT_INSTAGRAM_PROFILE, VALUE, THRUPLAY, DERIVED_EVENTS, APP_INSTALLS_AND_OFFSITE_CONVERSIONS, CONVERSATIONS, IN_APP_VALUE, MESSAGING_PURCHASE_CONVERSION, SUBSCRIBERS, REMINDERS_SET, MEANINGFUL_CALL_ATTEMPT, PROFILE_VISIT, MESSAGING_APPOINTMENT_CONVERSION}</span></div></td><td><p class="_yd"><div><div><p>The optimization goal this ad set is using.<br /> <code>NONE</code>: Only available in read mode for campaigns created pre-v2.4.<br /> <code>APP_INSTALLS</code>: Optimize for people more likely to install your app.<br /> <code>AD_RECALL_LIFT</code>: Optimize for people more likely to remember seeing your ads.<br /> <code>CLICKS</code>: Deprecated. Only available in read mode.<br /> <code>ENGAGED_USERS</code>: Optimize for people more likely to take a particular action in your app.<br /> <code>EVENT_RESPONSES</code>: Optimize for people more likely to attend your event.<br /> <code>IMPRESSIONS</code>: Show the ads as many times as possible.<br /> <code>LEAD_GENERATION</code>: Optimize for people more likely to fill out a lead generation form.<br /> <code>QUALITY_LEAD</code>: Optimize for people who are likely to have a deeper conversation with advertisers after lead submission.<br /> <code>LINK_CLICKS</code>: Optimize for people more likely to click in the link of the ad.<br /> <code>OFFSITE_CONVERSIONS</code>: Optimize for people more likely to make a conversion on the site.<br /> <code>PAGE_LIKES</code>: Optimize for people more likely to like your page.<br /> <code>POST_ENGAGEMENT</code>: Optimize for people more likely to engage with your post.<br /> <code>QUALITY_CALL</code>: Optimize for people who are likely to call the advertiser.<br /> <code>REACH</code>: Optimize to reach the most unique users for each day or interval specified in <code>frequency_control_specs</code>.<br /> <code>LANDING_PAGE_VIEWS</code>: Optimize for people who are most likely to click on and load your chosen landing page.<br /> <code>VISIT_INSTAGRAM_PROFILE</code>: Optimize for visits to the advertiser's Instagram profile.<br /> <code>VALUE</code>: Optimize for maximum total purchase value within the specified attribution window.<br /> <code>THRUPLAY</code>: Optimize delivery of your ads to people who are more likely to play your ad to completion, or play it for at least 15 seconds.<br /> <code>DERIVED_EVENTS</code>: Optimize for retention, which reaches people who are most likely to return to the app and open it again during a given time frame after installing. You can choose either two days, meaning the app is likely to be reopened between 24 and 48 hours after installation; or seven days, meaning the app is likely to be reopened between 144 and 168 hours after installation.<br /> <code>APP_INSTALLS_AND_OFFSITE_CONVERSIONS</code>: Optimizes for people more likely to install your app and make a conversion on your site. <br /> <code>CONVERSATIONS</code>: Directs ads to people more likely to have a conversation with the business.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>optimization_sub_event</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>Optimization sub event for a specific optimization goal. For example: Sound-On event for Video-View-2s optimization goal.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>pacing_type</code></span></div><div class="_yb _yc"><span>list<string></span></div></td><td><p class="_yd"><div><div><p>Defines the pacing type, standard or using ad scheduling</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>promoted_object</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-promoted-object/">AdPromotedObject</a></div></td><td><p class="_yd"><div><div><p>The object this ad set is promoting across all its ads.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>recommendations</code></span></div><div class="_yb _yc"><span>list<AdRecommendation></span></div></td><td><p class="_yd"><div><div><p>If there are recommendations for this ad set, this field includes them. Otherwise, will not be included in the response. This field is not included in redownload mode.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>recurring_budget_semantics</code></span></div><div class="_yb _yc"><span>bool</span></div></td><td><p class="_yd"><div><div><p>If this field is <code>true</code>, your daily spend may be more than your daily budget while your weekly spend will not exceed 7 times your daily budget. More details explained in the <a href="/docs/marketing-api/adset/budget-limits">Ad Set Budget</a> document. If this is <code>false</code>, your amount spent daily will not exceed the daily budget. This field is not applicable for lifetime budgets.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>regional_regulated_categories</code></span></div><div class="_yb _yc"><span>list<enum></span></div></td><td><p class="_yd"><div><div><p>This param is used to specify regional_regulated_categories. Currently it supports <code>null</code> and <code>TAIWAN_FINSERV</code>.</p> <p>Example: <code>null</code> or [TAIWAN_FINSERV]</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>regional_regulation_identities</code></span></div><div class="_yb _yc"><span>RegionalRegulationIdentities</span></div></td><td><p class="_yd"><div><div><p>This param is used to specify regional_regulation_identities.</p> <p>Example:</p> <p><code>regional_regulation_identities: { "taiwan_finserv_beneficiary": <verified_identity_id>, "taiwan_finserv_payer": <verified_identity_id> }</code></p> <p>Passing <code>null</code> as the id will remove existing id.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>review_feedback</code></span></div><div class="_yb _yc"><span>string</span></div></td><td><p class="_yd"><div><div><p>Reviews for dynamic creative ad</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>rf_prediction_id</code></span></div><div class="_yb _yc"><span>id</span></div></td><td><p class="_yd"><div><div><p>Reach and frequency prediction ID</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>source_adset</code></span></div><div class="_yb _yc"><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/">AdSet</a></div></td><td><p class="_yd"><div><div><p>The source ad set that this ad set was copied from</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>source_adset_id</code></span></div><div class="_yb _yc"><span>numeric string</span></div></td><td><p class="_yd"><div><div><p>The source ad set id that this ad set was copied from</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>start_time</code></span></div><div class="_yb _yc"><span>datetime</span></div></td><td><p class="_yd"><div><div><p>Start time, in UTC UNIX timestamp</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>status</code></span></div><div class="_yb _yc"><span>enum {ACTIVE, PAUSED, DELETED, ARCHIVED}</span></div></td><td><p class="_yd"><div><div><p>The status set at the ad set level. It can be different from the effective status due to its parent campaign. The field returns the same value as <code>configured_status</code>, and is the suggested one to use.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>targeting</code></span></div><div class="_yb _yc"><span>Targeting</span></div></td><td><p class="_yd"><div><div><p>Targeting</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>targeting_optimization_types</code></span><a class="_2pir" href="#" role="button" data-hover="tooltip" id="u_0_45_/G"><i class="img sp_WbXBGqjC54o sx_ba4112"></i></a></div><div class="_yb _yc"><span>list<KeyValue:string,int32></span></div></td><td><p class="_yd"><div><div><p>Targeting options that are relaxed and used as a signal for optimization</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>time_based_ad_rotation_id_blocks</code></span></div><div class="_yb _yc"><span>list<list<integer>></span></div></td><td><p class="_yd"><div><div><p>Specify ad creative that displays at custom date ranges in a campaign as an array. A list of Adgroup IDs. The list of ads to display for each time range in a given schedule. For example display first ad in Adgroup for first date range, second ad for second date range, and so on. You can display more than one ad per date range by providing more than one ad ID per array. For example set <code>time_based_ad_rotation_id_blocks</code> to [[1], [2, 3], [1, 4]]. On the first date range show ad 1, on the second date range show ad 2 and ad 3 and on the last date range show ad 1 and ad 4. Use with <code>time_based_ad_rotation_intervals</code> to specify date ranges.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>time_based_ad_rotation_intervals</code></span></div><div class="_yb _yc"><span>list<unsigned int32></span></div></td><td><p class="_yd"><div><div><p>Date range when specific ad creative displays during a campaign. Provide date ranges in an array of UNIX timestamps where each timestamp represents the start time for each date range. For example a 3-day campaign from May 9 12am to May 11 11:59PM PST can have three date ranges, the first date range starts from May 9 12:00AM to May 9 11:59PM, second date range starts from May 10 12:00AM to May 10 11:59PM and last starts from May 11 12:00AM to May 11 11:59PM. The first timestamp should match the campaign start time. The last timestamp should be at least 1 hour before the campaign end time. You must provide at least two date ranges. All date ranges must cover the whole campaign length, so any date range cannot exceed campaign length. Use with <code>time_based_ad_rotation_id_blocks</code> to specify ad creative for each date range.</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>updated_time</code></span></div><div class="_yb _yc"><span>datetime</span></div></td><td><p class="_yd"><div><div><p>Time when the Ad Set was updated</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><code>use_new_app_click</code></span></div><div class="_yb _yc"><span>bool</span></div></td><td><p class="_yd"><div><div><p>If set, allows Mobile App Engagement ads to optimize for LINK_CLICKS</p> </div></div></p></td></tr></tbody></table></div></div><div><h3>關係連線</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>關係連線</th><th>描述</th></tr></thead><tbody><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/activities/"><code>activities</code></a></span></div><div class="_yb _yc"><span>Edge<AdActivity></span></div></td><td><p class="_yd"><div><div><p>The activities of this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/ad_studies/"><code>ad_studies</code></a></span></div><div class="_yb _yc"><span>Edge<AdStudy></span></div></td><td><p class="_yd"><div><div><p>The ad studies containing this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/adcreatives/"><code>adcreatives</code></a></span></div><div class="_yb _yc"><span>Edge<AdCreative></span></div></td><td><p class="_yd"><div><div><p>The creatives of this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/adrules_governed/"><code>adrules_governed</code></a></span></div><div class="_yb _yc"><span>Edge<AdRule></span></div></td><td><p class="_yd"><div><div><p>Ad rules that govern this ad set - by default, this only returns rules that either directly mention the ad set by id or indirectly through the set <code>entity_type</code></p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/ads/"><code>ads</code></a></span></div><div class="_yb _yc"><span>Edge<Adgroup></span></div></td><td><p class="_yd"><div><div><p>The ads under this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/asyncadrequests/"><code>asyncadrequests</code></a></span></div><div class="_yb _yc"><span>Edge<AdAsyncRequest></span></div></td><td><p class="_yd"><div><div><p>Async ad requests for this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/copies/"><code>copies</code></a></span></div><div class="_yb _yc"><span>Edge<AdCampaign></span></div></td><td><p class="_yd"><div><div><p>The copies of this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/delivery_estimate/"><code>delivery_estimate</code></a></span></div><div class="_yb _yc"><span>Edge<AdCampaignDeliveryEstimate></span></div></td><td><p class="_yd"><div><div><p>The delivery estimate for this ad set</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/message_delivery_estimate/"><code>message_delivery_estimate</code></a></span></div><div class="_yb _yc"><span>Edge<MessageDeliveryEstimate></span></div></td><td><p class="_yd"><div><div><p>Delivery estimation of the marketing message campaign</p> </div></div></p></td></tr><tr><td><div class="_yc"><span><a href="/docs/marketing-api/reference/ad-campaign/targetingsentencelines/"><code>targetingsentencelines</code></a></span></div><div class="_yb _yc"><span>Edge<TargetingSentenceLine></span></div></td><td><p class="_yd"><div><div><p>The targeting description sentence for this ad set</p> </div></div></p></td></tr></tbody></table></div></div><h3>Error Codes</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>錯誤</th><th>說明</th></tr></thead><tbody><tr><td>100</td><td>Invalid parameter</td></tr><tr><td>80004</td><td>There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting#ads-management.</td></tr><tr><td>190</td><td>Invalid OAuth 2.0 Access Token</td></tr><tr><td>200</td><td>Permissions error</td></tr><tr><td>2500</td><td>Error parsing graph query</td></tr><tr><td>270</td><td>This Ads API request is not allowed for apps with development access level (Development access is by default for all apps, please request for upgrade). Make sure that the access token belongs to a user that is both admin of the app and admin of the ad account</td></tr></tbody></table></div></div></div></div></div><div class="_4-u2 _57mb _1u44 _2pig _4-u8"><div class="_4-u3 _588p"><h2 id="Creating">建立中</h2><div><h3 id="create-examples">Examples</h3><p>Validate an ad set with a daily budget where campaign objective is set to <code>APP_INSTALLS</code></p><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_46_iy">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_47_LV">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_48_Vs">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_49_tW">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_4a_dx">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_4b_jT">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_4c_Au"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_4d_vZ"><a tabindex="-1" href="#" role="button" id="u_0_4e_ys"></a></span></div><code>curl -X POST \ -F 'name="Mobile App Installs Ad Set"' \ -F 'daily_budget=1000' \ -F 'bid_amount=2' \ -F 'billing_event="IMPRESSIONS"' \ -F 'optimization_goal="APP_INSTALLS"' \ -F 'campaign_id="<AD_CAMPAIGN_ID>"' \ -F 'promoted_object={ "application_id": "<APP_ID>", "object_store_url": "<APP_STORE_URL>" }' \ -F 'targeting={ "device_platforms": [ "mobile" ], "facebook_positions": [ "feed" ], "geo_locations": { "countries": [ "US" ] }, "publisher_platforms": [ "facebook", "audience_network" ], "user_os": [ "IOS" ] }' \ -F 'status="PAUSED"' \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/act_<AD_ACCOUNT_ID>/adsets</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=Mobile+App+Installs+Ad+Set&daily_budget=1000&bid_amount=2&billing_event=IMPRESSIONS&optimization_goal=APP_INSTALLS&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22application_id%22%3A%22%3CAPP_ID%3E%22%2C%22object_store_url%22%3A%22%3CAPP_STORE_URL%3E%22%7D&targeting=%7B%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22user_os%22%3A%5B%22IOS%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_4f_+d"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_4g_D6"><a tabindex="-1" href="#" role="button" id="u_0_4h_b9"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdAccount = bizSdk.AdAccount; const AdSet = bizSdk.AdSet; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_ACCOUNT_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ ]; params = { 'name' : 'Mobile App Installs Ad Set', 'daily_budget' : '1000', 'bid_amount' : '2', 'billing_event' : 'IMPRESSIONS', 'optimization_goal' : 'APP_INSTALLS', 'campaign_id' : '<adCampaignAppInstallsID>', 'promoted_object' : {'application_id':'<appID>','object_store_url':'<appLink>'}, 'targeting' : {'device_platforms':['mobile'],'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network'],'user_os':['IOS']}, 'status' : 'PAUSED', }; const adsets = (new AdAccount(id)).createAdSet( fields, params ); logApiCallResult('adsets api call complete.', adsets);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=Mobile+App+Installs+Ad+Set&daily_budget=1000&bid_amount=2&billing_event=IMPRESSIONS&optimization_goal=APP_INSTALLS&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22application_id%22%3A%22%3CAPP_ID%3E%22%2C%22object_store_url%22%3A%22%3CAPP_STORE_URL%3E%22%7D&targeting=%7B%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22user_os%22%3A%5B%22IOS%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_4i_E0"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_4j_pB"><a tabindex="-1" href="#" role="button" id="u_0_4k_18"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdAccount; use FacebookAds\Object\AdSet; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_ACCOUNT_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( ); $params = array( 'name' => 'Mobile App Installs Ad Set', 'daily_budget' => '1000', 'bid_amount' => '2', 'billing_event' => 'IMPRESSIONS', 'optimization_goal' => 'APP_INSTALLS', 'campaign_id' => '<adCampaignAppInstallsID>', 'promoted_object' => array('application_id' => '<appID>','object_store_url' => '<appLink>'), 'targeting' => array('device_platforms' => array('mobile'),'facebook_positions' => array('feed'),'geo_locations' => array('countries' => array('US')),'publisher_platforms' => array('facebook','audience_network'),'user_os' => array('IOS')), 'status' => 'PAUSED', ); echo json_encode((new AdAccount($id))->createAdSet( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=Mobile+App+Installs+Ad+Set&daily_budget=1000&bid_amount=2&billing_event=IMPRESSIONS&optimization_goal=APP_INSTALLS&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22application_id%22%3A%22%3CAPP_ID%3E%22%2C%22object_store_url%22%3A%22%3CAPP_STORE_URL%3E%22%7D&targeting=%7B%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22user_os%22%3A%5B%22IOS%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-php-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostCreateMAIA.php&h=AT24qCM-ORTLO0qe62MHx6WMQZPHw6j_Zo269N7OEcpOoRlf3kF-ZcGOm-IVnBp8yX-NTJYodHJ7mPWN9fTLfN-yN7hu1L0SOhV8okFRc0dZ2Ewh_R-l2MQUyKHKx-P80ApyJuJ-byZ5m_5kLrubQOXuMg" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_4l_R9"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_4m_eB"><a tabindex="-1" href="#" role="button" id="u_0_4n_2c"></a></span></div><code>from facebook_business.adobjects.adaccount import AdAccount from facebook_business.adobjects.adset import AdSet from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_ACCOUNT_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ ] params = { 'name': 'Mobile App Installs Ad Set', 'daily_budget': '1000', 'bid_amount': '2', 'billing_event': 'IMPRESSIONS', 'optimization_goal': 'APP_INSTALLS', 'campaign_id': '<adCampaignAppInstallsID>', 'promoted_object': {'application_id':'<appID>','object_store_url':'<appLink>'}, 'targeting': {'device_platforms':['mobile'],'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network'],'user_os':['IOS']}, 'status': 'PAUSED', } print AdAccount(id).create_ad_set( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=Mobile+App+Installs+Ad+Set&daily_budget=1000&bid_amount=2&billing_event=IMPRESSIONS&optimization_goal=APP_INSTALLS&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22application_id%22%3A%22%3CAPP_ID%3E%22%2C%22object_store_url%22%3A%22%3CAPP_STORE_URL%3E%22%7D&targeting=%7B%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22user_os%22%3A%5B%22IOS%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-python-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostCreateMAIA.py&h=AT0xxIM695ClQVIRK8K9D75f6-z7IQHiymBhLnigOsZy4-tNHJXkfsQDl01047hvrHqp7AI4hfSW6fslhfIHD3skmZPh7n-uia8-2nNBf10dQFfaWo2d_yJImT0Xtg2m-tdSol63VZo45iMKDcITN5a1qg" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_4o_uc"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_4p_1X"><a tabindex="-1" href="#" role="button" id="u_0_4q_H5"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_ACCOUNT_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdAccount(id, context).createAdSet() .setName(\"Mobile App Installs Ad Set\") .setDailyBudget(1000L) .setBidAmount(2L) .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS) .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_APP_INSTALLS) .setCampaignId(\"<adCampaignAppInstallsID>\") .setPromotedObject(\"{\\"application_id\\":\\"<appID>\\",\\"object_store_url\\":\\"<appLink>\\"}\") .setTargeting( new Targeting() .setFieldDevicePlatforms(Arrays.asList(Targeting.EnumDevicePlatforms.VALUE_MOBILE)) .setFieldFacebookPositions(Arrays.asList(\"feed\")) .setFieldGeoLocations( new TargetingGeoLocation() .setFieldCountries(Arrays.asList(\"US\")) ) .setFieldPublisherPlatforms(Arrays.asList(\"facebook\", \"audience_network\")) .setFieldUserOs(Arrays.asList(\"IOS\")) ) .setStatus(AdSet.EnumStatus.VALUE_PAUSED) .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=Mobile+App+Installs+Ad+Set&daily_budget=1000&bid_amount=2&billing_event=IMPRESSIONS&optimization_goal=APP_INSTALLS&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22application_id%22%3A%22%3CAPP_ID%3E%22%2C%22object_store_url%22%3A%22%3CAPP_STORE_URL%3E%22%7D&targeting=%7B%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22user_os%22%3A%5B%22IOS%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-java-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostCreateMAIA.java&h=AT1NbJbC230K06_b8pH_xaXjsplL70rD2U16Gmy4JihGWbwU-Ry-UvXv15pbax2ewj-WsX4wWpndOgX8ymZvMnDW2TS6PsFopXzb1AvVsK4H4JFCHgqf4fiFdf8U2vHr37sZLOoL-C_DUghqPQjaMbv8Lw" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_4r_Lq"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_4s_Q2"><a tabindex="-1" href="#" role="button" id="u_0_4t_eC"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_ACCOUNT_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_account = FacebookAds::AdAccount.get(id) adsets = ad_account.adsets.create({ name: 'Mobile App Installs Ad Set', daily_budget: '1000', bid_amount: '2', billing_event: 'IMPRESSIONS', optimization_goal: 'APP_INSTALLS', campaign_id: '<adCampaignAppInstallsID>', promoted_object: {'application_id':'<appID>','object_store_url':'<appLink>'}, targeting: {'device_platforms':['mobile'],'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network'],'user_os':['IOS']}, status: 'PAUSED', })</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets?&version=v21.0&name=Mobile+App+Installs+Ad+Set&daily_budget=1000&bid_amount=2&billing_event=IMPRESSIONS&optimization_goal=APP_INSTALLS&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22application_id%22%3A%22%3CAPP_ID%3E%22%2C%22object_store_url%22%3A%22%3CAPP_STORE_URL%3E%22%7D&targeting=%7B%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22user_os%22%3A%5B%22IOS%22%5D%7D&status=PAUSED" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-ruby-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdAccountAdSetsPostCreateMAIA.rb&h=AT0yLmMlni_3rxD-CZ75SSE2MBn3UVaXiZrK7_ETG3n3pcXvLz-0lySRXJABwcrvi_4OO_-chY5vNw5FeyHypFa7uOgd8kWoMgc1_GAPFgk0spT0i8RNDaXBnPE1fk_wQ7zLVElVuRbcKJsYJbdEMKXDSw" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_4u_u9"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p><h3 id="create-considerations">Considerations</h3><h4>Bid/Budget Validations</h4><p>When creating an ad set, from <code>v2.4</code> and on, there will be a minimum budget for different billing events (clicks, impressions, actions). Minimum values are defined in terms of the daily budget but apply to lifetime budgets as well. For example, if the minimum daily budget is $5, a campaign lasting 5 days will need at least $25 for budget. All values in this section are in US Dollars. Differenct currency has different minimum daily budget limit.</p><p>If <code>bid_strategy</code> is set to <code>LOWEST_COST_WITHOUT_CAP</code> in the ad set:</p><div class="_57-c"><table class="_4-ss _5k9x"><thead><th> Billing Event </th><th> Minimum Daily Budget </th><th> Notes </th></thead><tbody class="_5m37" id="u_0_4v_QG"><tr class="row_0"><td><p>Impressions</p> </td><td><p>$0.50</p> </td><td></td></tr><tr class="row_1 _5m29"><td><p>Clicks/Likes/Video Views</p> </td><td><p>$2.50</p> </td><td></td></tr><tr class="row_2"><td><p>Low-frequency Actions</p> </td><td><p>$40</p> </td><td><p>Low-frequency actions include mobile app installs, offer claims or canvas app installs. <strong>Important:</strong> This minimum daily budget is the same for all countries.</p> </td></tr></tbody></table></div><p>If <code>bid_strategy</code> is set to <code>LOWEST_COST_WITH_BID_CAP</code> in the ad set:</p><div class="_57-c"><table class="_4-ss _5k9x"><thead><th> Billing Event </th><th> Minimum Daily Budget </th></thead><tbody class="_5m37" id="u_0_4w_Dd"><tr class="row_0"><td><p>Impressions</p> </td><td><p>At least the <code>bid_amount</code>. For example, if the bid amount is $10, then $10 will be the minimum budget required.</p> </td></tr><tr class="row_1 _5m29"><td><p>Clicks/Actions</p> </td><td><p>5x the <code>bid_amount</code> for a Click or Action. For example, if the bid amount is $5 per click/action, then $25 will be the minimum budget required.</p> </td></tr></tbody></table></div><div class="_57yz _57y_ _3-8p"><div class="_57y-"><p>Budgets in other non-USD currencies will be converted and validated upon time of ad set creation.</p></div></div><div class="_57yz _57y_ _3-8p"><div class="_57y-"><p>For ads belonging to ad accounts from countries in the list below, the minimum values are 2x the ones in the tables. For example if billing event is an impression, minimum daily budget is $0.50 but in the the following countries minimum would be $1.00:</p><p>Australia, Austria, Belgium, Canada, Denmark, Finland, France, Germany, Greece, Hong Kong, Israel, Italy, Japan, Netherlands, New Zealand, Norway, Singapore, South Korea, Spain, Sweden, Switzerland, Taiwan, United Kingdom, United States of America.</p><p>The only exception to this rule are low-frequency actions when <code>bid_strategy</code> is <code>LOWEST_COST_WITHOUT_CAP</code>.</p></div></div><h4>Locale targeted page post</h4><p>If you promote a Page post which has been targeted by locale the ad set targeting must include the same, or a subset of, locale targeting as the Page post.</p><p>E.g. if the Page post is targeted at locales 6 (US English) and 24 (UK English), then the ad set must be targeted at one or more of the same locales.</p><h4>Mobile App Ads</h4><p>Mobile app ad sets should</p><ul class="uiList _4of _4kg"><li><div class="fcb">be used in conjunction with <a href="/docs/reference/ads-api/targeting-specs#mobile">targeting spec</a> fields <code>user_device</code> and <code>user_os</code></div></li><li><div class="fcb">have a <code>MOBILE_APP_*</code> objective on the <a href="/docs/marketing-api/adcampaign">campaign</a></div></li></ul><h4>Desktop App Ads</h4><p>Desktop app ad sets must</p><ul class="uiList _4of _4kg"><li><div class="fcb">include a <a href="/docs/reference/ads-api/targeting-specs">targeting spec</a> of either <ul class="uiList _4of _4kg"><li><div class="fcb"><code>'page_types':['desktopfeed']</code> or</div></li><li><div class="fcb"><code>'page_types':['rightcolumn']</code> or</div></li><li><div class="fcb"><code>'page_types':['desktop']</code> along with the other targeting options you have selected.</div></li></ul></div></li><li><div class="fcb">include a <code>CANVAS_APP_*</code> objective</div></li></ul><h4>Lookalike Expansion</h4><p>Beginning with v13.0, for newly created ad sets that optimize for value, conversions, or app events, lookalike expansion will be turned on by default and cannot be disabled. When getting an ad set that optimizes for value, conversions, or app events, we will return a new lookalike property in the <code>targeting_optimization_types</code> map that indicates lookalike expansion is enabled and complements the existing <code>detailed_targeting</code> property for the detailed targeting expansion. </p><h4>Targeting DSA Regulated Locations (EU)</h4><p>For ad sets targeting the EU and/or associated territories, the <code>dsa_payor</code> and <code>dsa_beneficiary</code> fields are required. The information provided in these 2 fields will be shown to end users to indicate who is paying for the ad and who is the beneficiary of the ad.</p><p><b>Request</b><br /> Include the following fields in an API call to the <code>/{adset_id}</code> endpoint. <pre class="_5s-8 prettyprint lang-code" style=""> { "dsa_payor": "<PAYOR_NAME>", "dsa_beneficiary": "<BENEFICIARY_NAME>" ... } </pre></p><p><b>Fields</b><div class="_57-c"><table class="_4-ss _5k9x"><thead><th>Name</th><th>Description</th></thead><tbody class="_5m37" id="u_0_4x_rB"><tr class="row_0"><td><p><code>dsa_payor</code></p> <div style="color:darkgrey;">string (max 512 char)</div></td><td><p>The payor of all ads in this ad set.</p> </td></tr><tr class="row_1 _5m29"><td><p><code>dsa_beneficiary</code></p> <div style="color:darkgrey;">string (max 512 char)</div></td><td><p>The beneficiary of all ads in this ad set.</p> </td></tr></tbody></table></div></p><p style="margin-bottom: 20px;">If these fields are not provided, the API may returns the following errors: <br /><b>Payor missing error</b><pre class="_5s-8 prettyprint lang-code" style=""> { "error": { "message": "Invalid parameter", "type": "FacebookApiException", "code": 100, "error_data": "{\"blame_field_specs\":[[\"dsa_payor\"]]}", "error_subcode": 3858079, "is_transient": false, "error_user_title": "No payor provided in DSA regulated region", "error_user_msg": "The DSA requires ads to provide payor information in regulated regions. Updating/creating ad needs to provide payor of the ad.", "fbtrace_id": "fbtrace_id" }, "__fb_trace_id__": "fbtrace_id", "__www_request_id__": "request_id" } </pre><b>Beneficiary missing error</b><pre class="_5s-8 prettyprint lang-code" style=""> { "error": { "message": "Invalid parameter", "type": "FacebookApiException", "code": 100, "error_data": "{\"blame_field_specs\":[[\"dsa_beneficiary\"]]}", "error_subcode": 3858081, "is_transient": false, "error_user_title": "No payor/beneficiary provided in DSA regulated location", "error_user_msg": "The DSA requires ads to provide beneficiary information in regulated regions. Updating/creating ad needs to provide beneficiary of the ad.", "fbtrace_id": "fbtrace_id" }, "__fb_trace_id__": "fbtrace_id", "__www_request_id__": "request_id" } </pre></p></div><div class="_844_"><div class="_3-98">You can make a POST request to <code>copies</code> edge from the following paths: <ul><li><a href="/docs/marketing-api/reference/ad-campaign/copies/"><code>/{ad_set_id}/copies</code></a></li></ul><div>發佈到此關係連線時,會建立 an <a href="/docs/marketing-api/reference/ad-campaign/">AdSet</a> 。</div><div><h3>參數</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>參數</th><th>描述</th></tr></thead><tbody><tbody class="_5m37" id="u_0_4y_+o"><tr class="row_0"><td><div class="_yc"><span><code>campaign_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>Single ID of a campaign to make parent of the copy. The copy inherits all campaign settings, such as budget from the parent.Ignore if you want to keep the copy under the original campaign parent.</p> </div></div></p></td></tr><tr class="row_1 _5m29"><td><div class="_yc"><span><code>deep_copy</code></span></div><div class="_yb">boolean</div></td><td><div>預設值:<code>false</code></div><p class="_yd"><div><div><p>Whether to copy all the child ads. Limits: the total number of children ads to copy should not exceed 3 for a synchronous call and 51 for an asynchronous call.</p> </div></div></p></td></tr><tr class="row_2"><td><div class="_yc"><span><code>end_time</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>The end time of the set, e.g. <code>2015-03-12 23:59:59-07:00</code> or <code>2015-03-12 23:59:59 PDT</code>. UTC UNIX timestamp. When creating a set with a daily budget, specify <code>end_time=0</code> to set the set to be ongoing without end date. If not set, the copied adset will inherit the end time from the original set</p> </div></div></p></td></tr><tr class="row_3 _5m29 _5m27"><td><div class="_yc"><span><code>rename_options</code></span></div><div class="_yb">JSON or object-like arrays</div></td><td><p class="_yd"><div><div><p>Rename options</p> </div></div></p></td></tr><tr class="row_3-0 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>rename_strategy</code></span></div><div class="_yb">enum {DEEP_RENAME, ONLY_TOP_LEVEL_RENAME, NO_RENAME}</div></td><td><div>預設值:<code>ONLY_TOP_LEVEL_RENAME</code></div><p class="_yd"><div><div><p><code>DEEP_RENAME</code>: will change this object's name and children's names in the copied object. <code>ONLY_TOP_LEVEL_RENAME</code>: will change the this object's name but won't change the children's name in the copied object. <code>NO_RENAME</code>: will change no name in the copied object</p> </div></div></p></td></tr><tr class="row_3-1 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>rename_prefix</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div><p>A prefix to copy names. Defaults to null if not provided.</p> </div></div></p></td></tr><tr class="row_3-2 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>rename_suffix</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div><p>A suffix to copy names. Defaults to null if not provided and appends a localized string of <code>- Copy</code> based on the ad account locale.</p> </div></div></p></td></tr><tr class="row_4"><td><div class="_yc"><span><code>start_time</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>The start time of the set, e.g. <code>2015-03-12 23:59:59-07:00</code> or <code>2015-03-12 23:59:59 PDT</code>. UTC UNIX timestamp. If not set, the copied adset will inherit the start time from the original set</p> </div></div></p></td></tr><tr class="row_5 _5m29"><td><div class="_yc"><span><code>status_option</code></span></div><div class="_yb">enum {ACTIVE, PAUSED, INHERITED_FROM_SOURCE}</div></td><td><div>預設值:<code>PAUSED</code></div><p class="_yd"><div><div><p><code>ACTIVE</code>: the copied adset will have active status. <code>PAUSED</code>: the copied adset will have paused status. <code>INHERITED_FROM_SOURCE</code>: the copied adset will have the status from the original set.</p> </div></div></p></td></tr></tbody></tbody></table></div></div><h3>傳回類型</h3><div>此端點支援<a href="/docs/graph-api/advanced/#read-after-write">寫入後讀取</a>功能,並將讀取傳回類型表示為 <code>copied_adset_id</code> 的節點。</div><div class="_367u"> Struct {<div class="_uoj"><code>copied_adset_id</code>: numeric string, </div><div class="_uoj"><code>ad_object_ids</code>: List [<div class="_uoj"> Struct {<div class="_uoj"><code>ad_object_type</code>: enum {unique_adcreative, ad, ad_set, campaign, opportunities, privacy_info_center, topline, ad_account}, </div><div class="_uoj"><code>source_id</code>: numeric string, </div><div class="_uoj"><code>copied_id</code>: numeric string, </div>}</div>], </div>}</div><h3>Error Codes</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>錯誤</th><th>說明</th></tr></thead><tbody><tr><td>100</td><td>Invalid parameter</td></tr><tr><td>200</td><td>Permissions error</td></tr><tr><td>190</td><td>Invalid OAuth 2.0 Access Token</td></tr><tr><td>80004</td><td>There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting#ads-management.</td></tr></tbody></table></div></div><div class="_4g10"></div><div class="_3-98">You can make a POST request to <code>adsets</code> edge from the following paths: <ul><li><a href="/docs/marketing-api/reference/ad-account/adsets/"><code>/act_{ad_account_id}/adsets</code></a></li></ul><div>發佈到此關係連線時,會建立 an <a href="/docs/marketing-api/reference/ad-campaign/">AdSet</a> 。</div><div><h3>例子</h3><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_4z_sq"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_50_Gz">HTTP</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_51_Wv">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_52_oD">JavaScript SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_53_BX">Android SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_54_aN">iOS SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_55_lF">cURL</button><a role="button" class="_42ft _51tl selected" href="/tools/explorer/?method=POST&path=act_%3CAD_ACCOUNT_ID%3E%2Fadsets%3Fname%3DMy%2BFirst%2BAdSet%26daily_budget%3D10000%26bid_amount%3D300%26billing_event%3DIMPRESSIONS%26optimization_goal%3DREACH%26campaign_id%3D%253CAD_CAMPAIGN_ID%253E%26promoted_object%3D%257B%2522page_id%2522%253A%2522%253CPAGE_ID%253E%2522%257D%26targeting%3D%257B%2522facebook_positions%2522%253A%255B%2522feed%2522%255D%252C%2522geo_locations%2522%253A%257B%2522countries%2522%253A%255B%2522US%2522%255D%252C%2522regions%2522%253A%255B%257B%2522key%2522%253A%25224081%2522%257D%255D%252C%2522cities%2522%253A%255B%257B%2522key%2522%253A777934%252C%2522radius%2522%253A10%252C%2522distance_unit%2522%253A%2522mile%2522%257D%255D%257D%252C%2522genders%2522%253A%255B1%255D%252C%2522age_max%2522%253A24%252C%2522age_min%2522%253A20%252C%2522publisher_platforms%2522%253A%255B%2522facebook%2522%252C%2522audience_network%2522%255D%252C%2522device_platforms%2522%253A%255B%2522mobile%2522%255D%252C%2522flexible_spec%2522%253A%255B%257B%2522interests%2522%253A%255B%257B%2522id%2522%253A%2522%253CINTEREST_ID%253E%2522%252C%2522name%2522%253A%2522%253CINTEREST_NAME%253E%2522%257D%255D%257D%255D%257D%26status%3DPAUSED&version=v21.0" target="_blank">Graph API Explorer<i class="_3-99 img sp_c_epTrfICMy sx_7b2121"></i></a></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_56_o3"><code>POST /v21.0/act_<AD_ACCOUNT_ID>/adsets HTTP/1.1 Host: graph.facebook.com name=My+First+AdSet&daily_budget=10000&bid_amount=300&billing_event=IMPRESSIONS&optimization_goal=REACH&campaign_id=%3CAD_CAMPAIGN_ID%3E&promoted_object=%7B%22page_id%22%3A%22%3CPAGE_ID%3E%22%7D&targeting=%7B%22facebook_positions%22%3A%5B%22feed%22%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%2C%22regions%22%3A%5B%7B%22key%22%3A%224081%22%7D%5D%2C%22cities%22%3A%5B%7B%22key%22%3A777934%2C%22radius%22%3A10%2C%22distance_unit%22%3A%22mile%22%7D%5D%7D%2C%22genders%22%3A%5B1%5D%2C%22age_max%22%3A24%2C%22age_min%22%3A20%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22audience_network%22%5D%2C%22device_platforms%22%3A%5B%22mobile%22%5D%2C%22flexible_spec%22%3A%5B%7B%22interests%22%3A%5B%7B%22id%22%3A%22%3CINTEREST_ID%3E%22%2C%22name%22%3A%22%3CINTEREST_NAME%3E%22%7D%5D%7D%5D%7D&status=PAUSED</code></pre><pre class="_5gt1 prettyprint" id="u_0_57_C0"><code>/* PHP SDK v5.0.0 */ /* make the API call */ try { // Returns a `Facebook\FacebookResponse` object $response = $fb->post( '/act_<AD_ACCOUNT_ID>/adsets', array ( 'name' => 'My First AdSet', 'daily_budget' => '10000', 'bid_amount' => '300', 'billing_event' => 'IMPRESSIONS', 'optimization_goal' => 'REACH', 'campaign_id' => '<AD_CAMPAIGN_ID>', 'promoted_object' => '{"page_id":"<PAGE_ID>"}', 'targeting' => '{"facebook_positions":["feed"],"geo_locations":{"countries":["US"],"regions":[{"key":"4081"}],"cities":[{"key":777934,"radius":10,"distance_unit":"mile"}]},"genders":[1],"age_max":24,"age_min":20,"publisher_platforms":["facebook","audience_network"],"device_platforms":["mobile"],"flexible_spec":[{"interests":[{"id":"<INTEREST_ID>","name":"<INTEREST_NAME>"}]}]}', 'status' => 'PAUSED', ), '{access-token}' ); } catch(Facebook\Exceptions\FacebookResponseException $e) { echo 'Graph returned an error: ' . $e->getMessage(); exit; } catch(Facebook\Exceptions\FacebookSDKException $e) { echo 'Facebook SDK returned an error: ' . $e->getMessage(); exit; } $graphNode = $response->getGraphNode(); /* handle the result */</code></pre><pre class="_5gt1 prettyprint" id="u_0_58_uq"><code>/* make the API call */ FB.api( "/act_<AD_ACCOUNT_ID>/adsets", "POST", { "name": "My First AdSet", "daily_budget": "10000", "bid_amount": "300", "billing_event": "IMPRESSIONS", "optimization_goal": "REACH", "campaign_id": "<AD_CAMPAIGN_ID>", "promoted_object": "{\"page_id\":\"<PAGE_ID>\"}", "targeting": "{\"facebook_positions\":[\"feed\"],\"geo_locations\":{\"countries\":[\"US\"],\"regions\":[{\"key\":\"4081\"}],\"cities\":[{\"key\":777934,\"radius\":10,\"distance_unit\":\"mile\"}]},\"genders\":[1],\"age_max\":24,\"age_min\":20,\"publisher_platforms\":[\"facebook\",\"audience_network\"],\"device_platforms\":[\"mobile\"],\"flexible_spec\":[{\"interests\":[{\"id\":\"<INTEREST_ID>\",\"name\":\"<INTEREST_NAME>\"}]}]}", "status": "PAUSED" }, function (response) { if (response && !response.error) { /* handle the result */ } } );</code></pre><pre class="_5gt1 prettyprint" id="u_0_59_Va"><code>Bundle params = new Bundle(); params.putString("name", "My First AdSet"); params.putString("daily_budget", "10000"); params.putString("bid_amount", "300"); params.putString("billing_event", "IMPRESSIONS"); params.putString("optimization_goal", "REACH"); params.putString("campaign_id", "<AD_CAMPAIGN_ID>"); params.putString("promoted_object", "{\"page_id\":\"<PAGE_ID>\"}"); params.putString("targeting", "{\"facebook_positions\":[\"feed\"],\"geo_locations\":{\"countries\":[\"US\"],\"regions\":[{\"key\":\"4081\"}],\"cities\":[{\"key\":777934,\"radius\":10,\"distance_unit\":\"mile\"}]},\"genders\":[1],\"age_max\":24,\"age_min\":20,\"publisher_platforms\":[\"facebook\",\"audience_network\"],\"device_platforms\":[\"mobile\"],\"flexible_spec\":[{\"interests\":[{\"id\":\"<INTEREST_ID>\",\"name\":\"<INTEREST_NAME>\"}]}]}"); params.putString("status", "PAUSED"); /* make the API call */ new GraphRequest( AccessToken.getCurrentAccessToken(), "/act_<AD_ACCOUNT_ID>/adsets", params, HttpMethod.POST, new GraphRequest.Callback() { public void onCompleted(GraphResponse response) { /* handle the result */ } } ).executeAsync();</code></pre><pre class="_5gt1 prettyprint" id="u_0_5a_db"><code>NSDictionary *params = @{ @"name": @"My First AdSet", @"daily_budget": @"10000", @"bid_amount": @"300", @"billing_event": @"IMPRESSIONS", @"optimization_goal": @"REACH", @"campaign_id": @"<AD_CAMPAIGN_ID>", @"promoted_object": @"{\"page_id\":\"<PAGE_ID>\"}", @"targeting": @"{\"facebook_positions\":[\"feed\"],\"geo_locations\":{\"countries\":[\"US\"],\"regions\":[{\"key\":\"4081\"}],\"cities\":[{\"key\":777934,\"radius\":10,\"distance_unit\":\"mile\"}]},\"genders\":[1],\"age_max\":24,\"age_min\":20,\"publisher_platforms\":[\"facebook\",\"audience_network\"],\"device_platforms\":[\"mobile\"],\"flexible_spec\":[{\"interests\":[{\"id\":\"<INTEREST_ID>\",\"name\":\"<INTEREST_NAME>\"}]}]}", @"status": @"PAUSED", }; /* make the API call */ FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] initWithGraphPath:@"/act_<AD_ACCOUNT_ID>/adsets" parameters:params HTTPMethod:@"POST"]; [request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { // Handle the result }];</code></pre><pre class="_5gt1 prettyprint" id="u_0_5b_5v"><code>curl -X POST \ -F 'name="My First AdSet"' \ -F 'daily_budget=10000' \ -F 'bid_amount=300' \ -F 'billing_event="IMPRESSIONS"' \ -F 'optimization_goal="REACH"' \ -F 'campaign_id="<AD_CAMPAIGN_ID>"' \ -F 'promoted_object={ "page_id": "<PAGE_ID>" }' \ -F 'targeting={ "facebook_positions": [ "feed" ], "geo_locations": { "countries": [ "US" ], "regions": [ { "key": "4081" } ], "cities": [ { "key": 777934, "radius": 10, "distance_unit": "mile" } ] }, "genders": [ 1 ], "age_max": 24, "age_min": 20, "publisher_platforms": [ "facebook", "audience_network" ], "device_platforms": [ "mobile" ], "flexible_spec": [ { "interests": [ { "id": "<INTEREST_ID>", "name": "<INTEREST_NAME>" } ] } ] }' \ -F 'status="PAUSED"' \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/act_<AD_ACCOUNT_ID>/adsets</code></pre></div></div>如果想了解如何使用 Graph API,請參閱我們的<a href="/docs/graph-api/using-graph-api/">使用 Graph API 指南</a>。</div><div><h3>參數</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>參數</th><th>描述</th></tr></thead><tbody><tbody class="_5m37" id="u_0_5c_wG"><tr class="row_0"><td><div class="_yc"><span><code>adlabels</code></span></div><div class="_yb">list<Object></div></td><td><p class="_yd"><div><div><p>Specifies list of labels to be associated with this object. This field is optional</p> </div></div></p></td></tr><tr class="row_1 _5m29 _5m27"><td><div class="_yc"><span><code>adset_schedule</code></span></div><div class="_yb">list<Object></div></td><td><p class="_yd"><div><div><p>Ad set schedule, representing a delivery schedule for a single day</p> </div></div></p></td></tr><tr class="row_1-0 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>start_minute</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>A 0 based minute of the day representing when the schedule starts</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_1-1 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>end_minute</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>A 0 based minute of the day representing when the schedule ends</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_1-2 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>days</code></span></div><div class="_yb">list<int64></div></td><td><p class="_yd"><div><div><p>Array of ints representing which days the schedule is active. Valid values are 0-6 with 0 representing Sunday, 1 representing Monday, ... and 6 representing Saturday.</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_1-3 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>timezone_type</code></span></div><div class="_yb">enum {USER, ADVERTISER}</div></td><td><div>預設值:<code>USER</code></div><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_2 _5m27"><td><div class="_yc"><span><code>attribution_spec</code></span></div><div class="_yb">list<JSON object></div></td><td><p class="_yd"><div><div><p>Conversion attribution spec used for attributing conversions for optimization. Supported window lengths differ by optimization goal and campaign objective.</p> </div></div></p></td></tr><tr class="row_2-0 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>event_type</code></span></div><div class="_yb">enum {CLICK_THROUGH, VIEW_THROUGH, ENGAGED_VIDEO_VIEW}</div></td><td><p class="_yd"><div><div></div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_2-1 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>window_days</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div></div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_3 _5m29"><td><div class="_yc"><span><code>bid_amount</code></span></div><div class="_yb">integer</div></td><td><p class="_yd"><div><div><p>Bid cap or target cost for this ad set. The bid cap used in a <em>lowest cost bid strategy</em> is defined as the maximum bid you want to pay for a result based on your <code>optimization_goal</code>. The target cost used in a <em>target cost bid strategy</em> lets Facebook bid to meet your target on average and keep costs stable as you spend. If an ad level <code>bid_amount</code> is specified, updating this value will overwrite the previous ad level bid. Unless you are using <a href="/docs/marketing-api/reachandfrequency">Reach and Frequency</a>, <code>bid_amount</code> is required if <code>bid_strategy</code> is set to <code>LOWEST_COST_WITH_BID_CAP</code> or <code>COST_CAP</code>. <br /> The bid amount's unit is cents for currencies like USD, EUR, and the basic unit for currencies like JPY, KRW. The bid amount for ads with <code>IMPRESSION</code> or <code>REACH</code> as <code>billing_event</code> is per 1,000 occurrences, and has to be at least 2 US cents or more. For ads with other <code>billing_event</code>s, the bid amount is for each occurrence, and has a minimum value 1 US cents. The minimum bid amounts of other currencies are of similar value to the US Dollar values provided.</p> </div></div></p></td></tr><tr class="row_4"><td><div class="_yc"><span><code>bid_strategy</code></span><a class="_2pir" href="#" role="button" data-hover="tooltip" id="u_0_5d_Ea"><i class="img sp_WbXBGqjC54o sx_ba4112"></i></a></div><div class="_yb">enum{LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS}</div></td><td><p class="_yd"><div><div><p>Choose bid strategy for this ad set to suit your specific business goals. Each strategy has tradeoffs and may be available for certain <code>optimization_goal</code>s:<br /> <code>LOWEST_COST_WITHOUT_CAP</code>: Designed to get the most results for your budget based on your ad set <code>optimization_goal</code> without limiting your bid amount. This is the best strategy if you care most about cost efficiency. However with this strategy it may be harder to get stable average costs as you spend. This strategy is also known as <em>automatic bidding</em>. Learn more in <a href="https://www.facebook.com/business/help/721453268045071">Ads Help Center, About bid strategies: Lowest cost</a>.<br /> <code>LOWEST_COST_WITH_BID_CAP</code>: Designed to get the most results for your budget based on your ad set <code>optimization_goal</code> while limiting actual bid to your specified amount. With a bid cap you have more control over your cost per actual optimization event. However if you set a limit which is too low you may get less ads delivery. If you select this, you must provide a bid cap with the <code>bid_amount</code> field. Note: during creation this bid strategy is set if you provide <code>bid_amount</code> only. This strategy is also known as <em>manual maximum-cost bidding</em>. Learn more in <a href="https://www.facebook.com/business/help/721453268045071">Ads Help Center, About bid strategies: Lowest cost</a>.<br /></p> <p>Notes:</p> <ul> <li><p>If you enable campaign budget optimization, you should set <code>bid_strategy</code> at the parent campaign level.</p></li> <li><p><code>TARGET_COST</code> bidding strategy has been deprecated with <a href="/docs/graph-api/changelog/version9.0">Marketing API v9</a>.</p></li> </ul> </div></div></p></td></tr><tr class="row_5 _5m29"><td><div class="_yc"><span><code>billing_event</code></span></div><div class="_yb">enum{APP_INSTALLS, CLICKS, IMPRESSIONS, LINK_CLICKS, NONE, OFFER_CLAIMS, PAGE_LIKES, POST_ENGAGEMENT, THRUPLAY, PURCHASE, LISTING_INTERACTION}</div></td><td><p class="_yd"><div><div><p>The billing event that this ad set is using:<br />APP_INSTALLS: Pay when people install your app.<br />CLICKS: Deprecated.<br />IMPRESSIONS: Pay when the ads are shown to people.<br />LINK_CLICKS: Pay when people click on the link of the ad.<br />OFFER_CLAIMS: Pay when people claim the offer.<br />PAGE_LIKES: Pay when people like your page.<br />POST_ENGAGEMENT: Pay when people engage with your post.<br />VIDEO_VIEWS: Pay when people watch your video ads for at least 10 seconds.<br />THRUPLAY: Pay for ads that are played to completion, or played for at least 15 seconds.</p> </div></div></p></td></tr><tr class="row_6 _5m27"><td><div class="_yc"><span><code>budget_schedule_specs</code></span></div><div class="_yb">list<JSON or object-like arrays></div></td><td><p class="_yd"><div><div><p>Initial high demand periods to be created with the ad set.<br /> Provide list of <code>time_start</code>, <code>time_end</code>,<code>budget_value</code>, and <code>budget_value_type</code>.<br />For example,<br />-F 'budget_schedule_specs=[{<br /> "time_start":1699081200,<br /> "time_end":1699167600,<br /> "budget_value":100,<br /> "budget_value_type":"ABSOLUTE"<br /> }]' <br /> See <a href="https://developers.facebook.com/docs/graph-api/reference/high-demand-period/">High Demand Period</a> for more details on each field.</p> </div></div></p></td></tr><tr class="row_6-0 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>id</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-1 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>time_start</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-2 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>time_end</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-3 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>budget_value</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-4 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>budget_value_type</code></span></div><div class="_yb">enum{ABSOLUTE, MULTIPLIER}</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-5 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>recurrence_type</code></span></div><div class="_yb">enum{ONE_TIME, WEEKLY}</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-6 hidden_elem _5m27"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>weekly_schedule</code></span></div><div class="_yb">list<JSON or object-like arrays></div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-6-0 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>days</code></span></div><div class="_yb">list<int64></div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-6-1 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>minute_start</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-6-2 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>minute_end</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_6-6-3 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>timezone_type</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_7 _5m29"><td><div class="_yc"><span><code>campaign_attribution</code></span></div><div class="_yb">enum{}</div></td><td><p class="_yd"><div><div><p>campaign_attribution</p> </div></div></p></td></tr><tr class="row_8"><td><div class="_yc"><span><code>campaign_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ad campaign you wish to add this ad set to.</p> </div></div></p></td></tr><tr class="row_9 _5m29"><td><div class="_yc"><span><code>campaign_spec</code></span></div><div class="_yb">Campaign spec</div></td><td><p class="_yd"><div><div><p>Provide <code>name</code>, <code>objective</code> and <code>buying_type</code> for a campaign you want to create. Otherwise you need to provide <code>campaign_id</code> for an existing ad campaign. For example:<br />-F 'campaign_spec={<br /><span> </span>"name": "Inline created campaign",<br /><span> </span>"objective": "CONVERSIONS",<br /><span> </span>"buying_type": "AUCTION"<br />}' <br /><br /> Please refer to the <a href="/docs/marketing-api/reference/ad-campaign-group#odax-mapping">Outcome-Driven Ads Experiences mapping table</a> to find new objectives and their corresponding destination types, optimization goals and promoted objects.</p> </div></div></p></td></tr><tr class="row_10 _5m27"><td><div class="_yc"><span><code>contextual_bundling_spec</code></span></div><div class="_yb">Object</div></td><td><p class="_yd"><div><div><p>settings of Contextual Bundle to support ads serving in Facebook contextual surfaces</p> </div></div></p></td></tr><tr class="row_10-0 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>status</code></span></div><div class="_yb">enum{OPT_OUT, OPT_IN}</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_11 _5m29"><td><div class="_yc"><span><code>creative_sequence</code></span></div><div class="_yb">list<numeric string or integer></div></td><td><p class="_yd"><div><div><p>Order of the adgroup sequence to be shown to users</p> </div></div></p></td></tr><tr class="row_12"><td><div class="_yc"><span><code>daily_budget</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>The daily budget defined in your <a href="/docs/marketing-api/adset/budget-limits">account currency</a>, allowed only for ad sets with a duration (difference between <code>end_time</code> and <code>start_time</code>) longer than 24 hours. <br />Either <code>daily_budget</code> or <code>lifetime_budget</code> must be greater than 0.</p> </div></div></p></td></tr><tr class="row_13 _5m29"><td><div class="_yc"><span><code>daily_imps</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Daily impressions. Available only for campaigns with <code>buying_type=FIXED_CPM</code></p> </div></div></p></td></tr><tr class="row_14"><td><div class="_yc"><span><code>daily_min_spend_target</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Daily minimum spend target of the ad set defined in your account currency. To use this field, daily budget must be specified in the Campaign. This target is not a guarantee but our best effort.</p> </div></div></p></td></tr><tr class="row_15 _5m29"><td><div class="_yc"><span><code>daily_spend_cap</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Daily spend cap of the ad set defined in your account currency. To use this field, daily budget must be specified in the Campaign. Set the value to 922337203685478 to remove the spend cap.</p> </div></div></p></td></tr><tr class="row_16"><td><div class="_yc"><span><code>destination_type</code></span></div><div class="_yb">enum{WEBSITE, APP, MESSENGER, APPLINKS_AUTOMATIC, WHATSAPP, INSTAGRAM_DIRECT, FACEBOOK, MESSAGING_MESSENGER_WHATSAPP, MESSAGING_INSTAGRAM_DIRECT_MESSENGER, MESSAGING_INSTAGRAM_DIRECT_MESSENGER_WHATSAPP, MESSAGING_INSTAGRAM_DIRECT_WHATSAPP, SHOP_AUTOMATIC, ON_AD, ON_POST, ON_EVENT, ON_VIDEO, ON_PAGE, INSTAGRAM_PROFILE, FACEBOOK_PAGE, INSTAGRAM_PROFILE_AND_FACEBOOK_PAGE}</div></td><td><p class="_yd"><div><div><p>Destination of ads in this Ad Set. Options include: Website, App, Messenger, <code>INSTAGRAM_DIRECT</code>, <code>INSTAGRAM_PROFILE</code>.</p> </div></div></p></td></tr><tr class="row_17 _5m29"><td><div class="_yc"><span><code>dsa_beneficiary</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div><p>dsa_beneficiary</p> </div></div></p></td></tr><tr class="row_18"><td><div class="_yc"><span><code>dsa_payor</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div><p>dsa_payor</p> </div></div></p></td></tr><tr class="row_19 _5m29"><td><div class="_yc"><span><code>end_time</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>End time, required when <code>lifetime_budget</code> is specified. e.g. <code>2015-03-12 23:59:59-07:00</code> or <code>2015-03-12 23:59:59 PDT</code>. When creating a set with a daily budget, specify <code>end_time=0</code> to set the set to be ongoing and have no end date. UTC UNIX timestamp</p> </div></div></p></td></tr><tr class="row_20"><td><div class="_yc"><span><code>execution_options</code></span></div><div class="_yb">list<enum{validate_only, include_recommendations}></div></td><td><div>預設值:<code>Set</code></div><p class="_yd"><div><div><p>An execution setting<br /> <code>validate_only</code>: when this option is specified, the API call will not perform the mutation but will run through the validation rules against values of each field. <br /><code>include_recommendations</code>: this option cannot be used by itself. When this option is used, recommendations for ad object's configuration will be included. A separate section <a href="/docs/marketing-api/reference/ad-recommendation">recommendations</a> will be included in the response, but only if recommendations for this specification exist.<br />If the call passes validation or review, response will be <code>{"success": true}</code>. If the call does not pass, an error will be returned with more details. These options can be used to improve any UI to display errors to the user much sooner, e.g. as soon as a new value is typed into any field corresponding to this ad object, rather than at the upload/save stage, or after review.</p> </div></div></p></td></tr><tr class="row_21 _5m29"><td><div class="_yc"><span><code>existing_customer_budget_percentage</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>existing_customer_budget_percentage</p> </div></div></p></td></tr><tr class="row_22 _5m27"><td><div class="_yc"><span><code>frequency_control_specs</code></span></div><div class="_yb">list<Object></div></td><td><p class="_yd"><div><div><p>An array of frequency control specs for this ad set. As there is only one event type currently supported, this array has no more than one element. Writes to this field are only available in ad sets where <code>REACH</code> is the objective.</p> </div></div></p></td></tr><tr class="row_22-0 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>event</code></span></div><div class="_yb">enum{IMPRESSIONS, VIDEO_VIEWS, VIDEO_VIEWS_2S, VIDEO_VIEWS_15S}</div></td><td><p class="_yd"><div><div><p>Event name, only <code>IMPRESSIONS</code> currently.</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_22-1 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>interval_days</code></span></div><div class="_yb">integer</div></td><td><p class="_yd"><div><div><p>Interval period in days, between 1 and 90 (inclusive)</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_22-2 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>max_frequency</code></span></div><div class="_yb">integer</div></td><td><p class="_yd"><div><div><p>The maximum frequency, between 1 and 90 (inclusive)</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_23 _5m29"><td><div class="_yc"><span><code>is_dynamic_creative</code></span><a class="_2pir" href="#" role="button" data-hover="tooltip" id="u_0_5e_7K"><i class="img sp_WbXBGqjC54o sx_ba4112"></i></a></div><div class="_yb">boolean</div></td><td><p class="_yd"><div><div><p>Indicates the ad set must only be used for dynamic creatives. Dynamic creative ads can be created in this ad set. Defaults to <code>false</code></p> </div></div></p></td></tr><tr class="row_24"><td><div class="_yc"><span><code>lifetime_budget</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Lifetime budget, defined in your <a href="/docs/marketing-api/adset/budget-limits">account currency</a>. If specified, you must also specify an <code>end_time</code>.<br />Either <code>daily_budget</code> or <code>lifetime_budget</code> must be greater than 0.</p> </div></div></p></td></tr><tr class="row_25 _5m29"><td><div class="_yc"><span><code>lifetime_imps</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Lifetime impressions. Available only for campaigns with <code>buying_type=FIXED_CPM</code></p> </div></div></p></td></tr><tr class="row_26"><td><div class="_yc"><span><code>lifetime_min_spend_target</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Lifetime minimum spend target of the ad set defined in your account currency. To use this field, lifetime budget must be specified in the Campaign. This target is not a guarantee but our best effort.</p> </div></div></p></td></tr><tr class="row_27 _5m29"><td><div class="_yc"><span><code>lifetime_spend_cap</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>Lifetime spend cap of the ad set defined in your account currency. To use this field, lifetime budget must be specified in the Campaign. Set the value to 922337203685478 to remove the spend cap.</p> </div></div></p></td></tr><tr class="row_28"><td><div class="_yc"><span><code>max_budget_spend_percentage</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>max_budget_spend_percentage</p> </div></div></p></td></tr><tr class="row_29 _5m29"><td><div class="_yc"><span><code>min_budget_spend_percentage</code></span></div><div class="_yb">int64</div></td><td><p class="_yd"><div><div><p>min_budget_spend_percentage</p> </div></div></p></td></tr><tr class="row_30"><td><div class="_yc"><span><code>multi_optimization_goal_weight</code></span></div><div class="_yb">enum{UNDEFINED, BALANCED, PREFER_INSTALL, PREFER_EVENT}</div></td><td><p class="_yd"><div><div><p>multi_optimization_goal_weight</p> </div></div></p></td></tr><tr class="row_31 _5m29"><td><div class="_yc"><span><code>name</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div><p>Ad set name, max length of 400 characters.</p> </div></div></p><div class="_3-8w"><span class="_1vet">必填</span><span class="_1vet">支援表情符號</span></div></td></tr><tr class="row_32"><td><div class="_yc"><span><code>optimization_goal</code></span></div><div class="_yb">enum{NONE, APP_INSTALLS, AD_RECALL_LIFT, ENGAGED_USERS, EVENT_RESPONSES, IMPRESSIONS, LEAD_GENERATION, QUALITY_LEAD, LINK_CLICKS, OFFSITE_CONVERSIONS, PAGE_LIKES, POST_ENGAGEMENT, QUALITY_CALL, REACH, LANDING_PAGE_VIEWS, VISIT_INSTAGRAM_PROFILE, VALUE, THRUPLAY, DERIVED_EVENTS, APP_INSTALLS_AND_OFFSITE_CONVERSIONS, CONVERSATIONS, IN_APP_VALUE, MESSAGING_PURCHASE_CONVERSION, SUBSCRIBERS, REMINDERS_SET, MEANINGFUL_CALL_ATTEMPT, PROFILE_VISIT, MESSAGING_APPOINTMENT_CONVERSION}</div></td><td><p class="_yd"><div><div><p>What the ad set is optimizing for. <br /><code>APP_INSTALLS</code>: Will optimize for people more likely to install your app.<br /><code>ENGAGED_USERS</code>: Will optimize for people more likely to take a particular action in your app.<br /><code>EVENT_RESPONSES</code>: Will optimize for people more likely to attend your event.<br /><code>IMPRESSIONS</code>: Will show the ads as many times as possible.<br /><code>LEAD_GENERATION</code>: Will optimize for people more likely to fill out a lead generation form.<br /><code>LINK_CLICKS</code>: Will optimize for people more likely to click in the link of the ad.<br /><code>OFFER_CLAIMS</code>: Will optimize for people more likely to claim the offer.<br /><code>OFFSITE_CONVERSIONS</code>: Will optimize for people more likely to make a conversion in the site<br /><code>PAGE_ENGAGEMENT</code>: Will optimize for people more likely to engage with your page.<br /><code>PAGE_LIKES</code>: Will optimize for people more likely to like your page.<br /><code>POST_ENGAGEMENT</code>: Will optimize for people more likely to engage with your post.<br /><code>REACH</code>: Optimize to reach the most unique users of each day or interval specified in <code>frequency_control_specs</code>.<br /><code>SOCIAL_IMPRESSIONS</code>: Increase the number of impressions with social context. For example, with the names of one or more of the user's friends attached to the ad who have already liked the page or installed the app.<br /><code>VALUE</code>: Will optimize for maximum total purchase value within the specified attribution window.<br /><code>THRUPLAY</code>: Will optimize delivery of your ads to people are more likely to play your ad to completion, or play it for at least 15 seconds.<br /><code>AD_RECALL_LIFT</code>: Optimize for people more likely to remember seeing your ads.<br /><code>VISIT_INSTAGRAM_PROFILE</code>: Optimize for visits to the advertiser's instagram profile.</p> </div></div></p></td></tr><tr class="row_33 _5m29"><td><div class="_yc"><span><code>optimization_sub_event</code></span></div><div class="_yb">enum{NONE, VIDEO_SOUND_ON, TRIP_CONSIDERATION, TRAVEL_INTENT, TRAVEL_INTENT_NO_DESTINATION_INTENT, TRAVEL_INTENT_BUCKET_01, TRAVEL_INTENT_BUCKET_02, TRAVEL_INTENT_BUCKET_03, TRAVEL_INTENT_BUCKET_04, TRAVEL_INTENT_BUCKET_05}</div></td><td><p class="_yd"><div><div><p>Optimization sub event for a specific optimization goal (ex: Sound-On event for Video-View-2s optimization goal)</p> </div></div></p></td></tr><tr class="row_34"><td><div class="_yc"><span><code>pacing_type</code></span></div><div class="_yb">list<string></div></td><td><p class="_yd"><div><div><p>Defines the pacing type, standard by default or using <a href="/docs/marketing-api/adset/pacing">ad scheduling</a></p> </div></div></p></td></tr><tr class="row_35 _5m29 _5m27"><td><div class="_yc"><span><code>promoted_object</code></span></div><div class="_yb">Object</div></td><td><p class="_yd"><div><div><p>The object this ad set is promoting across all its ads. Required with certain campaign objectives.<br /> <b>CONVERSIONS</b> </p><ul> <li><code>pixel_id</code> (Conversion pixel ID)</li> <li><code>pixel_id</code> (Facebook pixel ID) and <code>custom_event_type</code></li> <li><code>pixel_id</code> (Facebook pixel ID) and <code>pixel_rule</code> and <code>custom_event_type</code></li> <li><code>event_id</code> (Facebook event ID) and <code>custom_event_type</code></li> <li><code>application_id</code>, <code>object_store_url</code>, and <code>custom_event_type</code> for mobile app events</li> <li><code>offline_conversion_data_set_id</code> (Offline dataset ID) and <code>custom_event_type</code> for offline conversions</li> </ul> <b>PAGE_LIKES</b> <ul> <li><code>page_id</code></li> </ul> <b>OFFER_CLAIMS</b> <ul> <li><code>page_id</code></li> </ul> <b>LINK_CLICKS</b> <ul> <li><code>application_id</code> and <code>object_store_url</code> for mobile app or Canvas app engagement link clicks</li> </ul> <b>APP_INSTALLS</b> <ul> <li><code>application_id</code> and <code>object_store_url</code></li> </ul> <b> if the <code>optimization_goal</code> is <code>OFFSITE_CONVERSIONS</code></b> <ul> <li><code>application_id</code>, <code>object_store_url</code>, and <code>custom_event_type</code> (Standard Events)</li> <li><code>application_id</code>, <code>object_store_url</code>, <code>custom_event_type = OTHER</code> and <code>custom_event_str</code> (Custom Events)</li> </ul> <b>PRODUCT_CATALOG_SALES</b> <ul> <li><code>product_set_id</code></li> <li><code>product_set_id</code> and <code>custom_event_type</code></li> </ul> When <code>optimization_goal</code> is <code>LEAD_GENERATION</code>, <code>page_id</code> needs to be passed as promoted_object. <br /><br /> Please refer to the <a href="/docs/marketing-api/reference/ad-campaign-group#odax-mapping">Outcome-Driven Ads Experiences mapping table</a> to find new objectives and their corresponding destination types, optimization goals and promoted objects. </div></div></p></td></tr><tr class="row_35-0 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>application_id</code></span></div><div class="_yb">int</div></td><td><p class="_yd"><div><div><p>The ID of a Facebook Application. Usually related to mobile or canvas games being promoted on Facebook for installs or engagement</p> </div></div></p></td></tr><tr class="row_35-1 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>pixel_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a Facebook conversion pixel. Used with offsite conversion campaigns.</p> </div></div></p></td></tr><tr class="row_35-2 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>custom_event_type</code></span></div><div class="_yb">enum{AD_IMPRESSION, RATE, TUTORIAL_COMPLETION, CONTACT, CUSTOMIZE_PRODUCT, DONATE, FIND_LOCATION, SCHEDULE, START_TRIAL, SUBMIT_APPLICATION, SUBSCRIBE, ADD_TO_CART, ADD_TO_WISHLIST, INITIATED_CHECKOUT, ADD_PAYMENT_INFO, PURCHASE, LEAD, COMPLETE_REGISTRATION, CONTENT_VIEW, SEARCH, SERVICE_BOOKING_REQUEST, MESSAGING_CONVERSATION_STARTED_7D, LEVEL_ACHIEVED, ACHIEVEMENT_UNLOCKED, SPENT_CREDITS, LISTING_INTERACTION, D2_RETENTION, D7_RETENTION, OTHER}</div></td><td><p class="_yd"><div><div><p>The event from an App Event of a mobile app, not in the standard event list.</p> </div></div></p></td></tr><tr class="row_35-3 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>object_store_url</code></span></div><div class="_yb">URL</div></td><td><p class="_yd"><div><div><p>The uri of the mobile / digital store where an application can be bought / downloaded. This is platform specific. When combined with the "application_id" this uniquely specifies an object which can be the subject of a Facebook advertising campaign.</p> </div></div></p></td></tr><tr class="row_35-4 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>offer_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of an Offer from a Facebook Page.</p> </div></div></p></td></tr><tr class="row_35-5 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>page_id</code></span></div><div class="_yb">Page ID</div></td><td><p class="_yd"><div><div><p>The ID of a Facebook Page</p> </div></div></p></td></tr><tr class="row_35-6 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>product_catalog_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a Product Catalog. Used with <a href="/docs/marketing-api/dynamic-product-ads">Dynamic Product Ads</a>.</p> </div></div></p></td></tr><tr class="row_35-7 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>product_item_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of the product item.</p> </div></div></p></td></tr><tr class="row_35-8 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>instagram_profile_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of the instagram profile id.</p> </div></div></p></td></tr><tr class="row_35-9 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>product_set_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a Product Set within an Ad Set level Product Catalog. Used with <a href="/docs/marketing-api/dynamic-product-ads">Dynamic Product Ads</a>.</p> </div></div></p></td></tr><tr class="row_35-10 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>event_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a Facebook Event</p> </div></div></p></td></tr><tr class="row_35-11 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>offline_conversion_data_set_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of the offline dataset.</p> </div></div></p></td></tr><tr class="row_35-12 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>fundraiser_campaign_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of the fundraiser campaign.</p> </div></div></p></td></tr><tr class="row_35-13 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>custom_event_str</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div><p>The event from an App Event of a mobile app, not in the standard event list.</p> </div></div></p></td></tr><tr class="row_35-14 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>mcme_conversion_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a MCME conversion.</p> </div></div></p></td></tr><tr class="row_35-15 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>conversion_goal_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a Conversion Goal.</p> </div></div></p></td></tr><tr class="row_35-16 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>offsite_conversion_event_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of a Offsite Conversion Event</p> </div></div></p></td></tr><tr class="row_35-17 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>boosted_product_set_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The ID of the Boosted Product Set within an Ad Set level Product Catalog. Should only be present when the advertiser has opted into Product Set Boosting.</p> </div></div></p></td></tr><tr class="row_35-18 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>lead_ads_form_event_source_type</code></span></div><div class="_yb">enum{inferred, offsite_crm, offsite_web, onsite_crm, onsite_web}</div></td><td><p class="_yd"><div><div><p>The event source of lead ads form.</p> </div></div></p></td></tr><tr class="row_35-19 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>value_semantic_type</code></span></div><div class="_yb">enum {VALUE, MARGIN, LIFETIME_VALUE}</div></td><td><p class="_yd"><div><div><p>The semantic of the event value to be using for optimization</p> </div></div></p></td></tr><tr class="row_35-20 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>variation</code></span></div><div class="_yb">enum {OMNI_CHANNEL_SHOP_AUTOMATIC_DATA_COLLECTION, PRODUCT_SET_AND_APP, PRODUCT_SET_AND_IN_STORE, PRODUCT_SET_AND_OMNICHANNEL, PRODUCT_SET_AND_WEBSITE}</div></td><td><p class="_yd"><div><div><p>Variation of the promoted object for a PCA ad</p> </div></div></p></td></tr><tr class="row_35-21 _5m29 hidden_elem _5m27"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>omnichannel_object</code></span></div><div class="_yb">Object</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_35-21-0 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>app</code></span></div><div class="_yb">array<JSON object></div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_35-21-1 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>pixel</code></span></div><div class="_yb">array<JSON object></div></td><td><p class="_yd"><div><div></div></div></p><div class="_3-8w"><span class="_1vet">必填</span></div></td></tr><tr class="row_35-21-2 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel2"><div class="_yc"><span><code>onsite</code></span></div><div class="_yb">array<JSON object></div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_35-22 _5m29 hidden_elem"><td class="devsiteReferenceTableRowLevel1"><div class="_yc"><span><code>whatsapp_phone_number</code></span></div><div class="_yb">string</div></td><td><p class="_yd"><div><div></div></div></p></td></tr><tr class="row_36"><td><div class="_yc"><span><code>rf_prediction_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>Reach and frequency prediction ID</p> </div></div></p></td></tr><tr class="row_37 _5m29"><td><div class="_yc"><span><code>source_adset_id</code></span></div><div class="_yb">numeric string or integer</div></td><td><p class="_yd"><div><div><p>The source adset id that this ad is copied from (if applicable).</p> </div></div></p></td></tr><tr class="row_38"><td><div class="_yc"><span><code>start_time</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>The start time of the set, e.g. <code>2015-03-12 23:59:59-07:00</code> or <code>2015-03-12 23:59:59 PDT</code>. UTC UNIX timestamp</p> </div></div></p></td></tr><tr class="row_39 _5m29"><td><div class="_yc"><span><code>status</code></span></div><div class="_yb">enum{ACTIVE, PAUSED, DELETED, ARCHIVED}</div></td><td><p class="_yd"><div><div><p>Only <code>ACTIVE</code> and <code>PAUSED</code> are valid for creation. The other statuses can be used for update. If it is set to <code>PAUSED</code>, all its active ads will be paused and have an effective status <code>ADSET_PAUSED</code>.</p> </div></div></p></td></tr><tr class="row_40"><td><div class="_yc"><span><code>targeting</code></span></div><div class="_yb">Targeting object</div></td><td><p class="_yd"><div><div><p>An ad set's targeting structure. "countries" is required. See <a href="/docs/marketing-api/targeting-specs">targeting</a>.</p> </div></div></p></td></tr><tr class="row_41 _5m29"><td><div class="_yc"><span><code>time_based_ad_rotation_id_blocks</code></span></div><div class="_yb">list<list<int64>></div></td><td><p class="_yd"><div><div><p>Specify ad creative that displays at custom date ranges in a campaign as an array. A list of Adgroup IDs. The list of ads to display for each time range in a given schedule. For example display first ad in Adgroup for first date range, second ad for second date range, and so on. You can display more than one ad per date range by providing more than one ad ID per array. For example set <code>time_based_ad_rotation_id_blocks</code> to [[1], [2, 3], [1, 4]]. On the first date range show ad 1, on the second date range show ad 2 and ad 3 and on the last date range show ad 1 and ad 4. Use with <code>time_based_ad_rotation_intervals</code> to specify date ranges.</p> </div></div></p></td></tr><tr class="row_42"><td><div class="_yc"><span><code>time_based_ad_rotation_intervals</code></span></div><div class="_yb">list<int64></div></td><td><p class="_yd"><div><div><p>Date range when specific ad creative displays during a campaign. Provide date ranges in an array of UNIX timestamps where each timestamp represents the start time for each date range. For example a 3-day campaign from May 9 12am to May 11 11:59PM PST can have three date ranges, the first date range starts from May 9 12:00AM to May 9 11:59PM, second date range starts from May 10 12:00AM to May 10 11:59PM and last starts from May 11 12:00AM to May 11 11:59PM. The first timestamp should match the campaign start time. The last timestamp should be at least 1 hour before the campaign end time. You must provide at least two date ranges. All date ranges must cover the whole campaign length, so any date range cannot exceed campaign length. Use with <code>time_based_ad_rotation_id_blocks</code> to specify ad creative for each date range.</p> </div></div></p></td></tr><tr class="row_43 _5m29"><td><div class="_yc"><span><code>time_start</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>Time start</p> </div></div></p></td></tr><tr class="row_44"><td><div class="_yc"><span><code>time_stop</code></span></div><div class="_yb">datetime</div></td><td><p class="_yd"><div><div><p>Time stop</p> </div></div></p></td></tr><tr class="row_45 _5m29"><td><div class="_yc"><span><code>tune_for_category</code></span></div><div class="_yb">enum{NONE, EMPLOYMENT, HOUSING, CREDIT, ISSUES_ELECTIONS_POLITICS, ONLINE_GAMBLING_AND_GAMING, FINANCIAL_PRODUCTS_SERVICES}</div></td><td><p class="_yd"><div><div><p>tune_for_category</p> </div></div></p></td></tr></tbody></tbody></table></div></div><h3>傳回類型</h3><div>此端點支援<a href="/docs/graph-api/advanced/#read-after-write">寫入後讀取</a>功能,並將讀取傳回類型表示為 <code>id</code> 的節點。</div><div class="_367u"> Struct {<div class="_uoj"><code>id</code>: numeric string, </div><div class="_uoj"><code>success</code>: bool, </div>}</div><h3>Error Codes</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>錯誤</th><th>說明</th></tr></thead><tbody><tr><td>100</td><td>Invalid parameter</td></tr><tr><td>200</td><td>Permissions error</td></tr><tr><td>2695</td><td>The ad set creation reached its campaign group(ios14) limit.</td></tr><tr><td>80004</td><td>There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting#ads-management.</td></tr><tr><td>368</td><td>The action attempted has been deemed abusive or is otherwise disallowed</td></tr><tr><td>190</td><td>Invalid OAuth 2.0 Access Token</td></tr><tr><td>900</td><td>No such application exists.</td></tr><tr><td>2641</td><td>Your ad includes or excludes locations that are currently restricted</td></tr></tbody></table></div></div></div></div></div><div class="_4-u2 _57mb _1u44 _2pig _4-u8"><div class="_4-u3 _588p"><h2 id="Updating">更新中</h2><div><h3 id="update-examples">Examples</h3><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_5f_Np">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_5g_qd">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_5h_sb">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_5i_39">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_5j_Iq">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_5k_EQ">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_5l_EO"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_5m_q7"><a tabindex="-1" href="#" role="button" id="u_0_5n_Lt"></a></span></div><code>curl -X POST \ -F 'billing_event="IMPRESSIONS"' \ -F 'optimization_goal="LINK_CLICKS"' \ -F 'bid_amount=200' \ -F 'targeting={ "geo_locations": { "countries": [ "US" ] }, "facebook_positions": [ "feed" ] }' \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/<AD_SET_ID>/</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=%3CAD_SET_ID%3E%2F?&version=v21.0&billing_event=IMPRESSIONS&optimization_goal=LINK_CLICKS&bid_amount=200&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_5o_Vv"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_5p_qp"><a tabindex="-1" href="#" role="button" id="u_0_5q_+1"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdSet = bizSdk.AdSet; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_SET_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ ]; params = { 'billing_event' : 'IMPRESSIONS', 'optimization_goal' : 'LINK_CLICKS', 'bid_amount' : '200', 'targeting' : {'geo_locations':{'countries':['US']},'facebook_positions':['feed']}, }; const sample_code = (new AdSet(id)).update( fields, params ); logApiCallResult('sample_code api call complete.', sample_code);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=%3CAD_SET_ID%3E%2F?&version=v21.0&billing_event=IMPRESSIONS&optimization_goal=LINK_CLICKS&bid_amount=200&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_5r_95"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_5s_Hd"><a tabindex="-1" href="#" role="button" id="u_0_5t_AD"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdSet; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_SET_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( ); $params = array( 'billing_event' => 'IMPRESSIONS', 'optimization_goal' => 'LINK_CLICKS', 'bid_amount' => '200', 'targeting' => array('geo_locations' => array('countries' => array('US')),'facebook_positions' => array('feed')), ); echo json_encode((new AdSet($id))->updateSelf( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=%3CAD_SET_ID%3E%2F?&version=v21.0&billing_event=IMPRESSIONS&optimization_goal=LINK_CLICKS&bid_amount=200&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-php-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdCampaignPostAdsetUpdateCpa.php&h=AT0t7Gk_bALnGOjLzsV3PXXWEEigLIPdH-mMyUA4iHbNw-8IejcK_PNyjGdaNgX_wXHSaczkMVEXMjgJ4wRQdmb31HSg1ve9one2FIbRXsGfsSp45wzsxe2Ctv6whH00KmWPMkn5D4tqwVwZuhAn0lrFsA" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_5u_Bf"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_5v_sG"><a tabindex="-1" href="#" role="button" id="u_0_5w_w9"></a></span></div><code>from facebook_business.adobjects.adset import AdSet from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ ] params = { 'billing_event': 'IMPRESSIONS', 'optimization_goal': 'LINK_CLICKS', 'bid_amount': '200', 'targeting': {'geo_locations':{'countries':['US']},'facebook_positions':['feed']}, } print AdSet(id).update( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=%3CAD_SET_ID%3E%2F?&version=v21.0&billing_event=IMPRESSIONS&optimization_goal=LINK_CLICKS&bid_amount=200&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-python-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdCampaignPostAdsetUpdateCpa.py&h=AT34cezGp0uTJ300qqeSexwxemYLDuBALLqjhyv3-HTCozIe4WLP_M69B9kmpuz87tWmfXEAvgGQ8FCkhLQkcOrGECz3uvHlx3LnXlPYZ2qPszw8omnMtTHOiVZsqF7DX6F1hhtiLQNK4G3MLOZ0CUj3nw" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_5x_Pb"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_5y_MN"><a tabindex="-1" href="#" role="button" id="u_0_5z_wU"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_SET_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdSet(id, context).update() .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS) .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_LINK_CLICKS) .setBidAmount(200L) .setTargeting( new Targeting() .setFieldFacebookPositions(Arrays.asList(\"feed\")) .setFieldGeoLocations( new TargetingGeoLocation() .setFieldCountries(Arrays.asList(\"US\")) ) ) .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=%3CAD_SET_ID%3E%2F?&version=v21.0&billing_event=IMPRESSIONS&optimization_goal=LINK_CLICKS&bid_amount=200&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-java-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdCampaignPostAdsetUpdateCpa.java&h=AT3AE5JifdyQ_Q6G9_0aEpid4i00PP33-uuWpSEdMhvlLpeX3oGUw8tJjQekVAt1Ns3p4DcIT-oicWWaaO4RXnBzUBcNPF6F1NThZ8oa5dF3yVDiWVsYkxdkszeh7RpeAPn4yhaM-lsN--F6nHkot0NI5Q" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_60_Ut"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_61_Iz"><a tabindex="-1" href="#" role="button" id="u_0_62_xY"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_set = FacebookAds::AdSet.get(id) ad_set.billing_event = 'IMPRESSIONS'ad_set.optimization_goal = 'LINK_CLICKS'ad_set.bid_amount = '200'ad_set.targeting = {'geo_locations':{'countries':['US']},'facebook_positions':['feed']} ad_set.save</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=POST&path=%3CAD_SET_ID%3E%2F?&version=v21.0&billing_event=IMPRESSIONS&optimization_goal=LINK_CLICKS&bid_amount=200&targeting=%7B%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%7D%2C%22facebook_positions%22%3A%5B%22feed%22%5D%7D" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div><a class="_arbf" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Ffacebook-ruby-business-sdk%2Ftree%2Fmain%2Fexamples%2FAdCampaignPostAdsetUpdateCpa.rb&h=AT1TdR6EE2OpHgEyrqMWhGwtY1g63aS5H7FkoIN6jwJsAGUJXKkNGKj3S_F5SG3SHPIRkjWoLDNzV3tswLR9UQZZq8yKIY9CEIehcqwMJ4PnqSOGUv0-4quOeAsC6PrFw8bzRhURvpOP6yKu08-ZAmE1MQ" target="_blank" rel="nofollow" data-lynx-mode="hover">View on GitHub</a></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_63_gz"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p><p>To update the <code>end_time</code> of an ad set, using ISO-8601 date-time format</p><p><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_64_I1">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_65_49">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_66_A/">cURL</button></div><div class="_4gnf _4fa6" id="u_0_67_FH"><pre class="prettyprint lang-cpp"><code>use FacebookAds\Object\AdSet; $adset = new AdSet('<AD_SET_ID>'); $adset->end_time = '2013-10-02T00:00:00-0700'; $adset->update();</code></pre><div class="_3-95"></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_68_TB"><pre class="prettyprint lang-py"><code>from facebookads.objects import AdSet adset = AdSet('<AD_SET_ID>') adset[AdSet.Field.end_time] = '2013-10-02T00:00:00-0700' adset.remote_update()</code></pre><div class="_3-95"></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_69_jO"><pre class="prettyprint lang-sh"><code>curl \ -F "end_time=2013-10-02T00:00:00-0700" \ -F "access_token=<ACCESS_TOKEN>" \ "https://graph.facebook.com/<API_VERSION>/<AD_SET_ID>"</code></pre><div class="_3-95"></div></div></div></p><p>To update the status of an ad set to paused</p><p><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_6a_HP">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6b_EL">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6c_F7">cURL</button></div><div class="_4gnf _4fa6" id="u_0_6d_OA"><pre class="prettyprint lang-cpp"><code>use FacebookAds\Object\AdSet; $adset = new AdSet('<AD_SET_ID>'); $adset->campaign_status = AdSet::STATUS_PAUSED; $adset->update();</code></pre><div class="_3-95"></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_6e_O0"><pre class="prettyprint lang-py"><code>from facebookads.objects import AdSet adset = AdSet('<AD_SET_ID>') adset[AdSet.Field.status] = AdSet.Status.paused adset.remote_update()</code></pre><div class="_3-95"></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_6f_6d"><pre class="prettyprint lang-sh"><code>curl \ -F "campaign_status=PAUSED" \ -F "access_token=<ACCESS_TOKEN>" \ "https://graph.facebook.com/<API_VERSION>/<AD_SET_ID>"</code></pre><div class="_3-95"></div></div></div></p><h3>Remarks</h3><p>An archived ad set can only update two fields: <code>name</code> and <code>campaign_status</code>. The <code>campaign_status</code> field can only be changed to <code>DELETED</code>.</p><p>A deleted ad set can only change its <code>name</code>.</p><p>There are two considerations to take into account when adjusting an ad set's budget value or budget type:</p><ul class="uiList _4of _4kg"><li><div class="fcb">When updating a set's lifetime or daily budget to a lower value, the new value must be at least 10% greater than the current amount spent already. For example: if an ad set has a $1000 lifetime budget and has spend $300 so far, the lowest new lifetime budget would be $330.</div></li><li><div class="fcb">Since <code>v2.4</code>, ad sets have a minimum required budget. Any update must take that into consideration. Check the details at the <a href="#create-considerations">Create Considerations</a> section from this page.</div></li></ul><b>Note:</b> When using the Reservation buying type, some fields may not be available to be updated through the API. </div><div class="_844_">你無法在此端點執行此操作。</div></div></div><div class="_4-u2 _57mb _1u44 _2pig _4-u8"><div class="_4-u3 _588p"><h2 id="Deleting">正在刪除</h2><div><h3 id="delete-examples">Examples</h3><p><div><div class="_4gnb"><div class="_51xa"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_6g_nx">cURL</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6h_kZ">Node.js SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6i_x0">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6j_Wy">Python SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6k_f4">Java SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_6l_SS">Ruby SDK</button></div><div class="_4gnf _4fa6" id="u_0_6m_Eh"><pre class="prettyprint lang-sh"><div class="_4nnw"><span id="u_0_6n_c/"><a tabindex="-1" href="#" role="button" id="u_0_6o_PB"></a></span></div><code>curl -X DELETE \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/<AD_SET_ID>/</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F?&version=v21.0&" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_6p_n3"><pre class="prettyprint lang-nodejs"><div class="_4nnw"><span id="u_0_6q_rc"><a tabindex="-1" href="#" role="button" id="u_0_6r_3J"></a></span></div><code>'use strict'; const bizSdk = require('facebook-nodejs-business-sdk'); const AdSet = bizSdk.AdSet; const AbstractObject = bizSdk.AbstractObject; const access_token = '<ACCESS_TOKEN>'; const app_secret = '<APP_SECRET>'; const app_id = '<APP_ID>'; const id = '<AD_SET_ID>'; const api = bizSdk.FacebookAdsApi.init(access_token); const showDebugingInfo = true; // Setting this to true shows more debugging info. if (showDebugingInfo) { api.setDebug(true); } const logApiCallResult = (apiCallName, data) => { console.log(apiCallName); if (showDebugingInfo) { console.log('Data:' + JSON.stringify(data)); } }; let fields, params; fields = [ ]; params = { }; const sample_code = (new AdSet(id)).delete( fields, params ); logApiCallResult('sample_code api call complete.', sample_code);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F?&version=v21.0&" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_6s_lS"><pre class="prettyprint lang-cpp"><div class="_4nnw"><span id="u_0_6t_3o"><a tabindex="-1" href="#" role="button" id="u_0_6u_9w"></a></span></div><code>require __DIR__ . '/vendor/autoload.php'; use FacebookAds\Object\AdSet; use FacebookAds\Object\AbstractObject; use FacebookAds\Api; use FacebookAds\Logger\CurlLogger; $access_token = '<ACCESS_TOKEN>'; $app_secret = '<APP_SECRET>'; $app_id = '<APP_ID>'; $id = '<AD_SET_ID>'; $api = Api::init($app_id, $app_secret, $access_token); $api->setLogger(new CurlLogger()); $fields = array( ); $params = array( ); echo json_encode((new AdSet($id))->deleteSelf( $fields, $params )->exportAllData(), JSON_PRETTY_PRINT);</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F?&version=v21.0&" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_6v_kE"><pre class="prettyprint lang-py"><div class="_4nnw"><span id="u_0_6w_2c"><a tabindex="-1" href="#" role="button" id="u_0_6x_+n"></a></span></div><code>from facebook_business.adobjects.adset import AdSet from facebook_business.adobjects.abstractobject import AbstractObject from facebook_business.api import FacebookAdsApi access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAdsApi.init(access_token=access_token) fields = [ ] params = { } print AdSet(id).delete( fields=fields, params=params, )</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F?&version=v21.0&" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_6y_g8"><pre class="prettyprint lang-java"><div class="_4nnw"><span id="u_0_6z_1I"><a tabindex="-1" href="#" role="button" id="u_0_70_Zt"></a></span></div><code>import com.facebook.ads.sdk.*; import java.io.File; import java.util.Arrays; public class SAMPLE_CODE_EXAMPLE { public static void main (String args[]) throws APIException { String access_token = \"<ACCESS_TOKEN>\"; String app_secret = \"<APP_SECRET>\"; String app_id = \"<APP_ID>\"; String id = \"<AD_SET_ID>\"; APIContext context = new APIContext(access_token).enableDebug(true); new AdSet(id, context).delete() .execute(); } }</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F?&version=v21.0&" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><div class="_4gnf _4fa6 hidden_elem" id="u_0_71_+Q"><pre class="prettyprint lang-ruby"><div class="_4nnw"><span id="u_0_72_3y"><a tabindex="-1" href="#" role="button" id="u_0_73_11"></a></span></div><code>require 'facebook_ads' access_token = '<ACCESS_TOKEN>' app_secret = '<APP_SECRET>' app_id = '<APP_ID>' id = '<AD_SET_ID>' FacebookAds.configure do |config| config.access_token = access_token config.app_secret = app_secret end ad_set = FacebookAds::AdSet.get(id) ad_set.destroy({ })</code></pre><div class="_3-95"><a role="button" class="_42ft _4jy0 _4jy4 _4jy2 selected _51sy" href="https://developers.facebook.com/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F?&version=v21.0&" target="_blank" style="font-family: Arial, sans-serif;">Open In Graph API Explorer</a><div></div></div><div></div></div><form rel="async" class="_3gzd _69pv" action="/x/ajax/sample_feedback/" method="post" id="u_0_74_xk"><input type="hidden" name="jazoest" value="2952" autocomplete="off" /><input type="hidden" name="lsd" value="AVqDFMOPmtY" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/marketing-api/reference/ad-campaign" /><button value="1" class="_42ft _3g_o _3g_s _3g_v" type="submit">提出意見</button><input type="hidden" autocomplete="off" name="prev_step" value="1" /></form></div></div></p></div><div class="_844_"><div class="_3-98">You can delete an <a href="/docs/marketing-api/reference/ad-campaign/">AdSet</a> by making a DELETE request to <a href="/docs/marketing-api/reference/ad-campaign/"><code>/{ad_set_id}</code></a>.<div><h3>例子</h3><div class="_5z09"><div class="_51xa _5gt2 _51xb" id="u_0_75_Ey"><button value="1" class="_42ft _51tl selected _42fs" type="submit" id="u_0_76_8v">HTTP</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_77_Zn">PHP SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_78_Qf">JavaScript SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_79_0x">Android SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_7a_AR">iOS SDK</button><button value="1" class="_42ft _51tl selected" type="submit" id="u_0_7b_EL">cURL</button><a role="button" class="_42ft _51tl selected" href="/tools/explorer/?method=DELETE&path=%3CAD_SET_ID%3E%2F&version=v21.0" target="_blank">Graph API Explorer<i class="_3-99 img sp_c_epTrfICMy sx_7b2121"></i></a></div><div class="_xmu"><pre class="_5gt1 prettyprint" id="u_0_7c_II"><code>DELETE /v21.0/<AD_SET_ID>/ HTTP/1.1 Host: graph.facebook.com</code></pre><pre class="_5gt1 prettyprint" id="u_0_7d_v0"><code>/* PHP SDK v5.0.0 */ /* make the API call */ try { // Returns a `Facebook\FacebookResponse` object $response = $fb->delete( '/<AD_SET_ID>/', array (), '{access-token}' ); } catch(Facebook\Exceptions\FacebookResponseException $e) { echo 'Graph returned an error: ' . $e->getMessage(); exit; } catch(Facebook\Exceptions\FacebookSDKException $e) { echo 'Facebook SDK returned an error: ' . $e->getMessage(); exit; } $graphNode = $response->getGraphNode(); /* handle the result */</code></pre><pre class="_5gt1 prettyprint" id="u_0_7e_iH"><code>/* make the API call */ FB.api( "/<AD_SET_ID>/", "DELETE", function (response) { if (response && !response.error) { /* handle the result */ } } );</code></pre><pre class="_5gt1 prettyprint" id="u_0_7f_vQ"><code>/* make the API call */ new GraphRequest( AccessToken.getCurrentAccessToken(), "/<AD_SET_ID>/", null, HttpMethod.DELETE, new GraphRequest.Callback() { public void onCompleted(GraphResponse response) { /* handle the result */ } } ).executeAsync();</code></pre><pre class="_5gt1 prettyprint" id="u_0_7g_GQ"><code>/* make the API call */ FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] initWithGraphPath:@"/<AD_SET_ID>/" parameters:params HTTPMethod:@"DELETE"]; [request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { // Handle the result }];</code></pre><pre class="_5gt1 prettyprint" id="u_0_7h_Wf"><code>curl -X DELETE -G \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/v21.0/<AD_SET_ID>/</code></pre></div></div>如果想了解如何使用 Graph API,請參閱我們的<a href="/docs/graph-api/using-graph-api/">使用 Graph API 指南</a>。</div><div><h3>參數</h3>這個端點沒有任何參數。</div><h3>傳回類型</h3><div class="_367u"> Struct {<div class="_uoj"><code>success</code>: bool, </div>}</div><h3>Error Codes</h3><div class="_57-c"><table class="_4-ss _5k9x"><thead><tr><th>錯誤</th><th>說明</th></tr></thead><tbody><tr><td>200</td><td>Permissions error</td></tr><tr><td>100</td><td>Invalid parameter</td></tr><tr><td>80004</td><td>There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting#ads-management.</td></tr><tr><td>190</td><td>Invalid OAuth 2.0 Access Token</td></tr></tbody></table></div></div></div></div></div><div class="_4-u2 _57mb _1u44 _3fw6 _4-u8"><div class="_4-u3 _588p"><span><h2 id="odax">Outcome-Driven Ads Experiences</h2> <h3>Example</h3> <p><strong>Outcome-Driven Ads Experiences (Engagement Outcome + <code>ON_PAGE</code> destination_type)</strong></p> <table class="uiGrid _51mz _57v1 _5f0n" cellspacing="0" cellpadding="0"><tbody><tr class="_51mx"><td class="_51m- vTop _57v2 _2cs2"><img class="img" src="https://scontent-hkg1-2.xx.fbcdn.net/v/t39.8562-6/269209928_510023036782474_698735572706583147_n.png?_nc_cat=102&ccb=1-7&_nc_sid=f537c7&_nc_ohc=mdGgl2UrsL4Q7kNvgF1miM1&_nc_zt=14&_nc_ht=scontent-hkg1-2.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYAccCk7Y-V-Xr3rQTz8CfsEQqM3Mij-S24GJ2XGCfcW1w&oe=6747A5A2" width="400px" alt="" /></td><td class="_51m- vTop _57v2 _2cs2 _51mw"><pre class="_5s-8 prettyprint lang-code" style=""> curl -i -X POST \ -d "name=New ODAX Adset" \ -d "autobid=true" \ -d "optimization_goal=PAGE_LIKES" \ -d "destination_type=ON_PAGE" \ -d "billing_event=IMPRESSIONS" \ -d "daily_budget=500" \ -d "targeting={\"geo_locations\": {\"countries\": [\"US\"]}}" \ -d "promoted_object={\"page_id\": PAGE_ID}" \ -d "campaign_id=CAMPAIGN_ID" \ -d "status=PAUSED" \ -d "access_token=ACCESS_TOKEN" \ https://graph.facebook.com/v11.0/ act_AD_ACCOUNT_ID/adsets </pre></td></tr></tbody></table><div style="margin-bottom:40px;"></div><p><strong>Legacy</strong></p> <table class="uiGrid _51mz _57v1 _5f0n" cellspacing="0" cellpadding="0"><tbody><tr class="_51mx"><td class="_51m- vTop _57v2 _2cs2"><img class="img" src="https://scontent-hkg1-1.xx.fbcdn.net/v/t39.8562-6/268993323_423919385898287_3038138189117978502_n.png?_nc_cat=109&ccb=1-7&_nc_sid=f537c7&_nc_ohc=GfHye0OvkHcQ7kNvgFeEF8R&_nc_zt=14&_nc_ht=scontent-hkg1-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYBwlwxHdfyl4M44p6BOL1FnJsIaOBR1VQ5j2aAm_YBGwA&oe=6747894A" width="400px" alt="" /></td><td class="_51m- vTop _57v2 _2cs2 _51mw"><pre class="_5s-8 prettyprint lang-code" style=""> curl -i -X POST \ -d "name=New ODAX Adset" \ -d "autobid=true" \ -d "optimization_goal=PAGE_LIKES" \ -d "billing_event=IMPRESSIONS" \ -d "daily_budget=500" \ -d "targeting={\"geo_locations\": {\"countries\": [\"US\"]}}" \ -d "promoted_object={\"page_id\": PAGE_ID}" \ -d "campaign_id=CAMPAIGN_ID" \ -d "status=PAUSED" \ -d "access_token=ACCESS_TOKEN" \ https://graph.facebook.com/v11.0/ act_AD_ACCOUNT_ID/adsets </pre></td></tr></tbody></table><h3>Restrictions</h3> <p>There will be new restrictions on Outcome-Driven Ads Experiences (ODAX) campaigns as outlined in the table below. Refer to the <a href="/docs/marketing-api/reference/ad-campaign-group#odax-mapping">Outcome-Driven Ads Experiences mapping table</a> to find the new objectives and their corresponding destination types, optimization goals and promoted objects.</p> <div class="_57-c"><table class="_4-ss _5k9x"><thead><th>ODAX Objectives</th><th>Conversion Location (L2)</th><th>Conversion Events (L2)</th><th>Optimization Goals (L2)</th><th>Legacy Objectives</th></thead><tbody class="_5m37" id="u_0_7i_xe"><tr class="row_0"><td><p><strong>Awareness</strong><br /> <em>Reach the largest number of people who are likely to remember your ad.</em></p> </td><td><p>N/A</p> </td><td><p>N/A</p> </td><td><p>Ad Recall Lift, Reach, Impressions</p> <br /><p>API enum {<code>AD_RECALL_LIFT</code>, <code>REACH</code>, <code>IMPRESSIONS</code>}</p> </td><td><p>Reach, Brand Awareness</p> </td></tr><tr class="row_1 _5m29"><td><p><strong>Traffic</strong><br /> <em>Send people to a destination like your website, app or Shop.</em></p> </td><td><p>Facebook Shops (closed beta)</p> </td><td><p>N/A</p> </td><td><p>Link Clicks</p> <br /><p>API enum {<code>LINK_CLICKS</code>}</p> </td><td><p>Traffic</p> </td></tr><tr class="row_2"><td></td><td><p>Website</p> </td><td><p>N/A</p> </td><td><p>Landing Page Views, Link Clicks, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>LANDING_PAGE_VIEWS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Traffic</p> </td></tr><tr class="row_3 _5m29"><td></td><td><p>App</p> </td><td><p>N/A</p> </td><td><p>Link Clicks, Daily Unique Reach</p> <br /><p>API enum {<code>LINK_CLICKS</code>, <code>REACH</code>}</p> </td><td><p>Traffic</p> </td></tr><tr class="row_4"><td></td><td><p>Messenger</p> </td><td><p>N/A</p> </td><td><p>Link Clicks, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Traffic</p> </td></tr><tr class="row_5 _5m29"><td></td><td><p>WhatsApp</p> </td><td><p>N/A</p> </td><td><p>Link Clicks, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Traffic</p> </td></tr><tr class="row_6"><td><p><strong>Engagement</strong><br /> <em>Find people likely to interact with your business online, and take actions like starting a conversation or commenting on posts.</em></p> </td><td><p>On Video</p> </td><td><p>N/A</p> </td><td><p>ThruPlay, 2 second continuous view</p> <br /><p>API enum {<code>THRUPLAY</code>, <code>TWO_SECOND_CONTINUOUS_VIDEO_VIEWS</code>}</p> </td><td><p>Video Views</p> </td></tr><tr class="row_7 _5m29"><td></td><td><p>On Post</p> </td><td><p>N/A</p> </td><td><p>Post Engagement, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>POST_ENGAGEMENT</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Post Engagement</p> </td></tr><tr class="row_8"><td></td><td><p>On Event</p> </td><td><p>N/A</p> </td><td><p>Event Response, Impressions, Post Engagement, Daily Unique Reach</p> <br /><p>API enum {<code>EVENT_RESPONSES</code>, <code>IMPRESSIONS</code>, <code>POST_ENGAGEMENT</code>, <code>REACH</code>}</p> </td><td><p>Event Responses</p> </td></tr><tr class="row_9 _5m29"><td></td><td><p>Messenger</p> </td><td><p>N/A</p> </td><td><p>Conversations, Link Clicks</p> <br /><p>API enum {<code>CONVERSATIONS</code>, <code>LINK_CLICKS</code>}</p> </td><td><p>Messages</p> </td></tr><tr class="row_10"><td></td><td><p>WhatsApp</p> </td><td><p>N/A</p> </td><td><p>Conversations, Link Clicks</p> <br /><p>API enum {<code>CONVERSATIONS</code>, <code>LINK_CLICKS</code>}</p> </td><td><p>Messages</p> </td></tr><tr class="row_11 _5m29"><td></td><td><p>Instagram</p> </td><td><p>N/A</p> </td><td><p>Conversations, Link Clicks</p> <br /><p>API enum {<code>CONVERSATIONS</code>, <code>LINK_CLICKS</code>}</p> </td><td><p>Messages</p> </td></tr><tr class="row_12"><td></td><td><p>Website</p> </td><td><p>AddToWishlist, Contact, CustomizeProduct, Donate, FindLocation,, Schedule, Search, StartTrial, SubmitApplication, Subscribe, ViewContent</p> </td><td><p>Conversions, Landing Page Views, Link Clicks, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>, <code>ONSITE_CONVERSIONS</code>, <code>LANDING_PAGE_VIEWS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_13 _5m29"><td></td><td><p>App</p> </td><td><p>Achieve Level, Activate App, Add to Wishlist, Complete Tutorial, Contact, Customize Product, Donate, Find Location, In-App Ad Click, In-App Ad Impression, Rate, Schedule, Search, Spent Credits, Start Trial, Submit Application, Subscribe, Unlock Achievement, View Content</p> </td><td><p>App Events, Link Clicks, Daily Unique Reach</p> <br /><p>API enum {<code>APP_INSTALLS_AND_OFFSITE_CONVERSIONS</code>, <code>LINK_CLICKS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_14"><td></td><td><p>On Page</p> </td><td><p>N/A</p> </td><td><p>Page Likes</p> <br /><p>API enum {<code>PAGE_LIKES</code>}</p> </td><td><p>Engagement</p> </td></tr><tr class="row_15 _5m29"><td><p><strong>Leads</strong><br /> <em>Find people interested in your business who are likely to share their contact information.</em></p> </td><td><p>Website</p> </td><td><p>Lead, CompleteRegistration, Contact, FindLocation, Schedule, StartTrial, SubmitApplication, Subscribe</p> </td><td><p>Conversions, Landing Page Views, Link Clicks, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>, <code>ONSITE_CONVERSIONS</code>, <code>LANDING_PAGE_VIEWS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_16"><td></td><td><p>Instant Forms</p> </td><td><p>N/A</p> </td><td><p>Leads</p> <br /><p>API enum {<code>LEAD_GENERATION</code>, <code>QUALITY_LEAD</code>}</p> </td><td><p>Lead Generation</p> </td></tr><tr class="row_17 _5m29"><td></td><td><p>Messenger</p> </td><td><p>N/A</p> </td><td><p>Leads</p> <br /><p>API enum {<code>LEAD_GENERATION</code>, <code>QUALITY_LEAD</code>}</p> </td><td><p>Messages</p> </td></tr><tr class="row_18"><td></td><td><p>Calls</p> </td><td><p>N/A</p> </td><td><p>Calls</p> <br /><p>API enum {<code>QUALITY_CALL</code>}</p> </td><td><p>Lead Generation</p> </td></tr><tr class="row_19 _5m29"><td></td><td><p>App</p> </td><td><p>Complete Registration, Complete Tutorial, Contact, Find Location, Schedule, Start Trial, Submit Application, Subscribe</p> </td><td><p>App Events, Link Clicks, Daily Unique Reach</p> <br /><p>API enum {<code>APP_INSTALLS_AND_OFFSITE_CONVERSIONS</code>, <code>LINK_CLICKS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_20"><td><p><strong>App Promotion</strong><br /> <em>Find people likely to install your app.</em></p> </td><td><p>N/A</p> </td><td><p>All app events, including all custom events</p> </td><td><p>Non-AAA: Link Clicks, App Installs, App Events, Value</p> <br /><p>API enum {<code>LINK_CLICKS</code>, <code>APP_INSTALLS</code>, <code>APP_INSTALLS_AND_OFFSITE_CONVERSIONS</code>, <code>VALUE</code>}</p> <br /><p>AAA: App Installs, App Installs w/ App Events, App Events, Value</p> <br /><p>API enum {<code>APP_INSTALLS</code>, <code>APP_INSTALLS_AND_OFFSITE_CONVERSIONS</code>, <code>VALUE</code>}</p> </td><td><p>App Installs</p> </td></tr><tr class="row_21 _5m29"><td><p><strong>Sales</strong><br /> <em>Find people likely to make purchases or take other important actions online or in store.</em></p> </td><td><p>Website & Facebook Shops (closed beta)</p> </td><td><p>Purchase, InitiateCheckout, AddPaymentInfo, AddToCart, CompleteRegistration, Donate, StartTrial, Subscribe, ViewContent</p> </td><td><p>(source of truth: same as today's Conversions objective + web and shop)</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>, <code>VALUE</code>, <code>LINK_CLICKS</code>, <code>LANDING_PAGE_VIEWS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_22"><td></td><td><p>Website</p> </td><td><p>Purchase, InitiateCheckout, AddPaymentInfo, AddToCart, CompleteRegistration, Donate, StartTrial, Subscribe, ViewContent</p> </td><td><p>Conversions, Value, Landing Page Views, Link Clicks, Impressions, Daily Unique Reach</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>, <code>VALUE</code>, <code>LANDING_PAGE_VIEWS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_23 _5m29"><td></td><td><p>App</p> </td><td><p>Purchase, Initiate Checkout, Add Payment Info, Add to Cart, Complete Registration, Donate, In-App Ad Click, In-App Ad Impression, Spent Credits, Start Trial, Subscribe, View Content</p> </td><td><p>App Events, Link Clicks, Daily Unique Reach</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>, <code>LINK_CLICKS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_24"><td></td><td><p>Website & App</p> </td><td><p>Purchase, InitiateCheckout, AddPaymentInfo, AddToCart, CompleteRegistration, Donate, StartTrial, Subscribe, ViewContent</p> </td><td><p>Conversions</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_25 _5m29"><td></td><td><p>Messenger</p> </td><td><p>Purchase, InitiateCheckout, AddPaymentInfo, AddToCart, CompleteRegistration, Donate, StartTrial, Subscribe, ViewContent</p> </td><td><p>Conversations, Conversions, Link Clicks, Impressions, Reach</p> <br /><p>API enum {<code>CONVERSATIONS</code>, <code>OFFSITE_CONVERSIONS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr><tr class="row_26"><td></td><td><p>WhatsApp</p> </td><td><p>Purchase, InitiateCheckout, AddPaymentInfo, AddToCart, CompleteRegistration, Donate, StartTrial, Subscribe, ViewContent</p> </td><td><p>Conversions, Link Clicks, Impressions, Reach</p> <br /><p>API enum {<code>OFFSITE_CONVERSIONS</code>, <code>LINK_CLICKS</code>, <code>IMPRESSIONS</code>, <code>REACH</code>}</p> </td><td><p>Conversions</p> </td></tr></tbody></table></div></span></div></div></div><script nonce="JNgoVrRB"> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '675141479195042'); fbq('track', "PageView");fbq('track', "PageView");</script><noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=675141479195042&ev=PageView&noscript=1" /></noscript><script nonce="JNgoVrRB"> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '574561515946252'); fbq('track', "PageView");fbq('track', "PageView");</script><noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=574561515946252&ev=PageView&noscript=1" /></noscript><script nonce="JNgoVrRB"> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '1754628768090156'); fbq('track', "PageView");fbq('track', "PageView");</script><noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1754628768090156&ev=PageView&noscript=1" /></noscript><script nonce="JNgoVrRB"> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '217404712025032'); fbq('track', "PageView");fbq('track', "PageView");</script><noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=217404712025032&ev=PageView&noscript=1" /></noscript></div></div></div></div><div class="_1jbo _4ar1 _5zld"><div id="u_0_7o_X2"></div></div></div></div></div></div><div class="_6e3w" id="devsite_footer" data-referrer="devsite_footer" data-click-area="Footer"></div></div></div> <script nonce="JNgoVrRB">requireLazy(["HasteSupportData"],function(m){m.handle({"clpData":{"1814852":{"r":1}},"gkxData":{"1393":{"result":false,"hash":null},"3485":{"result":false,"hash":null},"5918":{"result":false,"hash":null},"5971":{"result":false,"hash":null},"7686":{"result":false,"hash":null},"7687":{"result":false,"hash":null},"21050":{"result":false,"hash":null},"21075":{"result":false,"hash":null},"21076":{"result":true,"hash":null},"23433":{"result":false,"hash":null},"21106":{"result":false,"hash":null},"21107":{"result":false,"hash":null},"25981":{"result":false,"hash":null},"25983":{"result":false,"hash":null},"4341":{"result":false,"hash":null},"6323":{"result":false,"hash":null},"8523":{"result":false,"hash":null},"9861":{"result":false,"hash":null},"21062":{"result":false,"hash":null},"21063":{"result":false,"hash":null},"21069":{"result":false,"hash":null},"21071":{"result":false,"hash":null},"21072":{"result":false,"hash":null},"33056":{"result":false,"hash":null},"20836":{"result":false,"hash":null},"21034":{"result":false,"hash":null}},"ixData":{"114092":{"sprited":1,"spriteCssClass":"sx_776661","spriteMapCssClass":"sp_qYxQr-I7nvj"},"114104":{"sprited":1,"spriteCssClass":"sx_fc43b8","spriteMapCssClass":"sp_qYxQr-I7nvj"},"88889":{"sprited":1,"spriteCssClass":"sx_248b6a","spriteMapCssClass":"sp_qYxQr-I7nvj"}},"qexData":{"362":{"r":null},"1028":{"r":null},"104":{"r":null},"128":{"r":null},"344":{"r":null},"388":{"r":null},"526":{"r":null},"538":{"r":null},"543":{"r":null}},"justknobxData":{"1806":{"r":true},"2819":{"r":true},"2233":{"r":true}}})});requireLazy(["Bootloader"],function(m){m.handlePayload({"consistency":{"rev":1018446937},"rsrcMap":{"gFJOVw5":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yU\/r\/-ZIQ9JfQbY3.js"},"kKG6kJf":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iE9K4\/yx\/l\/zh_HK\/FEypPqGLq61.js"},"6S5PHbO":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yt\/r\/-lxKZq1gGKZ.js"},"3F26mTM":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yJ\/r\/wz0JcfI-dvE.js"},"CSl+Sxi":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yy\/r\/IyFMI-P5QGQ.js"},"YYk9ug4":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iZ_K4\/yP\/l\/zh_HK\/1YD3hgaYyJS.js"},"p+yOQlM":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yb\/r\/VwCukQNB7d9.js"},"UNiU4sO":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yr\/r\/t7dP7kF8oWt.js"},"dauMeUz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yr\/r\/QmpnpUDX9En.js"},"pXMubjf":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yG\/r\/3zIKSaXRrrC.js"},"2mlzVIM":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yt\/l\/1,cross\/yzJiK49SlVK.css"},"qdOQPKI":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yX\/r\/4hAJwaOkxTl.js"},"mEf6elL":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iep_4\/yQ\/l\/zh_HK\/VYMGdXF0CeR.js"},"ehJaT9r":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yV\/r\/hhUemOEFR4T.js"},"mpUdCt2":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yW\/r\/UgHLVrKlKsA.js"},"FHXlBA8":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yP\/r\/kBpdIFCj1uG.js"},"xvIpiB7":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3ivjS4\/yB\/l\/zh_HK\/qKg57jne4iN.js"},"59saWL\/":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3irXu4\/yN\/l\/zh_HK\/XukVY2LGUMf.js"},"c4gwPi1":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3ikta4\/yf\/l\/zh_HK\/MqqccQjCnIT.js"},"PY04\/Rs":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yH\/r\/vdNE1FOJgk5.js"},"OMTW5NH":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iiZS4\/yu\/l\/zh_HK\/qZYLM5S0JDv.js"},"2J1Ud6o":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yg\/r\/jsjALenw-St.js"},"X0PkNH5":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yv\/r\/cebZuP5Av5f.js"},"ahStaA7":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iIZ14\/yL\/l\/zh_HK\/dgVZ9ovlvLe.js"},"o8suG0j":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iUY_4\/yc\/l\/zh_HK\/n2WGf4RpHHw.js"},"20549oV":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iTfb4\/yn\/l\/zh_HK\/9VBsuWi-aoI.js"},"NqAnvSR":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yU\/r\/RMsbBfiz7__.js"},"my2i43D":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y0\/r\/1b1GKVpdLl8.js"},"4W8+IkX":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yH\/r\/I4lr9o0v3wN.js"},"8ELCBwH":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/VRzSVH5iU-V.js"},"lkpgHYw":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3i37O4\/y4\/l\/zh_HK\/D1IIfnvUcQK.js"},"tfWZEZK":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iISX4\/yK\/l\/zh_HK\/RxmBI-5Tvj3.js"},"SWx3yNv":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y7\/r\/g__eV5OXSXl.js"},"x22Oby4":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yZ\/r\/tVshp1OIV9l.js"},"dlMdW7h":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yv\/r\/qvzskUrYlYC.js"},"JKVm94S":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yw\/r\/FeCjB4bGR3O.js"},"vdNQr9P":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yj\/r\/FiVT6nDibIJ.js"},"UWlPw6D":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yy\/r\/YJHbLAZ6dgP.js"},"QyoftxH":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yL\/r\/j-_AFWnS2kv.js"},"17Grp2h":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y-\/r\/HhbMrxvaW_H.js"},"H\/5lfuF":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yF\/r\/iqrvM8jAXX7.js"},"9NiATAn":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yv\/r\/yRuFCzueB7p.js"},"lYMIqwV":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yF\/r\/Cekb95ZEenT.js"},"rlbiS2R":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yZ\/r\/MT8zVb7FCG1.js"},"+2mYsBo":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yd\/r\/ACVCSlW0ASp.js"},"49g5Itw":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3i_kO4\/yg\/l\/zh_HK\/gO1TuKDm5Bu.js"},"MA7wtBb":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yS\/r\/lhPdogB16ty.js"},"Hfm1+jG":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3ieDn4\/y8\/l\/zh_HK\/NVSxtmglt8V.js"},"QAsH79l":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yz\/r\/1J6FEY8ymk9.js"},"gFHG893":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yR\/r\/6Lyev4ObUOW.js"},"9MRlazS":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yn\/r\/4Ml_EtZ4xjm.js"},"CWRqQIh":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yP\/r\/CpHHGjpbQe8.js"},"Cny5iJ6":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3ilKj4\/yu\/l\/zh_HK\/99T42Dqhmjj.js"},"Kw\/fkQQ":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yC\/r\/1KBPmJG8ogE.js"},"JpZhukL":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yR\/r\/6sZ06T3x_CX.js"},"oCG\/RG1":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yF\/l\/1,cross\/j2yg7suD9zt.css"},"0xZW\/QI":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/aq7OssUe1Xz.js"},"hm7LH2C":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yZ\/r\/D-xA6UdYheu.js"},"aSbaNKt":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yc\/l\/1,cross\/2q1vKK67uU0.css"},"M8Xp01T":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y-\/r\/kQV1nBAlQX2.js"},"s6f7kQQ":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yp\/r\/O4hV5R-_3aY.js"},"j8vinei":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y6\/r\/4mrA60sb1MG.js"},"yPN8Cty":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yB\/l\/1,cross\/krc2iuLxc6s.css"},"GS4bGVX":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yZ\/l\/1,cross\/Hf6Oq-X-avZ.css"},"8q2zxdD":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yX\/l\/1,cross\/hUYL7QCf1aG.css"},"mDomTSa":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yq\/l\/1,cross\/HrRDLgWA2yx.css"},"8LpAtc0":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yy\/l\/1,cross\/3vjxZqNKT6t.css"},"NUcs7zk":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/wEq4TAZ1Z7P.js"},"33PLZ+s":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3i_wy4\/yv\/l\/zh_HK\/jLM5wD2wOcN.js"},"zVTqSl6":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/ytmG00L_PQ4.js"},"F6PVcEC":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3ig5y4\/yu\/l\/zh_HK\/m_zuRKcA465.js"},"p8qZx2r":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yk\/r\/HHIBxhlHLL_.js"},"BeOwzfl":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yQ\/r\/p4Toz7dSreG.js"},"8JvBQNZ":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/4FGNfLO9FAz.js"},"oPTgYNC":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yT\/r\/3BeEi2lwhs1.js"},"GeBTIYU":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yS\/r\/dat1Sh53Bzr.js"},"iXU77vs":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yD\/r\/Ocw4YGGa0Mq.js"},"8pnRkHq":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yp\/r\/8Fq6COPYExO.js"},"AVXVDT5":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yE\/r\/qvxDYOm07gO.js"},"LAVM282":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iJtM4\/yy\/l\/zh_HK\/YrUiPPFluf9.js"},"Z\/AMsTf":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3igZT4\/yH\/l\/zh_HK\/Tnj76f0Vzzc.js"},"bbB7RAc":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iFvO4\/yC\/l\/zh_HK\/1kCg5_CEnA9.js"},"\/g73V0k":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yF\/r\/eu31i6kUQCb.js"},"m\/iHLvb":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yV\/r\/12Um4AHcCe9.js"},"ZSxb2YX":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y2\/r\/XfUS6yFtzfv.js"},"YNx1BTX":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yM\/r\/yjO4j23O-sY.js"},"8+\/m\/R9":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yF\/r\/dxMWJE0LDP9.js"},"STfNYsg":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y2\/r\/NOl3nSdj5Uh.js"},"b+4kH42":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yw\/r\/cg3phlyJ-1B.js"},"HrSvOcT":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y4\/r\/21-3aT7RQ8b.js"},"aIstZuG":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ys\/r\/DtBghjPmOaN.js"},"HWOHH5p":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yZ\/r\/7uJskYFt84f.js"},"3hKBmDr":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/2dFpaU2VoIX.js"},"ommkOL8":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iL724\/yb\/l\/zh_HK\/zv8EtsXNpxO.js"},"epaoL7R":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yF\/r\/nZofRx9C5r7.js"},"APVs98A":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yN\/r\/v5aLM8D4nLe.js"},"xlMpWQZ":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yW\/r\/m81HXiJulf5.js"},"+WGv7RM":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yF\/r\/9p5urAiaAzX.js"},"t46GVsr":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ya\/r\/3QX3yaFWkhM.js"},"Ayd2Csx":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yu\/l\/1,cross\/72VMoP7VwNX.css"},"9zce+oe":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yj\/r\/iDciH7m_jEM.js"},"asppkhA":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yu\/r\/KQ8y8xsCyye.js"},"jjYsTQO":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yv\/r\/_zDcq1Cbl81.js"},"UqUvMpW":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y2\/r\/cqy5sWYK2yi.js"},"Nx3aG7o":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yP\/r\/CBuiJ_0o6vC.js"},"meXqvUG":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yu\/r\/BQWILtvS5fB.js"},"VwF\/u7c":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iomE4\/yw\/l\/zh_HK\/8s90AR2dPhH.js"},"CyNqpgQ":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iRSh4\/yC\/l\/zh_HK\/TeN8NZqM4Gi.js"},"Gbf1TUE":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yU\/r\/irCGtkIPaVi.js"},"lTO89wT":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yv\/l\/1,cross\/sb_YKErtOpF.css"},"dUh4UaO":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yX\/r\/clVN_GA26pU.js"},"N93dyfD":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yf\/r\/wgkk3U5O94T.js"},"gLpHGW2":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yU\/l\/1,cross\/GCWBEXttOsS.css"},"txstYBE":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yp\/r\/FKhruwJdVnA.js"},"4gKni9p":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yK\/l\/1,cross\/L_KYXYTk9cF.css"},"cIwjOS0":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yI\/r\/ULHBWFxbdQ0.js"},"hRnYGn1":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yj\/r\/_DYXVxhJSqY.js"},"jWuQPCW":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/kgwMEpRvvqk.js"},"VfuLkfj":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yX\/r\/zZHIBNAJKnh.js"},"XV0Z0ix":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IP50YqMMQW7.js"},"Cqzu\/ty":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yu\/r\/QcPOxvKPtDI.js"},"NQcY4GA":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yZ\/r\/Qxe0d1B1aBm.js"},"CvndCfq":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yW\/r\/rBvx5OxA8Dg.js"},"r92wvYV":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yl\/r\/deC1d5viPp9.js"},"uKw0LU7":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yN\/r\/1Ar1tA1c3aY.js"},"xmz7Lk6":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yQ\/l\/1,cross\/V6F4nugzSXw.css"},"UcjljO7":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yY\/l\/1,cross\/qOe_Rlab9NU.css"},"a2j96E0":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iATC4\/y4\/l\/zh_HK\/PKsDEBFE42Y.js"},"X4+I4b2":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/y9\/l\/1,cross\/2ibtJuPii7W.css"},"B73AcWy":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iQZb4\/y8\/l\/zh_HK\/AefFDz0kiSN.js"},"v6HipfT":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3irBR4\/yy\/l\/zh_HK\/WuTu-Sm0Qxa.js"},"ZDRyKL3":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3ih6Q4\/yA\/l\/zh_HK\/AZOO286OJ7K.js"},"UO8AC2i":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yX\/r\/CLmuNXy8wBQ.js"},"NokMqjr":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yT\/l\/1,cross\/Ih9Xc0oDX-T.css"},"Yelqfuz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y-\/r\/ZrDO1OS3CNE.js"},"+HR4\/Sd":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3i3td4\/yA\/l\/zh_HK\/trh8SAjPeqy.js"},"pEr0EzI":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yl\/r\/KSGszxmWorx.js"},"VDymvVI":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yN\/l\/1,cross\/rCmzjyFsGXo.css"},"8vKBOmk":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/y_\/l\/1,cross\/sEFJGM1VrCg.css"},"\/j+rPH4":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iKoH4\/yn\/l\/zh_HK\/4ovgAcF20fy.js"},"G2iy9Ox":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y3\/r\/NHTmQ4aEe1Y.js"},"HLSPxCz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iFvO4\/yf\/l\/zh_HK\/rVturqt6UP0.js"},"I\/49bAj":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yC\/l\/1,cross\/KnQUNVpolwE.css"},"b\/rYFtF":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yB\/r\/hGd1ihAEoHH.js"},"7koW4+B":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yj\/r\/T8EUGZnnQTh.js"},"KKBnWKk":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yf\/r\/2Gj6Rqt407L.js"},"ZY1oM2Q":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yH\/r\/zBIKYjdRgko.js"},"b9sATVO":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yt\/r\/oXAkgPAYF7S.js"},"zd+nE+p":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3in3C4\/yu\/l\/zh_HK\/jNLRlT3JMAY.js"},"3QBOKTC":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yH\/r\/AL5LllrA1f0.js"},"yMgn4BF":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yA\/r\/-u-KeKSHGqH.js"},"sS0S1Ne":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3i8a94\/yk\/l\/zh_HK\/zWi4WBcWXIR.js"},"l1rPuW6":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yw\/l\/1,cross\/CuNgeKGGQ1V.css"},"M9rh1r7":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3igDb4\/yz\/l\/zh_HK\/4qd4GlpgMjE.js"},"VB4zTC3":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yy\/r\/ozTlFblbI9G.js"},"jWGxw5p":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yx\/l\/1,cross\/wLyetxRrLmg.css"},"TR5qTig":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/y2\/l\/1,cross\/8P_ITPyy8GF.css"},"J62RfGM":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yi\/r\/k8SoSxKynWH.js"},"88+gRST":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yC\/r\/DFlQoGK9R4V.js"},"HBK9MF6":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3i2n84\/yP\/l\/zh_HK\/ceXjEqL77H9.js"},"xsFg75a":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yt\/r\/mnLc1TS2Wp-.js"},"zif2SIi":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yw\/r\/NlrzKm4FwQI.js"},"s5Ferw3":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yO\/r\/C0UnNvum52t.js"},"JOUMnNC":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yV\/r\/HzxD9aAXSyD.js"},"rCasuzG":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yA\/r\/OzWmCcYw0wO.js"},"FsBVuQ6":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y4\/r\/kJrAedvxuNH.js"},"0Qz\/xq6":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yB\/r\/AfRcB3-N6lg.js"},"oqeG6JD":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/jWxjSYrwmHN.js"},"FvQWTxN":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iXf04\/yc\/l\/zh_HK\/dQaRan_UoOD.js"},"wJ7W6Yv":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yZ\/r\/UkrHcNK9s2n.js"},"5JODOIC":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yl\/r\/r5_PhZt9eSv.js"},"vCxI9D4":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/GcgopRl4mBW.js"}},"compMap":{"Dialog":{"r":["gFJOVw5","kKG6kJf","6S5PHbO","3F26mTM","CSl+Sxi","0n8jUCL","YYk9ug4","p+yOQlM","UNiU4sO","dauMeUz","pXMubjf","2mlzVIM","qdOQPKI","mEf6elL","iHCiaFe","ehJaT9r","mpUdCt2","FHXlBA8"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent","Animation","PageTransitions"]},"be":1},"ExceptionDialog":{"r":["CSl+Sxi","xvIpiB7","qdOQPKI","YYk9ug4","kKG6kJf","p+yOQlM","UNiU4sO","pXMubjf","gFJOVw5","iHCiaFe","0n8jUCL","ehJaT9r","mpUdCt2","WQUjqJD","6S5PHbO","59saWL\/","c4gwPi1","4WMghNp","PY04\/Rs","OMTW5NH","2J1Ud6o","X0PkNH5","bfZmrY8","38MIlcl","ahStaA7","o8suG0j","agX1D\/g","pfGV80\/","20549oV","NqAnvSR","FHXlBA8","my2i43D","4W8+IkX"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"QuickSandSolver":{"r":["kKG6kJf","CSl+Sxi","gFJOVw5","dauMeUz","8ELCBwH","lkpgHYw","tfWZEZK","SWx3yNv","x22Oby4","iHCiaFe","0n8jUCL"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"ConfirmationDialog":{"r":["dlMdW7h","JKVm94S","CSl+Sxi","kKG6kJf","gFJOVw5","dauMeUz","vdNQr9P","iHCiaFe"],"be":1},"MWADeveloperReauthBarrier":{"r":["UWlPw6D","kKG6kJf","QyoftxH","17Grp2h","H\/5lfuF"],"be":1},"WebSpeedInteractionsTypedLogger":{"r":["CSl+Sxi","gFJOVw5","9NiATAn","4W8+IkX","kKG6kJf"],"be":1},"AsyncRequest":{"r":["kKG6kJf","CSl+Sxi","iHCiaFe","0n8jUCL"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"DOM":{"r":["CSl+Sxi","kKG6kJf","iHCiaFe"],"be":1},"Form":{"r":["CSl+Sxi","kKG6kJf","gFJOVw5","dauMeUz","iHCiaFe"],"be":1},"FormSubmit":{"r":["kKG6kJf","CSl+Sxi","gFJOVw5","dauMeUz","lYMIqwV","iHCiaFe","0n8jUCL"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"Input":{"r":["gFJOVw5"],"be":1},"Toggler":{"r":["kKG6kJf","p+yOQlM","UNiU4sO","CSl+Sxi","0n8jUCL","gFJOVw5","YYk9ug4","xvIpiB7","iHCiaFe"],"be":1},"Tooltip":{"r":["kKG6kJf","CSl+Sxi","p+yOQlM","qdOQPKI","UNiU4sO","pXMubjf","gFJOVw5","iHCiaFe","0n8jUCL","ehJaT9r","mpUdCt2","pfGV80\/","o8suG0j","NqAnvSR","FHXlBA8","dauMeUz","4W8+IkX"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent","PageTransitions","Animation"],"r":["3F26mTM","YYk9ug4","6S5PHbO"]},"be":1},"URI":{"r":[],"be":1},"trackReferrer":{"r":[],"be":1},"PhotoTagApproval":{"r":["CSl+Sxi","kKG6kJf","rlbiS2R","+2mYsBo","iHCiaFe"],"be":1},"PhotoSnowlift":{"r":["kKG6kJf","CSl+Sxi","gFJOVw5","49g5Itw","6S5PHbO","3F26mTM","0n8jUCL","YYk9ug4","p+yOQlM","UNiU4sO","dauMeUz","pXMubjf","2mlzVIM","qdOQPKI","mEf6elL","MA7wtBb","Hfm1+jG","38MIlcl","QAsH79l","gFHG893","9MRlazS","CWRqQIh","Cny5iJ6","iHCiaFe","ehJaT9r","mpUdCt2","xvIpiB7","WQUjqJD","Kw\/fkQQ","bfZmrY8","o8suG0j","PY04\/Rs","OMTW5NH","4WMghNp","2J1Ud6o","pfGV80\/","59saWL\/","X0PkNH5","agX1D\/g","JpZhukL","oCG\/RG1","0xZW\/QI","hm7LH2C","aSbaNKt","M8Xp01T","s6f7kQQ","j8vinei","yPN8Cty","GS4bGVX","8q2zxdD","mDomTSa","8LpAtc0","NUcs7zk","33PLZ+s","zVTqSl6","F6PVcEC","p8qZx2r","BeOwzfl","8JvBQNZ","oPTgYNC","GeBTIYU","iXU77vs","8pnRkHq","AVXVDT5","LAVM282","Z\/AMsTf","bbB7RAc","\/g73V0k","m\/iHLvb","ZSxb2YX","YNx1BTX","8+\/m\/R9","STfNYsg","b+4kH42","HrSvOcT","aIstZuG","HWOHH5p","3hKBmDr","ommkOL8","epaoL7R","APVs98A","xlMpWQZ","+WGv7RM","t46GVsr","Ayd2Csx","9zce+oe","asppkhA","jjYsTQO","UqUvMpW","Nx3aG7o","meXqvUG","VwF\/u7c","CyNqpgQ","Gbf1TUE","lTO89wT","dUh4UaO","N93dyfD","gLpHGW2","txstYBE","4gKni9p","cIwjOS0","hRnYGn1","jWuQPCW","VfuLkfj","XV0Z0ix","rlbiS2R","FHXlBA8","Cqzu\/ty","NQcY4GA","CvndCfq","r92wvYV","uKw0LU7","xmz7Lk6","UcjljO7","a2j96E0","X4+I4b2","B73AcWy","v6HipfT","ZDRyKL3","UO8AC2i","NokMqjr","my2i43D","Yelqfuz","+HR4\/Sd","pEr0EzI","VDymvVI","8vKBOmk","\/j+rPH4","NqAnvSR","4W8+IkX"],"rds":{"m":["Animation","FbtLogging","IntlQtEventFalcoEvent","PageTransitions"]},"be":1},"PhotoTagger":{"r":["m\/iHLvb","kKG6kJf","CSl+Sxi","G2iy9Ox","p+yOQlM","0n8jUCL","YYk9ug4","pXMubjf","gFJOVw5","qdOQPKI","ehJaT9r","mpUdCt2","UNiU4sO","iHCiaFe","6S5PHbO","HLSPxCz","I\/49bAj","o8suG0j","gFHG893","b\/rYFtF","rlbiS2R","7koW4+B","KKBnWKk","ZY1oM2Q","b9sATVO","r92wvYV","zd+nE+p","3QBOKTC","NqAnvSR","FHXlBA8","dauMeUz","4W8+IkX"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent","PageTransitions","Animation"],"r":["3F26mTM"]},"be":1},"PhotoTags":{"r":["CSl+Sxi","kKG6kJf","rlbiS2R","gFJOVw5","yMgn4BF","iHCiaFe"],"be":1},"TagTokenizer":{"r":["CSl+Sxi","kKG6kJf","pXMubjf","sS0S1Ne","l1rPuW6","M9rh1r7","VB4zTC3","p+yOQlM","0n8jUCL","gFJOVw5","jWGxw5p","JKVm94S","TR5qTig","CyNqpgQ","J62RfGM","88+gRST","HBK9MF6","iHCiaFe"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"AsyncDialog":{"r":["kKG6kJf","CSl+Sxi","xvIpiB7","qdOQPKI","YYk9ug4","p+yOQlM","UNiU4sO","pXMubjf","gFJOVw5","iHCiaFe","0n8jUCL","ehJaT9r","mpUdCt2","WQUjqJD","6S5PHbO","Kw\/fkQQ","bfZmrY8","o8suG0j","PY04\/Rs","OMTW5NH","4WMghNp","2J1Ud6o","pfGV80\/","59saWL\/","X0PkNH5","agX1D\/g","NqAnvSR","FHXlBA8","my2i43D","4W8+IkX"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"Hovercard":{"r":["CSl+Sxi","kKG6kJf","p+yOQlM","0n8jUCL","YYk9ug4","pXMubjf","gFJOVw5","qdOQPKI","ehJaT9r","mpUdCt2","UNiU4sO","iHCiaFe","6S5PHbO","HLSPxCz","I\/49bAj","o8suG0j","NqAnvSR","FHXlBA8","dauMeUz","4W8+IkX"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent","PageTransitions","Animation"],"r":["3F26mTM"]},"be":1},"XOfferController":{"r":["gFJOVw5","xsFg75a"],"be":1},"PerfXSharedFields":{"r":["F6PVcEC","pXMubjf"],"be":1},"KeyEventTypedLogger":{"r":["CSl+Sxi","gFJOVw5","rCasuzG","4W8+IkX","kKG6kJf"],"be":1},"ContextualLayerInlineTabOrder":{"r":["CSl+Sxi","kKG6kJf","HLSPxCz","p+yOQlM","0n8jUCL","gFJOVw5","YYk9ug4","iHCiaFe"],"be":1},"XUIDialogButton.react":{"r":["PY04\/Rs","CSl+Sxi","ehJaT9r","pXMubjf","mpUdCt2","OMTW5NH","0n8jUCL","4WMghNp","p+yOQlM","2J1Ud6o","gFJOVw5","kKG6kJf","X0PkNH5","bfZmrY8","38MIlcl","59saWL\/","NqAnvSR","my2i43D","FHXlBA8","iHCiaFe"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"XUIDialogBody.react":{"r":["4WMghNp","p+yOQlM","ehJaT9r","pXMubjf","mpUdCt2","59saWL\/","WQUjqJD","FHXlBA8"],"be":1},"XUIDialogFooter.react":{"r":["bfZmrY8","p+yOQlM","ehJaT9r","pXMubjf","mpUdCt2","o8suG0j","agX1D\/g","59saWL\/","4WMghNp","WQUjqJD","FHXlBA8"],"be":1},"XUIDialogTitle.react":{"r":["bfZmrY8","p+yOQlM","ehJaT9r","pXMubjf","mpUdCt2","o8suG0j","PY04\/Rs","CSl+Sxi","OMTW5NH","0n8jUCL","4WMghNp","2J1Ud6o","pfGV80\/","WQUjqJD","59saWL\/","NqAnvSR","X0PkNH5","kKG6kJf","my2i43D","FHXlBA8","iHCiaFe"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"XUIGrayText.react":{"r":["4WMghNp","p+yOQlM","ehJaT9r","pXMubjf","mpUdCt2","59saWL\/","FHXlBA8"],"be":1},"DialogX":{"r":["CSl+Sxi","xvIpiB7","qdOQPKI","YYk9ug4","kKG6kJf","p+yOQlM","UNiU4sO","pXMubjf","gFJOVw5","iHCiaFe","0n8jUCL","ehJaT9r","mpUdCt2","WQUjqJD","6S5PHbO","FHXlBA8","NqAnvSR","4W8+IkX"],"rds":{"m":["FbtLogging","IntlQtEventFalcoEvent"],"r":["3F26mTM"]},"be":1},"react":{"r":["ehJaT9r","pXMubjf","mpUdCt2","FHXlBA8"],"be":1}}})});</script> <script nonce="JNgoVrRB">requireLazy(["InitialJSLoader"], function(InitialJSLoader) {InitialJSLoader.loadOnDOMContentReady(["kKG6kJf","CSl+Sxi","zif2SIi","s5Ferw3","gFJOVw5","JOUMnNC","3F26mTM","6S5PHbO","YYk9ug4","B73AcWy","PY04\/Rs","FsBVuQ6","pXMubjf","ehJaT9r","mpUdCt2","qdOQPKI","UNiU4sO","p+yOQlM","0Qz\/xq6","m\/iHLvb","oqeG6JD","FHXlBA8","FvQWTxN","N93dyfD","wJ7W6Yv","2J1Ud6o","5JODOIC","4W8+IkX","vCxI9D4","NqAnvSR","X0PkNH5","UO8AC2i","my2i43D","xvIpiB7","dauMeUz","3hKBmDr","NokMqjr"]);});</script> <script nonce="JNgoVrRB">requireLazy(["TimeSliceImpl","ServerJS"],function(TimeSlice,ServerJS){var s=(new ServerJS());s.handle({"define":[["cr:7736",["FBLynxLogging"],{"__rc":["FBLynxLogging",null]},-1],["LinkshimHandlerConfig",[],{"supports_meta_referrer":false,"default_meta_referrer_policy":"default","switched_meta_referrer_policy":"origin","non_linkshim_lnfb_mode":"ie","link_react_default_hash":"AT1sb3qRZaRg5p2EEhQy9iPOZkfCxtZptw1B6EvgOhjBH1J5CEc3Bf7nncbLzCK0vkQY6PCcLYIQn7LYVAKGcWxSvAmdkV5h_fyvCtqXRbVk9UsITj9NEXyjTd-_CtWakVMAhs8tXcva9rH3PVKohGnFUg","untrusted_link_default_hash":"AT1v7ErDIEfKINVz7BE8rS2STVOAAmxQUZuAlCDmouNZLOdPFlscX3PJY_D8jNB0QnOQCeLn4LqR1iRQ1dzLe0kU_dIadcF09hoe2PrvGT40ydCXh2NTf8PU5pu9Qs5jusRH7LKv1UfLCskynN3YEBONpA","linkshim_host":"l.facebook.com","linkshim_path":"\/l.php","linkshim_enc_param":"h","linkshim_url_param":"u","use_rel_no_opener":false,"use_rel_no_referrer":false,"always_use_https":false,"onion_always_shim":true,"middle_click_requires_event":false,"www_safe_js_mode":"hover","m_safe_js_mode":null,"ghl_param_link_shim":false,"click_ids":[],"is_linkshim_supported":true,"current_domain":"facebook.com","blocklisted_domains":["ad.doubleclick.net","ads-encryption-url-example.com","bs.serving-sys.com","ad.atdmt.com","adform.net","ad13.adfarm1.adition.com","ilovemyfreedoms.com","secure.adnxs.com"],"is_mobile_device":false},27]],"instances":[["__inst_c2ec5301_0_0_uG",["DeveloperSiteDocumentationX"],[],1],["__inst_ede75984_0_0_KA",["Selector","__inst_e5ad243d_0_0_pA","__elem_85ee8f35_0_0_SL","__inst_02182015_0_0_wI","__elem_f46f4946_0_0_e2"],[{"__m":"__inst_e5ad243d_0_0_pA"},{"__m":"__elem_85ee8f35_0_0_SL"},{"__m":"__inst_02182015_0_0_wI"},{"__m":"__elem_f46f4946_0_0_e2"},{"behaviors":[],"globalEventName":null}],1],["__inst_02182015_0_0_wI",["SelectableMenu","MenuSelectableItem","__markup_3310c079_0_0_GY","HTML","__markup_3310c079_0_1_zz","__markup_3310c079_0_2_YN","__markup_3310c079_0_3_xk","__markup_3310c079_0_4_k\/","__markup_3310c079_0_5_ia","XUIMenuWithSquareCorner","XUIMenuTheme"],[[{"href":"\/docs\/marketing-api\/reference\/ad-campaign\/v21.0","selected":true,"disabled":false,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"__markup_3310c079_0_0_GY"},"label":"v21.0","title":"","className":null},{"href":"\/docs\/marketing-api\/reference\/ad-campaign\/v20.0","selected":false,"disabled":false,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"__markup_3310c079_0_1_zz"},"label":"v20.0","title":"","className":null},{"href":"\/docs\/marketing-api\/reference\/ad-campaign\/v19.0","selected":false,"disabled":false,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"__markup_3310c079_0_2_YN"},"label":"v19.0","title":"","className":null},{"href":"\/docs\/marketing-api\/reference\/ad-campaign\/v18.0","selected":false,"disabled":false,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"__markup_3310c079_0_3_xk"},"label":"v18.0","title":"","className":null},{"href":"\/docs\/marketing-api\/reference\/ad-campaign\/v17.0","selected":false,"disabled":false,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"__markup_3310c079_0_4_k\/"},"label":"v17.0","title":"","className":null},{"href":"\/docs\/marketing-api\/reference\/ad-campaign\/v16.0","selected":false,"disabled":false,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"__markup_3310c079_0_5_ia"},"label":"v16.0","title":"","className":null}],{"id":"u_0_0_gy","behaviors":[{"__m":"XUIMenuWithSquareCorner"}],"className":"_57di","theme":{"__m":"XUIMenuTheme"}}],3],["__inst_e5ad243d_0_0_pA",["PopoverMenu","__inst_1de146dc_0_0_qb","__elem_85ee8f35_0_0_SL","__inst_02182015_0_0_wI","PopoverMenuContextMinWidth"],[{"__m":"__inst_1de146dc_0_0_qb"},{"__m":"__elem_85ee8f35_0_0_SL"},{"__m":"__inst_02182015_0_0_wI"},[{"__m":"PopoverMenuContextMinWidth"}]],2],["__inst_1de146dc_0_0_qb",["Popover","__elem_1de146dc_0_0_mq","__elem_85ee8f35_0_0_SL","ContextualLayerAsyncRelative","ContextualLayerAutoFlip","ContextualLayerPositionClassOnContext"],[{"__m":"__elem_1de146dc_0_0_mq"},{"__m":"__elem_85ee8f35_0_0_SL"},[{"__m":"ContextualLayerAsyncRelative"},{"__m":"ContextualLayerAutoFlip"},{"__m":"ContextualLayerPositionClassOnContext"}],{"alignh":"left","position":"below"}],2],["__inst_a794192e_0_0_CH",["RadioButton","__elem_a794192e_0_0_yH"],[{"__m":"__elem_a794192e_0_0_yH"}],1],["__inst_a794192e_0_1_AP",["RadioButton","__elem_a794192e_0_1_Cs"],[{"__m":"__elem_a794192e_0_1_Cs"}],1],["__inst_a794192e_0_2_qS",["RadioButton","__elem_a794192e_0_2_Pr"],[{"__m":"__elem_a794192e_0_2_Pr"}],1],["__inst_a794192e_0_3_tE",["RadioButton","__elem_a794192e_0_3_M7"],[{"__m":"__elem_a794192e_0_3_M7"}],1],["__inst_a794192e_0_4_y1",["RadioButton","__elem_a794192e_0_4_M5"],[{"__m":"__elem_a794192e_0_4_M5"}],1],["__inst_a794192e_0_5_m1",["RadioButton","__elem_a794192e_0_5_PS"],[{"__m":"__elem_a794192e_0_5_PS"}],1],["__inst_835c633a_0_0_90",["UIForm","__elem_85b7cbf7_0_0_Wt","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_0_Wt"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_a794192e_0_6_p6",["RadioButton","__elem_a794192e_0_6_Gl"],[{"__m":"__elem_a794192e_0_6_Gl"}],1],["__inst_a794192e_0_7_\/Y",["RadioButton","__elem_a794192e_0_7_wS"],[{"__m":"__elem_a794192e_0_7_wS"}],1],["__inst_a794192e_0_8_mm",["RadioButton","__elem_a794192e_0_8_u5"],[{"__m":"__elem_a794192e_0_8_u5"}],1],["__inst_a794192e_0_9_vY",["RadioButton","__elem_a794192e_0_9_UE"],[{"__m":"__elem_a794192e_0_9_UE"}],1],["__inst_a794192e_0_a_nJ",["RadioButton","__elem_a794192e_0_a_x2"],[{"__m":"__elem_a794192e_0_a_x2"}],1],["__inst_a794192e_0_b_mO",["RadioButton","__elem_a794192e_0_b_4f"],[{"__m":"__elem_a794192e_0_b_4f"}],1],["__inst_835c633a_0_1_Kc",["UIForm","__elem_85b7cbf7_0_1_1V","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_1_1V"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_b123e231_0_0_2c",["DevsiteReferenceTable","__elem_0c196283_0_0_KH"],[{"__m":"__elem_0c196283_0_0_KH"}],1],["__inst_a794192e_0_c_IN",["RadioButton","__elem_a794192e_0_c_y0"],[{"__m":"__elem_a794192e_0_c_y0"}],1],["__inst_a794192e_0_d_xP",["RadioButton","__elem_a794192e_0_d_LI"],[{"__m":"__elem_a794192e_0_d_LI"}],1],["__inst_a794192e_0_e_iy",["RadioButton","__elem_a794192e_0_e_nZ"],[{"__m":"__elem_a794192e_0_e_nZ"}],1],["__inst_a794192e_0_f_0U",["RadioButton","__elem_a794192e_0_f_tp"],[{"__m":"__elem_a794192e_0_f_tp"}],1],["__inst_a794192e_0_g_pm",["RadioButton","__elem_a794192e_0_g_Md"],[{"__m":"__elem_a794192e_0_g_Md"}],1],["__inst_a794192e_0_h_fi",["RadioButton","__elem_a794192e_0_h_0A"],[{"__m":"__elem_a794192e_0_h_0A"}],1],["__inst_835c633a_0_2_o3",["UIForm","__elem_85b7cbf7_0_2_k9","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_2_k9"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_a794192e_0_i_T1",["RadioButton","__elem_a794192e_0_i_mv"],[{"__m":"__elem_a794192e_0_i_mv"}],1],["__inst_a794192e_0_j_eZ",["RadioButton","__elem_a794192e_0_j_f1"],[{"__m":"__elem_a794192e_0_j_f1"}],1],["__inst_a794192e_0_k_wu",["RadioButton","__elem_a794192e_0_k_jR"],[{"__m":"__elem_a794192e_0_k_jR"}],1],["__inst_a794192e_0_l_Y8",["RadioButton","__elem_a794192e_0_l_Ld"],[{"__m":"__elem_a794192e_0_l_Ld"}],1],["__inst_a794192e_0_m_HJ",["RadioButton","__elem_a794192e_0_m_MR"],[{"__m":"__elem_a794192e_0_m_MR"}],1],["__inst_a794192e_0_n_wE",["RadioButton","__elem_a794192e_0_n_r9"],[{"__m":"__elem_a794192e_0_n_r9"}],1],["__inst_835c633a_0_3_UZ",["UIForm","__elem_85b7cbf7_0_3_Tl","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_3_Tl"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_43b438b9_0_0_l8",["CodeTabs","__inst_a794192e_0_o_70","__elem_494919f0_0_0_w3","__inst_a794192e_0_p_LP","__elem_0f53bc5e_0_0_go","__inst_a794192e_0_q_Sh","__elem_bba67008_0_0_6h","__inst_a794192e_0_r_pG","__elem_79a5c107_0_0_Lr","__inst_a794192e_0_s_Yd","__elem_895c8489_0_0_Qk","__inst_a794192e_0_t_oh","__elem_38f86502_0_0_1y"],[[[{"__m":"__inst_a794192e_0_o_70"},{"__m":"__elem_494919f0_0_0_w3"}],[{"__m":"__inst_a794192e_0_p_LP"},{"__m":"__elem_0f53bc5e_0_0_go"}],[{"__m":"__inst_a794192e_0_q_Sh"},{"__m":"__elem_bba67008_0_0_6h"}],[{"__m":"__inst_a794192e_0_r_pG"},{"__m":"__elem_79a5c107_0_0_Lr"}],[{"__m":"__inst_a794192e_0_s_Yd"},{"__m":"__elem_895c8489_0_0_Qk"}],[{"__m":"__inst_a794192e_0_t_oh"},{"__m":"__elem_38f86502_0_0_1y"}]],{"__m":"__elem_494919f0_0_0_w3"}],1],["__inst_f4afbe30_0_0_9d",["ButtonGroupX","__elem_f4afbe30_0_0_wl","__inst_a794192e_0_o_70","__inst_a794192e_0_p_LP","__inst_a794192e_0_q_Sh","__inst_a794192e_0_r_pG","__inst_a794192e_0_s_Yd","__inst_a794192e_0_t_oh"],[{"__m":"__elem_f4afbe30_0_0_wl"},{"radioButtons":[{"__m":"__inst_a794192e_0_o_70"},{"__m":"__inst_a794192e_0_p_LP"},{"__m":"__inst_a794192e_0_q_Sh"},{"__m":"__inst_a794192e_0_r_pG"},{"__m":"__inst_a794192e_0_s_Yd"},{"__m":"__inst_a794192e_0_t_oh"}],"selected":{"__m":"__inst_a794192e_0_o_70"}}],1],["__inst_a794192e_0_o_70",["RadioButton","__elem_a794192e_0_o_Oc"],[{"__m":"__elem_a794192e_0_o_Oc"}],4],["__inst_a794192e_0_p_LP",["RadioButton","__elem_a794192e_0_p_4M"],[{"__m":"__elem_a794192e_0_p_4M"}],3],["__inst_a794192e_0_q_Sh",["RadioButton","__elem_a794192e_0_q_zu"],[{"__m":"__elem_a794192e_0_q_zu"}],3],["__inst_a794192e_0_r_pG",["RadioButton","__elem_a794192e_0_r_ND"],[{"__m":"__elem_a794192e_0_r_ND"}],3],["__inst_a794192e_0_s_Yd",["RadioButton","__elem_a794192e_0_s_2J"],[{"__m":"__elem_a794192e_0_s_2J"}],3],["__inst_a794192e_0_t_oh",["RadioButton","__elem_a794192e_0_t_WI"],[{"__m":"__elem_a794192e_0_t_WI"}],3],["__inst_b123e231_0_1_eR",["DevsiteReferenceTable","__elem_0c196283_0_1_zY"],[{"__m":"__elem_0c196283_0_1_zY"}],1],["__inst_a794192e_0_u_xp",["RadioButton","__elem_a794192e_0_u_BG"],[{"__m":"__elem_a794192e_0_u_BG"}],1],["__inst_a794192e_0_v_II",["RadioButton","__elem_a794192e_0_v_ZF"],[{"__m":"__elem_a794192e_0_v_ZF"}],1],["__inst_a794192e_0_w_H3",["RadioButton","__elem_a794192e_0_w_Kq"],[{"__m":"__elem_a794192e_0_w_Kq"}],1],["__inst_a794192e_0_x_8B",["RadioButton","__elem_a794192e_0_x_O\/"],[{"__m":"__elem_a794192e_0_x_O\/"}],1],["__inst_a794192e_0_y_1O",["RadioButton","__elem_a794192e_0_y_yF"],[{"__m":"__elem_a794192e_0_y_yF"}],1],["__inst_a794192e_0_z_S7",["RadioButton","__elem_a794192e_0_z_It"],[{"__m":"__elem_a794192e_0_z_It"}],1],["__inst_835c633a_0_4_ss",["UIForm","__elem_85b7cbf7_0_4_D1","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_4_D1"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_b123e231_0_2_pz",["DevsiteReferenceTable","__elem_0c196283_0_2_Sr"],[{"__m":"__elem_0c196283_0_2_Sr"}],1],["__inst_b123e231_0_3_71",["DevsiteReferenceTable","__elem_0c196283_0_3_M8"],[{"__m":"__elem_0c196283_0_3_M8"}],1],["__inst_b123e231_0_4_kG",["DevsiteReferenceTable","__elem_0c196283_0_4_z6"],[{"__m":"__elem_0c196283_0_4_z6"}],1],["__inst_b123e231_0_5_Kf",["DevsiteReferenceTable","__elem_0c196283_0_5_Rj"],[{"__m":"__elem_0c196283_0_5_Rj"}],1],["__inst_43b438b9_0_1_k3",["CodeTabs","__inst_a794192e_0_10_yp","__elem_494919f0_0_1_mV","__inst_a794192e_0_11_pA","__elem_0f53bc5e_0_1_E7","__inst_a794192e_0_12_Q3","__elem_bba67008_0_1_Dj","__inst_a794192e_0_13_6h","__elem_79a5c107_0_1_+e","__inst_a794192e_0_14_9y","__elem_895c8489_0_1_9B","__inst_a794192e_0_15_L9","__elem_38f86502_0_1_QP"],[[[{"__m":"__inst_a794192e_0_10_yp"},{"__m":"__elem_494919f0_0_1_mV"}],[{"__m":"__inst_a794192e_0_11_pA"},{"__m":"__elem_0f53bc5e_0_1_E7"}],[{"__m":"__inst_a794192e_0_12_Q3"},{"__m":"__elem_bba67008_0_1_Dj"}],[{"__m":"__inst_a794192e_0_13_6h"},{"__m":"__elem_79a5c107_0_1_+e"}],[{"__m":"__inst_a794192e_0_14_9y"},{"__m":"__elem_895c8489_0_1_9B"}],[{"__m":"__inst_a794192e_0_15_L9"},{"__m":"__elem_38f86502_0_1_QP"}]],{"__m":"__elem_494919f0_0_1_mV"}],1],["__inst_f4afbe30_0_1_fv",["ButtonGroupX","__elem_f4afbe30_0_1_k\/","__inst_a794192e_0_10_yp","__inst_a794192e_0_11_pA","__inst_a794192e_0_12_Q3","__inst_a794192e_0_13_6h","__inst_a794192e_0_14_9y","__inst_a794192e_0_15_L9"],[{"__m":"__elem_f4afbe30_0_1_k\/"},{"radioButtons":[{"__m":"__inst_a794192e_0_10_yp"},{"__m":"__inst_a794192e_0_11_pA"},{"__m":"__inst_a794192e_0_12_Q3"},{"__m":"__inst_a794192e_0_13_6h"},{"__m":"__inst_a794192e_0_14_9y"},{"__m":"__inst_a794192e_0_15_L9"}],"selected":{"__m":"__inst_a794192e_0_10_yp"}}],1],["__inst_a794192e_0_10_yp",["RadioButton","__elem_a794192e_0_10_n3"],[{"__m":"__elem_a794192e_0_10_n3"}],4],["__inst_a794192e_0_11_pA",["RadioButton","__elem_a794192e_0_11_3G"],[{"__m":"__elem_a794192e_0_11_3G"}],3],["__inst_a794192e_0_12_Q3",["RadioButton","__elem_a794192e_0_12_fd"],[{"__m":"__elem_a794192e_0_12_fd"}],3],["__inst_a794192e_0_13_6h",["RadioButton","__elem_a794192e_0_13_nX"],[{"__m":"__elem_a794192e_0_13_nX"}],3],["__inst_a794192e_0_14_9y",["RadioButton","__elem_a794192e_0_14_pX"],[{"__m":"__elem_a794192e_0_14_pX"}],3],["__inst_a794192e_0_15_L9",["RadioButton","__elem_a794192e_0_15_gZ"],[{"__m":"__elem_a794192e_0_15_gZ"}],3],["__inst_b123e231_0_6_XX",["DevsiteReferenceTable","__elem_0c196283_0_6_Go"],[{"__m":"__elem_0c196283_0_6_Go"}],1],["__inst_a794192e_0_16_uD",["RadioButton","__elem_a794192e_0_16_vL"],[{"__m":"__elem_a794192e_0_16_vL"}],1],["__inst_a794192e_0_17_4+",["RadioButton","__elem_a794192e_0_17_qF"],[{"__m":"__elem_a794192e_0_17_qF"}],1],["__inst_a794192e_0_18_dD",["RadioButton","__elem_a794192e_0_18_A0"],[{"__m":"__elem_a794192e_0_18_A0"}],1],["__inst_a794192e_0_19_JY",["RadioButton","__elem_a794192e_0_19_2Z"],[{"__m":"__elem_a794192e_0_19_2Z"}],1],["__inst_a794192e_0_1a_+Z",["RadioButton","__elem_a794192e_0_1a_jh"],[{"__m":"__elem_a794192e_0_1a_jh"}],1],["__inst_a794192e_0_1b_fk",["RadioButton","__elem_a794192e_0_1b_g9"],[{"__m":"__elem_a794192e_0_1b_g9"}],1],["__inst_835c633a_0_5_PB",["UIForm","__elem_85b7cbf7_0_5_XO","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_5_XO"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_a794192e_0_1c_WB",["RadioButton","__elem_a794192e_0_1c_tr"],[{"__m":"__elem_a794192e_0_1c_tr"}],1],["__inst_a794192e_0_1d_h+",["RadioButton","__elem_a794192e_0_1d_Ht"],[{"__m":"__elem_a794192e_0_1d_Ht"}],1],["__inst_a794192e_0_1e_XK",["RadioButton","__elem_a794192e_0_1e_EO"],[{"__m":"__elem_a794192e_0_1e_EO"}],1],["__inst_a794192e_0_1f_RA",["RadioButton","__elem_a794192e_0_1f_V9"],[{"__m":"__elem_a794192e_0_1f_V9"}],1],["__inst_a794192e_0_1g_1M",["RadioButton","__elem_a794192e_0_1g_M9"],[{"__m":"__elem_a794192e_0_1g_M9"}],1],["__inst_a794192e_0_1h_md",["RadioButton","__elem_a794192e_0_1h_3Y"],[{"__m":"__elem_a794192e_0_1h_3Y"}],1],["__inst_a794192e_0_1i_B6",["RadioButton","__elem_a794192e_0_1i_JL"],[{"__m":"__elem_a794192e_0_1i_JL"}],1],["__inst_a794192e_0_1j_wJ",["RadioButton","__elem_a794192e_0_1j_bo"],[{"__m":"__elem_a794192e_0_1j_bo"}],1],["__inst_a794192e_0_1k_8x",["RadioButton","__elem_a794192e_0_1k_EZ"],[{"__m":"__elem_a794192e_0_1k_EZ"}],1],["__inst_a794192e_0_1l_Wf",["RadioButton","__elem_a794192e_0_1l_az"],[{"__m":"__elem_a794192e_0_1l_az"}],1],["__inst_a794192e_0_1m_p\/",["RadioButton","__elem_a794192e_0_1m_gI"],[{"__m":"__elem_a794192e_0_1m_gI"}],1],["__inst_a794192e_0_1n_r0",["RadioButton","__elem_a794192e_0_1n_9M"],[{"__m":"__elem_a794192e_0_1n_9M"}],1],["__inst_835c633a_0_6_4x",["UIForm","__elem_85b7cbf7_0_6_dR","FormSubmitOnChange"],[{"__m":"__elem_85b7cbf7_0_6_dR"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1],["__inst_43b438b9_0_2_av",["CodeTabs","__inst_a794192e_0_1o_kM","__elem_494919f0_0_2_hN","__inst_a794192e_0_1p_DX","__elem_0f53bc5e_0_2_UW","__inst_a794192e_0_1q_er","__elem_bba67008_0_2_ug","__inst_a794192e_0_1r_BG","__elem_79a5c107_0_2_rK","__inst_a794192e_0_1s_Gy","__elem_895c8489_0_2_YX","__inst_a794192e_0_1t_+m","__elem_38f86502_0_2_If"],[[[{"__m":"__inst_a794192e_0_1o_kM"},{"__m":"__elem_494919f0_0_2_hN"}],[{"__m":"__inst_a794192e_0_1p_DX"},{"__m":"__elem_0f53bc5e_0_2_UW"}],[{"__m":"__inst_a794192e_0_1q_er"},{"__m":"__elem_bba67008_0_2_ug"}],[{"__m":"__inst_a794192e_0_1r_BG"},{"__m":"__elem_79a5c107_0_2_rK"}],[{"__m":"__inst_a794192e_0_1s_Gy"},{"__m":"__elem_895c8489_0_2_YX"}],[{"__m":"__inst_a794192e_0_1t_+m"},{"__m":"__elem_38f86502_0_2_If"}]],{"__m":"__elem_494919f0_0_2_hN"}],1],["__inst_f4afbe30_0_2_Tr",["ButtonGroupX","__elem_f4afbe30_0_2_W7","__inst_a794192e_0_1o_kM","__inst_a794192e_0_1p_DX","__inst_a794192e_0_1q_er","__inst_a794192e_0_1r_BG","__inst_a794192e_0_1s_Gy","__inst_a794192e_0_1t_+m"],[{"__m":"__elem_f4afbe30_0_2_W7"},{"radioButtons":[{"__m":"__inst_a794192e_0_1o_kM"},{"__m":"__inst_a794192e_0_1p_DX"},{"__m":"__inst_a794192e_0_1q_er"},{"__m":"__inst_a794192e_0_1r_BG"},{"__m":"__inst_a794192e_0_1s_Gy"},{"__m":"__inst_a794192e_0_1t_+m"}],"selected":{"__m":"__inst_a794192e_0_1o_kM"}}],1],["__inst_a794192e_0_1o_kM",["RadioButton","__elem_a794192e_0_1o_ne"],[{"__m":"__elem_a794192e_0_1o_ne"}],4],["__inst_a794192e_0_1p_DX",["RadioButton","__elem_a794192e_0_1p_kz"],[{"__m":"__elem_a794192e_0_1p_kz"}],3],["__inst_a794192e_0_1q_er",["RadioButton","__elem_a794192e_0_1q_PS"],[{"__m":"__elem_a794192e_0_1q_PS"}],3],["__inst_a794192e_0_1r_BG",["RadioButton","__elem_a794192e_0_1r_b0"],[{"__m":"__elem_a794192e_0_1r_b0"}],3],["__inst_a794192e_0_1s_Gy",["RadioButton","__elem_a794192e_0_1s_YX"],[{"__m":"__elem_a794192e_0_1s_YX"}],3],["__inst_a794192e_0_1t_+m",["RadioButton","__elem_a794192e_0_1t_XK"],[{"__m":"__elem_a794192e_0_1t_XK"}],3],["__inst_b123e231_0_7_Pk",["DevsiteReferenceTable","__elem_0c196283_0_7_Lb"],[{"__m":"__elem_0c196283_0_7_Lb"}],1],["__inst_43b438b9_0_3_7w",["CodeTabs","__inst_a794192e_0_1u_yg","__elem_3a20eb2b_0_0_44","__inst_a794192e_0_1v_DS","__elem_38f86502_0_3_RV"],[[[{"__m":"__inst_a794192e_0_1u_yg"},{"__m":"__elem_3a20eb2b_0_0_44"}],[{"__m":"__inst_a794192e_0_1v_DS"},{"__m":"__elem_38f86502_0_3_RV"}]],{"__m":"__elem_3a20eb2b_0_0_44"}],1],["__inst_f4afbe30_0_3_fc",["ButtonGroupX","__elem_f4afbe30_0_3_uG","__inst_a794192e_0_1u_yg","__inst_a794192e_0_1v_DS"],[{"__m":"__elem_f4afbe30_0_3_uG"},{"radioButtons":[{"__m":"__inst_a794192e_0_1u_yg"},{"__m":"__inst_a794192e_0_1v_DS"}],"selected":{"__m":"__inst_a794192e_0_1u_yg"}}],1],["__inst_a794192e_0_1u_yg",["RadioButton","__elem_a794192e_0_1u_DS"],[{"__m":"__elem_a794192e_0_1u_DS"}],4],["__inst_a794192e_0_1v_DS",["RadioButton","__elem_a794192e_0_1v_OZ"],[{"__m":"__elem_a794192e_0_1v_OZ"}],3],["__inst_43b438b9_0_4_iG",["CodeTabs","__inst_a794192e_0_1w_9k","__elem_3a20eb2b_0_1_Mg","__inst_a794192e_0_1x_7G","__elem_38f86502_0_4_cs"],[[[{"__m":"__inst_a794192e_0_1w_9k"},{"__m":"__elem_3a20eb2b_0_1_Mg"}],[{"__m":"__inst_a794192e_0_1x_7G"},{"__m":"__elem_38f86502_0_4_cs"}]],{"__m":"__elem_3a20eb2b_0_1_Mg"}],1],["__inst_f4afbe30_0_4_X1",["ButtonGroupX","__elem_f4afbe30_0_4_ha","__inst_a794192e_0_1w_9k","__inst_a794192e_0_1x_7G"],[{"__m":"__elem_f4afbe30_0_4_ha"},{"radioButtons":[{"__m":"__inst_a794192e_0_1w_9k"},{"__m":"__inst_a794192e_0_1x_7G"}],"selected":{"__m":"__inst_a794192e_0_1w_9k"}}],1],["__inst_a794192e_0_1w_9k",["RadioButton","__elem_a794192e_0_1w_B1"],[{"__m":"__elem_a794192e_0_1w_B1"}],4],["__inst_a794192e_0_1x_7G",["RadioButton","__elem_a794192e_0_1x_Bj"],[{"__m":"__elem_a794192e_0_1x_Bj"}],3],["__inst_43b438b9_0_5_xj",["CodeTabs","__inst_a794192e_0_1y_50","__elem_3a20eb2b_0_2_Ha","__inst_a794192e_0_1z_Er","__elem_72bb878f_0_0_sk","__inst_a794192e_0_20_8j","__elem_992804e0_0_0_OD","__inst_a794192e_0_21_pC","__elem_38f86502_0_5_23"],[[[{"__m":"__inst_a794192e_0_1y_50"},{"__m":"__elem_3a20eb2b_0_2_Ha"}],[{"__m":"__inst_a794192e_0_1z_Er"},{"__m":"__elem_72bb878f_0_0_sk"}],[{"__m":"__inst_a794192e_0_20_8j"},{"__m":"__elem_992804e0_0_0_OD"}],[{"__m":"__inst_a794192e_0_21_pC"},{"__m":"__elem_38f86502_0_5_23"}]],{"__m":"__elem_3a20eb2b_0_2_Ha"}],1],["__inst_f4afbe30_0_5_6M",["ButtonGroupX","__elem_f4afbe30_0_5_8K","__inst_a794192e_0_1y_50","__inst_a794192e_0_1z_Er","__inst_a794192e_0_20_8j","__inst_a794192e_0_21_pC"],[{"__m":"__elem_f4afbe30_0_5_8K"},{"radioButtons":[{"__m":"__inst_a794192e_0_1y_50"},{"__m":"__inst_a794192e_0_1z_Er"},{"__m":"__inst_a794192e_0_20_8j"},{"__m":"__inst_a794192e_0_21_pC"}],"selected":{"__m":"__inst_a794192e_0_1y_50"}}],1],["__inst_a794192e_0_1y_50",["RadioButton","__elem_a794192e_0_1y_0N"],[{"__m":"__elem_a794192e_0_1y_0N"}],4],["__inst_a794192e_0_1z_Er",["RadioButton","__elem_a794192e_0_1z_2Q"],[{"__m":"__elem_a794192e_0_1z_2Q"}],3],["__inst_a794192e_0_20_8j",["RadioButton","__elem_a794192e_0_20_9W"],[{"__m":"__elem_a794192e_0_20_9W"}],3],["__inst_a794192e_0_21_pC",["RadioButton","__elem_a794192e_0_21_ne"],[{"__m":"__elem_a794192e_0_21_ne"}],3],["__inst_43b438b9_0_6_6p",["CodeTabs","__inst_a794192e_0_22_6r","__elem_3a20eb2b_0_3_WV","__inst_a794192e_0_23_\/W","__elem_992804e0_0_1_CX","__inst_a794192e_0_24_PQ","__elem_38f86502_0_6_dA"],[[[{"__m":"__inst_a794192e_0_22_6r"},{"__m":"__elem_3a20eb2b_0_3_WV"}],[{"__m":"__inst_a794192e_0_23_\/W"},{"__m":"__elem_992804e0_0_1_CX"}],[{"__m":"__inst_a794192e_0_24_PQ"},{"__m":"__elem_38f86502_0_6_dA"}]],{"__m":"__elem_3a20eb2b_0_3_WV"}],1],["__inst_f4afbe30_0_6_t2",["ButtonGroupX","__elem_f4afbe30_0_6_U3","__inst_a794192e_0_22_6r","__inst_a794192e_0_23_\/W","__inst_a794192e_0_24_PQ"],[{"__m":"__elem_f4afbe30_0_6_U3"},{"radioButtons":[{"__m":"__inst_a794192e_0_22_6r"},{"__m":"__inst_a794192e_0_23_\/W"},{"__m":"__inst_a794192e_0_24_PQ"}],"selected":{"__m":"__inst_a794192e_0_22_6r"}}],1],["__inst_a794192e_0_22_6r",["RadioButton","__elem_a794192e_0_22_lt"],[{"__m":"__elem_a794192e_0_22_lt"}],4],["__inst_a794192e_0_23_\/W",["RadioButton","__elem_a794192e_0_23_To"],[{"__m":"__elem_a794192e_0_23_To"}],3],["__inst_a794192e_0_24_PQ",["RadioButton","__elem_a794192e_0_24_wx"],[{"__m":"__elem_a794192e_0_24_wx"}],3]],"markup":[["__markup_3310c079_0_0_GY",{"__html":"v21.0"},1,"HTML"],["__markup_3310c079_0_1_zz",{"__html":"v20.0"},1,"HTML"],["__markup_3310c079_0_2_YN",{"__html":"v19.0"},1,"HTML"],["__markup_3310c079_0_3_xk",{"__html":"v18.0"},1,"HTML"],["__markup_3310c079_0_4_k\/",{"__html":"v17.0"},1,"HTML"],["__markup_3310c079_0_5_ia",{"__html":"v16.0"},1,"HTML"],["__markup_d3c2dfe2_0_4_4T",{"__html":"\u53ea\u6709 v3.2 \u4ee5\u4e0a\u7248\u672c\u624d\u6703\u63d0\u4f9b\u6b64\u6b04\u4f4d"},1,"HTML"],["__markup_d3c2dfe2_0_5_Qv",{"__html":"\u53ea\u6709 v12.0 \u4ee5\u4e0a\u7248\u672c\u624d\u6703\u63d0\u4f9b\u6b64\u6b04\u4f4d"},1,"HTML"],["__markup_d3c2dfe2_0_0_4+",{"__html":"\u53ea\u6709 v3.0 \u4ee5\u4e0a\u7248\u672c\u624d\u6703\u63d0\u4f9b\u6b64\u6b04\u4f4d"},1,"HTML"],["__markup_d3c2dfe2_0_1_RK",{"__html":"\u53ea\u6709 v3.2 \u4ee5\u4e0a\u7248\u672c\u624d\u6703\u63d0\u4f9b\u6b64\u6b04\u4f4d"},1,"HTML"],["__markup_d3c2dfe2_0_2_8A",{"__html":"\u53ea\u6709 v3.2 \u4ee5\u4e0a\u7248\u672c\u624d\u6703\u63d0\u4f9b\u6b64\u6b04\u4f4d"},1,"HTML"],["__markup_d3c2dfe2_0_3_PL",{"__html":"\u53ea\u6709 v3.0 \u4ee5\u4e0a\u7248\u672c\u624d\u6703\u63d0\u4f9b\u6b64\u6b04\u4f4d"},1,"HTML"]],"elements":[["__elem_a588f507_0_1_Gm","u_0_1_Ip",2],["__elem_1de146dc_0_0_mq","u_0_2_qp",1],["__elem_85ee8f35_0_0_SL","u_0_3_WQ",3],["__elem_f46f4946_0_0_e2","u_0_4_DT",1],["__elem_a794192e_0_0_yH","u_0_5_SI",2],["__elem_a794192e_0_1_Cs","u_0_6_36",2],["__elem_a794192e_0_2_Pr","u_0_7_BW",2],["__elem_a794192e_0_3_M7","u_0_8_GL",2],["__elem_a794192e_0_4_M5","u_0_9_\/u",2],["__elem_a794192e_0_5_PS","u_0_a_EX",2],["__elem_1262def6_0_0_jP","u_0_b_E6",1],["__elem_a97054b6_0_0_G4","u_0_c_Ut",1],["__elem_072b8e64_0_0_Vm","u_0_d_m6",1],["__elem_1262def6_0_1_FK","u_0_e_xO",1],["__elem_a97054b6_0_1_SN","u_0_f_2B",1],["__elem_072b8e64_0_1_CD","u_0_g_At",1],["__elem_1262def6_0_2_pi","u_0_h_\/y",1],["__elem_a97054b6_0_2_mp","u_0_i_jd",1],["__elem_072b8e64_0_2_8K","u_0_j_Aj",1],["__elem_1262def6_0_3_4M","u_0_k_Lz",1],["__elem_a97054b6_0_3_03","u_0_l_xu",1],["__elem_072b8e64_0_3_yM","u_0_m_oM",1],["__elem_1262def6_0_4_ec","u_0_n_jZ",1],["__elem_a97054b6_0_4_Hc","u_0_o_pY",1],["__elem_072b8e64_0_4_SD","u_0_p_Yj",1],["__elem_1262def6_0_5_vw","u_0_q_DS",1],["__elem_a97054b6_0_5_dy","u_0_r_Lx",1],["__elem_072b8e64_0_5_7Y","u_0_s_Z8",1],["__elem_85b7cbf7_0_0_Wt","u_0_t_Mp",1],["__elem_a794192e_0_6_Gl","u_0_u_Ba",2],["__elem_a794192e_0_7_wS","u_0_v_0y",2],["__elem_a794192e_0_8_u5","u_0_w_Js",2],["__elem_a794192e_0_9_UE","u_0_x_sB",2],["__elem_a794192e_0_a_x2","u_0_y_xF",2],["__elem_a794192e_0_b_4f","u_0_z_6g",2],["__elem_1262def6_0_6_Ku","u_0_10_7Q",1],["__elem_a97054b6_0_6_zy","u_0_11_NC",1],["__elem_072b8e64_0_6_W2","u_0_12_RC",1],["__elem_1262def6_0_7_7q","u_0_13_F6",1],["__elem_a97054b6_0_7_g3","u_0_14_WT",1],["__elem_072b8e64_0_7_V1","u_0_15_0v",1],["__elem_1262def6_0_8_Ik","u_0_16_C9",1],["__elem_a97054b6_0_8_NP","u_0_17_4l",1],["__elem_072b8e64_0_8_Xl","u_0_18_PH",1],["__elem_1262def6_0_9_ME","u_0_19_yB",1],["__elem_a97054b6_0_9_+G","u_0_1a_51",1],["__elem_072b8e64_0_9_b9","u_0_1b_RU",1],["__elem_1262def6_0_a_d8","u_0_1c_h\/",1],["__elem_a97054b6_0_a_1k","u_0_1d_hx",1],["__elem_072b8e64_0_a_6b","u_0_1e_4l",1],["__elem_1262def6_0_b_vf","u_0_1f_UY",1],["__elem_a97054b6_0_b_jW","u_0_1g_cO",1],["__elem_072b8e64_0_b_Yj","u_0_1h_k+",1],["__elem_85b7cbf7_0_1_1V","u_0_1i_yl",1],["__elem_0c196283_0_0_KH","u_0_1j_zK",1],["__elem_a794192e_0_c_y0","u_0_1k_ew",2],["__elem_a794192e_0_d_LI","u_0_1l_O4",2],["__elem_a794192e_0_e_nZ","u_0_1m_kk",2],["__elem_a794192e_0_f_tp","u_0_1n_BK",2],["__elem_a794192e_0_g_Md","u_0_1o_V3",2],["__elem_a794192e_0_h_0A","u_0_1p_Jm",2],["__elem_1262def6_0_c_5Z","u_0_1q_P1",1],["__elem_a97054b6_0_c_tX","u_0_1r_Dk",1],["__elem_072b8e64_0_c_pX","u_0_1s_PF",1],["__elem_1262def6_0_d_tr","u_0_1t_Ow",1],["__elem_a97054b6_0_d_Ed","u_0_1u_Fh",1],["__elem_072b8e64_0_d_0u","u_0_1v_tu",1],["__elem_1262def6_0_e_nt","u_0_1w_0R",1],["__elem_a97054b6_0_e_cY","u_0_1x_J4",1],["__elem_072b8e64_0_e_jy","u_0_1y_Nt",1],["__elem_1262def6_0_f_YI","u_0_1z_9W",1],["__elem_a97054b6_0_f_yG","u_0_20_Qk",1],["__elem_072b8e64_0_f_4z","u_0_21_K7",1],["__elem_1262def6_0_g_tH","u_0_22_Ot",1],["__elem_a97054b6_0_g_9r","u_0_23_KC",1],["__elem_072b8e64_0_g_fk","u_0_24_T4",1],["__elem_1262def6_0_h_cK","u_0_25_Cx",1],["__elem_a97054b6_0_h_Lv","u_0_26_Ah",1],["__elem_072b8e64_0_h_g\/","u_0_27_qd",1],["__elem_85b7cbf7_0_2_k9","u_0_28_a3",1],["__elem_a794192e_0_i_mv","u_0_29_pq",2],["__elem_a794192e_0_j_f1","u_0_2a_Qv",2],["__elem_a794192e_0_k_jR","u_0_2b_1y",2],["__elem_a794192e_0_l_Ld","u_0_2c_1P",2],["__elem_a794192e_0_m_MR","u_0_2d_gn",2],["__elem_a794192e_0_n_r9","u_0_2e_mF",2],["__elem_1262def6_0_i_\/4","u_0_2f_X1",1],["__elem_a97054b6_0_i_iK","u_0_2g_AX",1],["__elem_072b8e64_0_i_Jl","u_0_2h_a1",1],["__elem_1262def6_0_j_fI","u_0_2i_V9",1],["__elem_a97054b6_0_j_jl","u_0_2j_de",1],["__elem_072b8e64_0_j_7b","u_0_2k_GO",1],["__elem_1262def6_0_k_S8","u_0_2l_M0",1],["__elem_a97054b6_0_k_3z","u_0_2m_Ou",1],["__elem_072b8e64_0_k_D4","u_0_2n_zQ",1],["__elem_1262def6_0_l_p7","u_0_2o_7g",1],["__elem_a97054b6_0_l_a6","u_0_2p_bb",1],["__elem_072b8e64_0_l_+K","u_0_2q_X6",1],["__elem_1262def6_0_m_eE","u_0_2r_Tc",1],["__elem_a97054b6_0_m_dT","u_0_2s_u2",1],["__elem_072b8e64_0_m_8e","u_0_2t_FC",1],["__elem_1262def6_0_n_r+","u_0_2u_CY",1],["__elem_a97054b6_0_n_2j","u_0_2v_Ul",1],["__elem_072b8e64_0_n_rU","u_0_2w_nz",1],["__elem_85b7cbf7_0_3_Tl","u_0_2x_Po",1],["__elem_f4afbe30_0_4_ha","u_0_2y_c6",1],["__elem_a794192e_0_1w_B1","u_0_2z_Um",1],["__elem_a794192e_0_1x_Bj","u_0_30_7z",1],["__elem_3a20eb2b_0_1_Mg","u_0_31_7m",2],["__elem_38f86502_0_4_cs","u_0_32_7g",1],["__elem_f4afbe30_0_5_8K","u_0_33_WR",1],["__elem_a794192e_0_1y_0N","u_0_34_46",1],["__elem_a794192e_0_1z_2Q","u_0_35_i5",1],["__elem_a794192e_0_20_9W","u_0_36_d5",1],["__elem_a794192e_0_21_ne","u_0_37_3S",1],["__elem_3a20eb2b_0_2_Ha","u_0_38_Vq",2],["__elem_72bb878f_0_0_sk","u_0_39_Ij",1],["__elem_992804e0_0_0_OD","u_0_3a_QY",1],["__elem_38f86502_0_5_23","u_0_3b_Ri",1],["__elem_f4afbe30_0_6_U3","u_0_3c_Rc",1],["__elem_a794192e_0_22_lt","u_0_3d_De",1],["__elem_a794192e_0_23_To","u_0_3e_cX",1],["__elem_a794192e_0_24_wx","u_0_3f_fV",1],["__elem_3a20eb2b_0_3_WV","u_0_3g_to",2],["__elem_992804e0_0_1_CX","u_0_3h_G9",1],["__elem_38f86502_0_6_dA","u_0_3i_hp",1],["__elem_f4afbe30_0_3_uG","u_0_3j_JB",1],["__elem_a794192e_0_1u_DS","u_0_3k_j7",1],["__elem_a794192e_0_1v_OZ","u_0_3l_Bp",1],["__elem_3a20eb2b_0_0_44","u_0_3m_Nq",2],["__elem_38f86502_0_3_RV","u_0_3n_mt",1],["__elem_f4afbe30_0_0_wl","u_0_3o_eU",1],["__elem_a794192e_0_o_Oc","u_0_3p_9J",1],["__elem_a794192e_0_p_4M","u_0_3q_Gz",1],["__elem_a794192e_0_q_zu","u_0_3r_HZ",1],["__elem_a794192e_0_r_ND","u_0_3s_XZ",1],["__elem_a794192e_0_s_2J","u_0_3t_Ut",1],["__elem_a794192e_0_t_WI","u_0_3u_Mo",1],["__elem_494919f0_0_0_w3","u_0_3v_Jd",2],["__elem_0f53bc5e_0_0_go","u_0_3w_WQ",1],["__elem_bba67008_0_0_6h","u_0_3x_67",1],["__elem_79a5c107_0_0_Lr","u_0_3y_Rt",1],["__elem_895c8489_0_0_Qk","u_0_3z_kF",1],["__elem_38f86502_0_0_1y","u_0_40_D4",1],["__elem_0c196283_0_1_zY","u_0_41_U9",1],["__elem_e980dec4_0_0_kN","u_0_42_14",1],["__elem_e980dec4_0_1_3Q","u_0_43_p0",1],["__elem_e980dec4_0_2_Rk","u_0_44_fo",1],["__elem_e980dec4_0_5_Fe","u_0_45_\/G",1],["__elem_a794192e_0_u_BG","u_0_46_iy",2],["__elem_a794192e_0_v_ZF","u_0_47_LV",2],["__elem_a794192e_0_w_Kq","u_0_48_Vs",2],["__elem_a794192e_0_x_O\/","u_0_49_tW",2],["__elem_a794192e_0_y_yF","u_0_4a_dx",2],["__elem_a794192e_0_z_It","u_0_4b_jT",2],["__elem_1262def6_0_o_aT","u_0_4c_Au",1],["__elem_a97054b6_0_o_qv","u_0_4d_vZ",1],["__elem_072b8e64_0_o_vM","u_0_4e_ys",1],["__elem_1262def6_0_p_78","u_0_4f_+d",1],["__elem_a97054b6_0_p_kl","u_0_4g_D6",1],["__elem_072b8e64_0_p_cQ","u_0_4h_b9",1],["__elem_1262def6_0_q_Hy","u_0_4i_E0",1],["__elem_a97054b6_0_q_rJ","u_0_4j_pB",1],["__elem_072b8e64_0_q_HG","u_0_4k_18",1],["__elem_1262def6_0_r_aj","u_0_4l_R9",1],["__elem_a97054b6_0_r_t8","u_0_4m_eB",1],["__elem_072b8e64_0_r_wX","u_0_4n_2c",1],["__elem_1262def6_0_s_9A","u_0_4o_uc",1],["__elem_a97054b6_0_s_4c","u_0_4p_1X",1],["__elem_072b8e64_0_s_SO","u_0_4q_H5",1],["__elem_1262def6_0_t_1q","u_0_4r_Lq",1],["__elem_a97054b6_0_t_ET","u_0_4s_Q2",1],["__elem_072b8e64_0_t_ZD","u_0_4t_eC",1],["__elem_85b7cbf7_0_4_D1","u_0_4u_u9",1],["__elem_0c196283_0_2_Sr","u_0_4v_QG",1],["__elem_0c196283_0_3_M8","u_0_4w_Dd",1],["__elem_0c196283_0_4_z6","u_0_4x_rB",1],["__elem_0c196283_0_5_Rj","u_0_4y_+o",1],["__elem_f4afbe30_0_1_k\/","u_0_4z_sq",1],["__elem_a794192e_0_10_n3","u_0_50_Gz",1],["__elem_a794192e_0_11_3G","u_0_51_Wv",1],["__elem_a794192e_0_12_fd","u_0_52_oD",1],["__elem_a794192e_0_13_nX","u_0_53_BX",1],["__elem_a794192e_0_14_pX","u_0_54_aN",1],["__elem_a794192e_0_15_gZ","u_0_55_lF",1],["__elem_494919f0_0_1_mV","u_0_56_o3",2],["__elem_0f53bc5e_0_1_E7","u_0_57_C0",1],["__elem_bba67008_0_1_Dj","u_0_58_uq",1],["__elem_79a5c107_0_1_+e","u_0_59_Va",1],["__elem_895c8489_0_1_9B","u_0_5a_db",1],["__elem_38f86502_0_1_QP","u_0_5b_5v",1],["__elem_0c196283_0_6_Go","u_0_5c_wG",1],["__elem_e980dec4_0_3_nv","u_0_5d_Ea",1],["__elem_e980dec4_0_4_dr","u_0_5e_7K",1],["__elem_a794192e_0_16_vL","u_0_5f_Np",2],["__elem_a794192e_0_17_qF","u_0_5g_qd",2],["__elem_a794192e_0_18_A0","u_0_5h_sb",2],["__elem_a794192e_0_19_2Z","u_0_5i_39",2],["__elem_a794192e_0_1a_jh","u_0_5j_Iq",2],["__elem_a794192e_0_1b_g9","u_0_5k_EQ",2],["__elem_1262def6_0_u_dQ","u_0_5l_EO",1],["__elem_a97054b6_0_u_CA","u_0_5m_q7",1],["__elem_072b8e64_0_u_05","u_0_5n_Lt",1],["__elem_1262def6_0_v_VE","u_0_5o_Vv",1],["__elem_a97054b6_0_v_f5","u_0_5p_qp",1],["__elem_072b8e64_0_v_fd","u_0_5q_+1",1],["__elem_1262def6_0_w_y3","u_0_5r_95",1],["__elem_a97054b6_0_w_F0","u_0_5s_Hd",1],["__elem_072b8e64_0_w_F2","u_0_5t_AD",1],["__elem_1262def6_0_x_JC","u_0_5u_Bf",1],["__elem_a97054b6_0_x_do","u_0_5v_sG",1],["__elem_072b8e64_0_x_15","u_0_5w_w9",1],["__elem_1262def6_0_y_iK","u_0_5x_Pb",1],["__elem_a97054b6_0_y_ke","u_0_5y_MN",1],["__elem_072b8e64_0_y_od","u_0_5z_wU",1],["__elem_1262def6_0_z_rM","u_0_60_Ut",1],["__elem_a97054b6_0_z_GZ","u_0_61_Iz",1],["__elem_072b8e64_0_z_UA","u_0_62_xY",1],["__elem_85b7cbf7_0_5_XO","u_0_63_gz",1],["__elem_a794192e_0_1c_tr","u_0_64_I1",2],["__elem_a794192e_0_1d_Ht","u_0_65_49",2],["__elem_a794192e_0_1e_EO","u_0_66_A\/",2],["__elem_1262def6_0_10_zW","u_0_67_FH",1],["__elem_1262def6_0_11_9L","u_0_68_TB",1],["__elem_1262def6_0_12_MC","u_0_69_jO",1],["__elem_a794192e_0_1f_V9","u_0_6a_HP",2],["__elem_a794192e_0_1g_M9","u_0_6b_EL",2],["__elem_a794192e_0_1h_3Y","u_0_6c_F7",2],["__elem_1262def6_0_13_L9","u_0_6d_OA",1],["__elem_1262def6_0_14_aZ","u_0_6e_O0",1],["__elem_1262def6_0_15_nz","u_0_6f_6d",1],["__elem_a794192e_0_1i_JL","u_0_6g_nx",2],["__elem_a794192e_0_1j_bo","u_0_6h_kZ",2],["__elem_a794192e_0_1k_EZ","u_0_6i_x0",2],["__elem_a794192e_0_1l_az","u_0_6j_Wy",2],["__elem_a794192e_0_1m_gI","u_0_6k_f4",2],["__elem_a794192e_0_1n_9M","u_0_6l_SS",2],["__elem_1262def6_0_16_Vf","u_0_6m_Eh",1],["__elem_a97054b6_0_10_Yt","u_0_6n_c\/",1],["__elem_072b8e64_0_10_xw","u_0_6o_PB",1],["__elem_1262def6_0_17_0j","u_0_6p_n3",1],["__elem_a97054b6_0_11_n8","u_0_6q_rc",1],["__elem_072b8e64_0_11_7u","u_0_6r_3J",1],["__elem_1262def6_0_18_sK","u_0_6s_lS",1],["__elem_a97054b6_0_12_Ki","u_0_6t_3o",1],["__elem_072b8e64_0_12_ka","u_0_6u_9w",1],["__elem_1262def6_0_19_w9","u_0_6v_kE",1],["__elem_a97054b6_0_13_1h","u_0_6w_2c",1],["__elem_072b8e64_0_13_RI","u_0_6x_+n",1],["__elem_1262def6_0_1a_rx","u_0_6y_g8",1],["__elem_a97054b6_0_14_28","u_0_6z_1I",1],["__elem_072b8e64_0_14_2Q","u_0_70_Zt",1],["__elem_1262def6_0_1b_\/l","u_0_71_+Q",1],["__elem_a97054b6_0_15_hc","u_0_72_3y",1],["__elem_072b8e64_0_15_wL","u_0_73_11",1],["__elem_85b7cbf7_0_6_dR","u_0_74_xk",1],["__elem_f4afbe30_0_2_W7","u_0_75_Ey",1],["__elem_a794192e_0_1o_ne","u_0_76_8v",1],["__elem_a794192e_0_1p_kz","u_0_77_Zn",1],["__elem_a794192e_0_1q_PS","u_0_78_Qf",1],["__elem_a794192e_0_1r_b0","u_0_79_0x",1],["__elem_a794192e_0_1s_YX","u_0_7a_AR",1],["__elem_a794192e_0_1t_XK","u_0_7b_EL",1],["__elem_494919f0_0_2_hN","u_0_7c_II",2],["__elem_0f53bc5e_0_2_UW","u_0_7d_v0",1],["__elem_bba67008_0_2_ug","u_0_7e_iH",1],["__elem_79a5c107_0_2_rK","u_0_7f_vQ",1],["__elem_895c8489_0_2_YX","u_0_7g_GQ",1],["__elem_38f86502_0_2_If","u_0_7h_Wf",1],["__elem_0c196283_0_7_Lb","u_0_7i_xe",1],["__elem_a32d506f_0_0_th","u_0_7j_qt",1],["__elem_a32d506f_0_1_ZJ","u_0_7k_2k",1],["__elem_a32d506f_0_2_4t","u_0_7l_s2",1],["__elem_a32d506f_0_3_ce","u_0_7m_73",1],["__elem_9f5fac15_0_0_V6","devsite_header",1],["__elem_9f5fac15_0_1_\/C","documentation_breadcrumbs_pagelet",1],["__elem_a588f507_0_0_hI","u_0_7n_dC",1],["__elem_9f5fac15_0_3_hh","documentation_body_pagelet",1],["__elem_a588f507_0_2_fU","u_0_7o_X2",1],["__elem_9f5fac15_0_2_yR","devsite_footer",1]],"require":[["UniversalMicroSiteTrackingController","init",["ImmutableServerCallableWrapper"],[true,"HK",{"__imm":{"module":{"__m":"ImmutableServerCallableWrapper"},"method":"Map","value":[]}},"1pqZrbsUxZfVdV0k8",null,"https:\/\/developers.facebook.com\/docs\/marketing-api\/reference\/ad-campaign",null,null,"apac",null,"0g5MeM1olGDY5NQRB","developers",null,"",{"__imm":{"module":{"__m":"ImmutableServerCallableWrapper"},"method":"Map","value":[]}},null,"",""]],["DevsiteInteractionTracker","init",[],[{"translationStatus":null}]],["fbq","init",[],["438056466377696"]],["fbq","init",[],["721503217860715"]],["fbq","init",[],["1654677854812921"]],["fbq","init",[],["983057391856088"]],["fbq","track",[],["ViewContent",{"value":"2","currency":"EUR"}]],["fbq","init",[],["1801207626762049"]],["fbq","init",[],["1916681798651990"]],["fbq","track",[],["PageView",{"isDFCRegistered":"0"}]],["AsyncRequest","post_UNSAFE_LET_ANYONE_IMPERSONATE_THE_USER_FOR_THESE_WRITES",[],["\/ajax\/docs\/nav\/?path1=marketing-api&path2=reference&path3=ad-campaign",{}]],["__inst_c2ec5301_0_0_uG"],["DevsiteURLFragmentHandler","registerTransitionHandler",[],[]],["AnalyticsGKs","init",[],[[{"gk_name":"analytics_app_anomaly_notifications_participants","value":true},{"gk_name":"analytics_approximation_accuracy","value":false},{"gk_name":"analytics_cross_device_web_params","value":true},{"gk_name":"analytics_currency","value":true},{"gk_name":"analytics_deactivate_flagged_params","value":true},{"gk_name":"analytics_delete_flagged_properties","value":true},{"gk_name":"analytics_delete_key_for_auto_deleted_ups","value":true},{"gk_name":"analytics_delete_key_for_auto_deprecated_cps","value":true},{"gk_name":"analytics_display_deleted_user_properties_table","value":true},{"gk_name":"ios_receipt_validation_ui","value":true},{"gk_name":"analytics_rotate_key_for_pii_flagged_wps","value":true},{"gk_name":"fba_whitelisted_businesses_for_new_channels_h2","value":false},{"gk_name":"fba_curated_dashboards","value":false},{"gk_name":"fba_curated_dashboards_internal_only","value":false},{"gk_name":"insights_android_implicit_purchase_events","value":true},{"gk_name":"fba_people_insights_v2_entities_read_path","value":false},{"gk_name":"fba_people_insights_v2_entities_write_path","value":false},{"gk_name":"fba_outcomes_beta","value":false},{"gk_name":"fba_show_outcomes_for_single_entities","value":false},{"gk_name":"fba_platform_section_whitelist","value":false},{"gk_name":"fba_people_insights_v2_businesses_read_path","value":false},{"gk_name":"fba_people_insights_v2_businesses_write_path","value":false},{"gk_name":"fba_dashboard_templates","value":false},{"gk_name":"fba_path_to_conversion_prod","value":false},{"gk_name":"fba_show_bag_hide_esg","value":false}]]],["PartnershipsMarketingScrollOnLoad","scrollToIdOnLoad",[],[]],["ScriptPath","set",[],["XDeveloperDocumentationController","7459a3d2",{"imp_id":"1pqZrbsUxZfVdV0k8","ef_page":null,"uri":"https:\/\/developers.facebook.com\/docs\/marketing-api\/reference\/ad-campaign","entity_id":"61550750497965","canvas_app_id":"0","canvas_is_desktop_app":"0"}]],["ControlledReferer","useFacebookRefererHtml",["__elem_a32d506f_0_0_th"],[{"__m":"__elem_a32d506f_0_0_th"},"\u003Cimg height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"\/\/googleads.g.doubleclick.net\/pagead\/viewthroughconversion\/963623955\/?guid=ON&script=0\" \/>"]],["ControlledReferer","useFacebookRefererHtml",["__elem_a32d506f_0_1_ZJ"],[{"__m":"__elem_a32d506f_0_1_ZJ"},"\u003Cimg height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"https:\/\/dc.ads.linkedin.com\/collect\/?pid=276116&fmt=gif\" \/>"]],["ControlledReferer","useFacebookRefererHtml",["__elem_a32d506f_0_2_4t"],[{"__m":"__elem_a32d506f_0_2_4t"},"\u003Cimg height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"https:\/\/analytics.twitter.com\/i\/adsct?txn_id=nz7m3&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0\" \/>"]],["ControlledReferer","useFacebookRefererHtml",["__elem_a32d506f_0_3_ce"],[{"__m":"__elem_a32d506f_0_3_ce"},"\u003Cimg height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"\/\/t.co\/i\/adsct?txn_id=nz7m3&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0\" \/>"]],["ReactRenderer_DEPRECATED","constructAndRenderComponent_LEGACY",["DeveloperProductHomeMobileOnThisPage.react","__elem_a588f507_0_0_hI"],[{"__m":"DeveloperProductHomeMobileOnThisPage.react"},{},{"__m":"__elem_a588f507_0_0_hI"},"callsite_d1949635575"]],["AsyncRequestNectarLogging"],["DocumentTitle","set",[],["Graph API \u53c3\u7167 v21.0\uff1aAd Set",false]],["DevsiteOnScrollToSection","init",["__elem_a588f507_0_1_Gm"],[{"__m":"__elem_a588f507_0_1_Gm"}]],["DevsiteCardScrollToTopButtons","init",["__elem_a588f507_0_1_Gm"],[{"__m":"__elem_a588f507_0_1_Gm"},"to_top_nav"]],["GoogleAnalytics4Setup","setupGA4",[],[false,"G-WN22ZHXY2R",{"cookie_domain":"developers.facebook.com"},true,[]]],["prettify","init",[],[]],["prettify","init",[],[]],["prettify","init",[],[]],["prettify","init",[],[]],["prettify","init",[],[]],["ReactRenderer_DEPRECATED","constructAndRenderComponent_LEGACY",["DeveloperProductHomeOnThisPage.react","__elem_a588f507_0_2_fU"],[{"__m":"DeveloperProductHomeOnThisPage.react"},{},{"__m":"__elem_a588f507_0_2_fU"},"callsite_d1949635575"]],["__inst_ede75984_0_0_KA"],["__inst_02182015_0_0_wI"],["__inst_e5ad243d_0_0_pA"],["__inst_1de146dc_0_0_qb"],["prettify","init",[],[]],["prettify","init",[],[]],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_0_yH","__elem_a794192e_0_1_Cs","__elem_a794192e_0_2_Pr","__elem_a794192e_0_3_M7","__elem_a794192e_0_4_M5","__elem_a794192e_0_5_PS","__elem_1262def6_0_0_jP","__elem_1262def6_0_1_FK","__elem_1262def6_0_2_pi","__elem_1262def6_0_3_4M","__elem_1262def6_0_4_ec","__elem_1262def6_0_5_vw"],[{"curl":{"__m":"__elem_a794192e_0_0_yH"},"adsapi_node.js":{"__m":"__elem_a794192e_0_1_Cs"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_2_Pr"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_3_M7"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_4_M5"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_5_PS"}},{"curl":{"__m":"__elem_1262def6_0_0_jP"},"adsapi_node.js":{"__m":"__elem_1262def6_0_1_FK"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_2_pi"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_3_4M"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_4_ec"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_5_vw"}}]],["prettify","init",[],[]],["__inst_a794192e_0_0_CH"],["__inst_a794192e_0_1_AP"],["__inst_a794192e_0_2_qS"],["__inst_a794192e_0_3_tE"],["__inst_a794192e_0_4_y1"],["__inst_a794192e_0_5_m1"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_0_G4"],[{"__m":"__elem_a97054b6_0_0_G4"},"marketing_api_sample_copy","ADSET_CREATE","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_0_Vm"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X POST \\\n -F 'name=\"My Reach Ad Set\"' \\\n -F 'optimization_goal=\"REACH\"' \\\n -F 'billing_event=\"IMPRESSIONS\"' \\\n -F 'bid_amount=2' \\\n -F 'daily_budget=1000' \\\n -F 'campaign_id=\"\u003CAD_CAMPAIGN_ID>\"' \\\n -F 'targeting={\n \"geo_locations\": {\n \"countries\": [\n \"US\"\n ]\n },\n \"facebook_positions\": [\n \"feed\"\n ]\n }' \\\n -F 'status=\"PAUSED\"' \\\n -F 'promoted_object={\n \"page_id\": \"\u003CPAGE_ID>\"\n }' \\\n -F 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/act_\u003CAD_ACCOUNT_ID>\/adsets","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_0_Vm"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_1_SN"],[{"__m":"__elem_a97054b6_0_1_SN"},"marketing_api_sample_copy","ADSET_CREATE","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_1_CD"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdAccount = bizSdk.AdAccount;\nconst AdSet = bizSdk.AdSet;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_ACCOUNT_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n];\nparams = {\n 'name' : 'My Reach Ad Set',\n 'optimization_goal' : 'REACH',\n 'billing_event' : 'IMPRESSIONS',\n 'bid_amount' : '2',\n 'daily_budget' : '1000',\n 'campaign_id' : '\u003CadCampaignLinkClicksID>',\n 'targeting' : {'geo_locations':{'countries':['US']},'facebook_positions':['feed']},\n 'status' : 'PAUSED',\n 'promoted_object' : {'page_id':'\u003CpageID>'},\n};\nconst adsets = (new AdAccount(id)).createAdSet(\n fields,\n params\n);\nlogApiCallResult('adsets api call complete.', adsets);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_1_CD"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_2_mp"],[{"__m":"__elem_a97054b6_0_2_mp"},"marketing_api_sample_copy","ADSET_CREATE","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_2_8K"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdAccount;\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_ACCOUNT_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n);\n$params = array(\n 'name' => 'My Reach Ad Set',\n 'optimization_goal' => 'REACH',\n 'billing_event' => 'IMPRESSIONS',\n 'bid_amount' => '2',\n 'daily_budget' => '1000',\n 'campaign_id' => '\u003CadCampaignLinkClicksID>',\n 'targeting' => array('geo_locations' => array('countries' => array('US')),'facebook_positions' => array('feed')),\n 'status' => 'PAUSED',\n 'promoted_object' => array('page_id' => '\u003CpageID>'),\n);\necho json_encode((new AdAccount($id))->createAdSet(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_2_8K"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_3_03"],[{"__m":"__elem_a97054b6_0_3_03"},"marketing_api_sample_copy","ADSET_CREATE","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_3_yM"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adaccount import AdAccount\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_ACCOUNT_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n]\nparams = {\n 'name': 'My Reach Ad Set',\n 'optimization_goal': 'REACH',\n 'billing_event': 'IMPRESSIONS',\n 'bid_amount': '2',\n 'daily_budget': '1000',\n 'campaign_id': '\u003CadCampaignLinkClicksID>',\n 'targeting': {'geo_locations':{'countries':['US']},'facebook_positions':['feed']},\n 'status': 'PAUSED',\n 'promoted_object': {'page_id':'\u003CpageID>'},\n}\nprint AdAccount(id).create_ad_set(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_3_yM"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_4_Hc"],[{"__m":"__elem_a97054b6_0_4_Hc"},"marketing_api_sample_copy","ADSET_CREATE","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_4_SD"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_ACCOUNT_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdAccount(id, context).createAdSet()\n .setName(\\\"My Reach Ad Set\\\")\n .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_REACH)\n .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS)\n .setBidAmount(2L)\n .setDailyBudget(1000L)\n .setCampaignId(\\\"\u003CadCampaignLinkClicksID>\\\")\n .setTargeting(\n new Targeting()\n .setFieldFacebookPositions(Arrays.asList(\\\"feed\\\"))\n .setFieldGeoLocations(\n new TargetingGeoLocation()\n .setFieldCountries(Arrays.asList(\\\"US\\\"))\n )\n )\n .setStatus(AdSet.EnumStatus.VALUE_PAUSED)\n .setPromotedObject(\\\"{\\\\\"page_id\\\\\":\\\\\"\u003CpageID>\\\\\"}\\\")\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_4_SD"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_5_dy"],[{"__m":"__elem_a97054b6_0_5_dy"},"marketing_api_sample_copy","ADSET_CREATE","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_5_7Y"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_ACCOUNT_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_account = FacebookAds::AdAccount.get(id)\nadsets = ad_account.adsets.create({\n name: 'My Reach Ad Set',\n optimization_goal: 'REACH',\n billing_event: 'IMPRESSIONS',\n bid_amount: '2',\n daily_budget: '1000',\n campaign_id: '\u003CadCampaignLinkClicksID>',\n targeting: {'geo_locations':{'countries':['US']},'facebook_positions':['feed']},\n status: 'PAUSED',\n promoted_object: {'page_id':'\u003CpageID>'},\n})\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_5_7Y"}]],["__inst_835c633a_0_0_90"],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_6_Gl","__elem_a794192e_0_7_wS","__elem_a794192e_0_8_u5","__elem_a794192e_0_9_UE","__elem_a794192e_0_a_x2","__elem_a794192e_0_b_4f","__elem_1262def6_0_6_Ku","__elem_1262def6_0_7_7q","__elem_1262def6_0_8_Ik","__elem_1262def6_0_9_ME","__elem_1262def6_0_a_d8","__elem_1262def6_0_b_vf"],[{"curl":{"__m":"__elem_a794192e_0_6_Gl"},"adsapi_node.js":{"__m":"__elem_a794192e_0_7_wS"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_8_u5"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_9_UE"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_a_x2"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_b_4f"}},{"curl":{"__m":"__elem_1262def6_0_6_Ku"},"adsapi_node.js":{"__m":"__elem_1262def6_0_7_7q"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_8_Ik"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_9_ME"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_a_d8"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_b_vf"}}]],["prettify","init",[],[]],["__inst_a794192e_0_6_p6"],["__inst_a794192e_0_7_\/Y"],["__inst_a794192e_0_8_mm"],["__inst_a794192e_0_9_vY"],["__inst_a794192e_0_a_nJ"],["__inst_a794192e_0_b_mO"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_6_zy"],[{"__m":"__elem_a97054b6_0_6_zy"},"marketing_api_sample_copy","ADSET_CREATE_LIFETIME_BUDGET_200_DOLLARS_DURATION_10_DAYS","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_6_W2"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X POST \\\n -F 'name=\"My First Adset\"' \\\n -F 'lifetime_budget=20000' \\\n -F 'start_time=\"2024-11-23T04:22:31-0800\"' \\\n -F 'end_time=\"2024-12-03T04:22:31-0800\"' \\\n -F 'campaign_id=\"\u003CAD_CAMPAIGN_ID>\"' \\\n -F 'bid_amount=100' \\\n -F 'billing_event=\"LINK_CLICKS\"' \\\n -F 'optimization_goal=\"LINK_CLICKS\"' \\\n -F 'targeting={\n \"facebook_positions\": [\n \"feed\"\n ],\n \"geo_locations\": {\n \"countries\": [\n \"US\"\n ]\n },\n \"publisher_platforms\": [\n \"facebook\",\n \"audience_network\"\n ]\n }' \\\n -F 'status=\"PAUSED\"' \\\n -F 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/act_\u003CAD_ACCOUNT_ID>\/adsets","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_6_W2"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_7_g3"],[{"__m":"__elem_a97054b6_0_7_g3"},"marketing_api_sample_copy","ADSET_CREATE_LIFETIME_BUDGET_200_DOLLARS_DURATION_10_DAYS","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_7_V1"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdAccount = bizSdk.AdAccount;\nconst AdSet = bizSdk.AdSet;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_ACCOUNT_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n];\nparams = {\n 'name' : 'My First Adset',\n 'lifetime_budget' : '20000',\n 'start_time' : '2024-07-29T17:54:57-0700',\n 'end_time' : '2024-08-08T17:54:57-0700',\n 'campaign_id' : '\u003CadCampaignLinkClicksID>',\n 'bid_amount' : '100',\n 'billing_event' : 'LINK_CLICKS',\n 'optimization_goal' : 'LINK_CLICKS',\n 'targeting' : {'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network']},\n 'status' : 'PAUSED',\n};\nconst adsets = (new AdAccount(id)).createAdSet(\n fields,\n params\n);\nlogApiCallResult('adsets api call complete.', adsets);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_7_V1"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_8_NP"],[{"__m":"__elem_a97054b6_0_8_NP"},"marketing_api_sample_copy","ADSET_CREATE_LIFETIME_BUDGET_200_DOLLARS_DURATION_10_DAYS","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_8_Xl"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdAccount;\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_ACCOUNT_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n);\n$params = array(\n 'name' => 'My First Adset',\n 'lifetime_budget' => '20000',\n 'start_time' => '2024-07-29T17:54:57-0700',\n 'end_time' => '2024-08-08T17:54:57-0700',\n 'campaign_id' => '\u003CadCampaignLinkClicksID>',\n 'bid_amount' => '100',\n 'billing_event' => 'LINK_CLICKS',\n 'optimization_goal' => 'LINK_CLICKS',\n 'targeting' => array('facebook_positions' => array('feed'),'geo_locations' => array('countries' => array('US')),'publisher_platforms' => array('facebook','audience_network')),\n 'status' => 'PAUSED',\n);\necho json_encode((new AdAccount($id))->createAdSet(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_8_Xl"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_9_+G"],[{"__m":"__elem_a97054b6_0_9_+G"},"marketing_api_sample_copy","ADSET_CREATE_LIFETIME_BUDGET_200_DOLLARS_DURATION_10_DAYS","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_9_b9"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adaccount import AdAccount\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_ACCOUNT_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n]\nparams = {\n 'name': 'My First Adset',\n 'lifetime_budget': '20000',\n 'start_time': '2024-07-29T17:54:57-0700',\n 'end_time': '2024-08-08T17:54:57-0700',\n 'campaign_id': '\u003CadCampaignLinkClicksID>',\n 'bid_amount': '100',\n 'billing_event': 'LINK_CLICKS',\n 'optimization_goal': 'LINK_CLICKS',\n 'targeting': {'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network']},\n 'status': 'PAUSED',\n}\nprint AdAccount(id).create_ad_set(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_9_b9"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_a_1k"],[{"__m":"__elem_a97054b6_0_a_1k"},"marketing_api_sample_copy","ADSET_CREATE_LIFETIME_BUDGET_200_DOLLARS_DURATION_10_DAYS","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_a_6b"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_ACCOUNT_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdAccount(id, context).createAdSet()\n .setName(\\\"My First Adset\\\")\n .setLifetimeBudget(20000L)\n .setStartTime(\\\"2024-07-29T17:54:57-0700\\\")\n .setEndTime(\\\"2024-08-08T17:54:57-0700\\\")\n .setCampaignId(\\\"\u003CadCampaignLinkClicksID>\\\")\n .setBidAmount(100L)\n .setBillingEvent(AdSet.EnumBillingEvent.VALUE_LINK_CLICKS)\n .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_LINK_CLICKS)\n .setTargeting(\n new Targeting()\n .setFieldFacebookPositions(Arrays.asList(\\\"feed\\\"))\n .setFieldGeoLocations(\n new TargetingGeoLocation()\n .setFieldCountries(Arrays.asList(\\\"US\\\"))\n )\n .setFieldPublisherPlatforms(Arrays.asList(\\\"facebook\\\", \\\"audience_network\\\"))\n )\n .setStatus(AdSet.EnumStatus.VALUE_PAUSED)\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_a_6b"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_b_jW"],[{"__m":"__elem_a97054b6_0_b_jW"},"marketing_api_sample_copy","ADSET_CREATE_LIFETIME_BUDGET_200_DOLLARS_DURATION_10_DAYS","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_b_Yj"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_ACCOUNT_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_account = FacebookAds::AdAccount.get(id)\nadsets = ad_account.adsets.create({\n name: 'My First Adset',\n lifetime_budget: '20000',\n start_time: '2024-07-29T17:54:57-0700',\n end_time: '2024-08-08T17:54:57-0700',\n campaign_id: '\u003CadCampaignLinkClicksID>',\n bid_amount: '100',\n billing_event: 'LINK_CLICKS',\n optimization_goal: 'LINK_CLICKS',\n targeting: {'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network']},\n status: 'PAUSED',\n})\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_b_Yj"}]],["__inst_835c633a_0_1_Kc"],["__inst_b123e231_0_0_2c"],["prettify","init",[],[]],["prettify","init",[],[]],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_c_y0","__elem_a794192e_0_d_LI","__elem_a794192e_0_e_nZ","__elem_a794192e_0_f_tp","__elem_a794192e_0_g_Md","__elem_a794192e_0_h_0A","__elem_1262def6_0_c_5Z","__elem_1262def6_0_d_tr","__elem_1262def6_0_e_nt","__elem_1262def6_0_f_YI","__elem_1262def6_0_g_tH","__elem_1262def6_0_h_cK"],[{"curl":{"__m":"__elem_a794192e_0_c_y0"},"adsapi_node.js":{"__m":"__elem_a794192e_0_d_LI"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_e_nZ"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_f_tp"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_g_Md"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_h_0A"}},{"curl":{"__m":"__elem_1262def6_0_c_5Z"},"adsapi_node.js":{"__m":"__elem_1262def6_0_d_tr"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_e_nt"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_f_YI"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_g_tH"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_h_cK"}}]],["prettify","init",[],[]],["__inst_a794192e_0_c_IN"],["__inst_a794192e_0_d_xP"],["__inst_a794192e_0_e_iy"],["__inst_a794192e_0_f_0U"],["__inst_a794192e_0_g_pm"],["__inst_a794192e_0_h_fi"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_c_tX"],[{"__m":"__elem_a97054b6_0_c_tX"},"marketing_api_sample_copy","ADSET_READ","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_c_pX"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X GET \\\n -d 'fields=\"name,status\"' \\\n -d 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/\u003CAD_SET_ID>\/","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_c_pX"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_d_Ed"],[{"__m":"__elem_a97054b6_0_d_Ed"},"marketing_api_sample_copy","ADSET_READ","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_d_0u"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdSet = bizSdk.AdSet;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_SET_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n 'name',\n 'status',\n];\nparams = {\n};\nconst sample_code = (new AdSet(id)).get(\n fields,\n params\n);\nlogApiCallResult('sample_code api call complete.', sample_code);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_d_0u"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_e_cY"],[{"__m":"__elem_a97054b6_0_e_cY"},"marketing_api_sample_copy","ADSET_READ","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_e_jy"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_SET_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n 'name',\n 'status',\n);\n$params = array(\n);\necho json_encode((new AdSet($id))->getSelf(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_e_jy"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_f_yG"],[{"__m":"__elem_a97054b6_0_f_yG"},"marketing_api_sample_copy","ADSET_READ","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_f_4z"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n 'name',\n 'status',\n]\nparams = {\n}\nprint AdSet(id).get(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_f_4z"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_g_9r"],[{"__m":"__elem_a97054b6_0_g_9r"},"marketing_api_sample_copy","ADSET_READ","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_g_fk"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_SET_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdSet(id, context).get()\n .requestNameField()\n .requestStatusField()\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_g_fk"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_h_Lv"],[{"__m":"__elem_a97054b6_0_h_Lv"},"marketing_api_sample_copy","ADSET_READ","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_h_g\/"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_set = FacebookAds::AdSet.get(id ,'name,status')\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_h_g\/"}]],["__inst_835c633a_0_2_o3"],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_i_mv","__elem_a794192e_0_j_f1","__elem_a794192e_0_k_jR","__elem_a794192e_0_l_Ld","__elem_a794192e_0_m_MR","__elem_a794192e_0_n_r9","__elem_1262def6_0_i_\/4","__elem_1262def6_0_j_fI","__elem_1262def6_0_k_S8","__elem_1262def6_0_l_p7","__elem_1262def6_0_m_eE","__elem_1262def6_0_n_r+"],[{"curl":{"__m":"__elem_a794192e_0_i_mv"},"adsapi_node.js":{"__m":"__elem_a794192e_0_j_f1"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_k_jR"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_l_Ld"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_m_MR"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_n_r9"}},{"curl":{"__m":"__elem_1262def6_0_i_\/4"},"adsapi_node.js":{"__m":"__elem_1262def6_0_j_fI"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_k_S8"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_l_p7"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_m_eE"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_n_r+"}}]],["prettify","init",[],[]],["__inst_a794192e_0_i_T1"],["__inst_a794192e_0_j_eZ"],["__inst_a794192e_0_k_wu"],["__inst_a794192e_0_l_Y8"],["__inst_a794192e_0_m_HJ"],["__inst_a794192e_0_n_wE"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_i_iK"],[{"__m":"__elem_a97054b6_0_i_iK"},"marketing_api_sample_copy","ADSET_READ_FORMAT","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_i_Jl"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X GET \\\n -d 'fields=\"id,name,start_time,end_time\"' \\\n -d 'date_format=\"U\"' \\\n -d 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/\u003CAD_SET_ID>\/","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_i_Jl"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_j_jl"],[{"__m":"__elem_a97054b6_0_j_jl"},"marketing_api_sample_copy","ADSET_READ_FORMAT","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_j_7b"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdSet = bizSdk.AdSet;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_SET_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n 'id',\n 'name',\n 'start_time',\n 'end_time',\n];\nparams = {\n 'date_format' : 'U',\n};\nconst sample_code = (new AdSet(id)).get(\n fields,\n params\n);\nlogApiCallResult('sample_code api call complete.', sample_code);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_j_7b"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_k_3z"],[{"__m":"__elem_a97054b6_0_k_3z"},"marketing_api_sample_copy","ADSET_READ_FORMAT","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_k_D4"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_SET_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n 'id',\n 'name',\n 'start_time',\n 'end_time',\n);\n$params = array(\n 'date_format' => 'U',\n);\necho json_encode((new AdSet($id))->getSelf(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_k_D4"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_l_a6"],[{"__m":"__elem_a97054b6_0_l_a6"},"marketing_api_sample_copy","ADSET_READ_FORMAT","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_l_+K"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n 'id',\n 'name',\n 'start_time',\n 'end_time',\n]\nparams = {\n 'date_format': 'U',\n}\nprint AdSet(id).get(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_l_+K"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_m_dT"],[{"__m":"__elem_a97054b6_0_m_dT"},"marketing_api_sample_copy","ADSET_READ_FORMAT","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_m_8e"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_SET_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdSet(id, context).get()\n .setParam(\\\"date_format\\\", \\\"U\\\")\n .requestIdField()\n .requestNameField()\n .requestStartTimeField()\n .requestEndTimeField()\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_m_8e"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_n_2j"],[{"__m":"__elem_a97054b6_0_n_2j"},"marketing_api_sample_copy","ADSET_READ_FORMAT","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_n_rU"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_set = FacebookAds::AdSet.get(id ,'id,name,start_time,end_time')\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_n_rU"}]],["__inst_835c633a_0_3_UZ"],["__inst_43b438b9_0_0_l8"],["__inst_f4afbe30_0_0_9d"],["__inst_a794192e_0_o_70"],["__inst_a794192e_0_p_LP"],["__inst_a794192e_0_q_Sh"],["__inst_a794192e_0_r_pG"],["__inst_a794192e_0_s_Yd"],["__inst_a794192e_0_t_oh"],["__inst_b123e231_0_1_eR"],["TooltipData","set",["__elem_e980dec4_0_0_kN","__markup_d3c2dfe2_0_0_4+","HTML"],[{"__m":"__elem_e980dec4_0_0_kN"},{"__m":"__markup_d3c2dfe2_0_0_4+"}]],["TooltipData","set",["__elem_e980dec4_0_1_3Q","__markup_d3c2dfe2_0_1_RK","HTML"],[{"__m":"__elem_e980dec4_0_1_3Q"},{"__m":"__markup_d3c2dfe2_0_1_RK"}]],["TooltipData","set",["__elem_e980dec4_0_2_Rk","__markup_d3c2dfe2_0_2_8A","HTML"],[{"__m":"__elem_e980dec4_0_2_Rk"},{"__m":"__markup_d3c2dfe2_0_2_8A"}]],["prettify","init",[],[]],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_u_BG","__elem_a794192e_0_v_ZF","__elem_a794192e_0_w_Kq","__elem_a794192e_0_x_O\/","__elem_a794192e_0_y_yF","__elem_a794192e_0_z_It","__elem_1262def6_0_o_aT","__elem_1262def6_0_p_78","__elem_1262def6_0_q_Hy","__elem_1262def6_0_r_aj","__elem_1262def6_0_s_9A","__elem_1262def6_0_t_1q"],[{"curl":{"__m":"__elem_a794192e_0_u_BG"},"adsapi_node.js":{"__m":"__elem_a794192e_0_v_ZF"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_w_Kq"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_x_O\/"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_y_yF"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_z_It"}},{"curl":{"__m":"__elem_1262def6_0_o_aT"},"adsapi_node.js":{"__m":"__elem_1262def6_0_p_78"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_q_Hy"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_r_aj"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_s_9A"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_t_1q"}}]],["prettify","init",[],[]],["__inst_a794192e_0_u_xp"],["__inst_a794192e_0_v_II"],["__inst_a794192e_0_w_H3"],["__inst_a794192e_0_x_8B"],["__inst_a794192e_0_y_1O"],["__inst_a794192e_0_z_S7"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_o_qv"],[{"__m":"__elem_a97054b6_0_o_qv"},"marketing_api_sample_copy","ADSET_CREATE_MAIA","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_o_vM"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X POST \\\n -F 'name=\"Mobile App Installs Ad Set\"' \\\n -F 'daily_budget=1000' \\\n -F 'bid_amount=2' \\\n -F 'billing_event=\"IMPRESSIONS\"' \\\n -F 'optimization_goal=\"APP_INSTALLS\"' \\\n -F 'campaign_id=\"\u003CAD_CAMPAIGN_ID>\"' \\\n -F 'promoted_object={\n \"application_id\": \"\u003CAPP_ID>\",\n \"object_store_url\": \"\u003CAPP_STORE_URL>\"\n }' \\\n -F 'targeting={\n \"device_platforms\": [\n \"mobile\"\n ],\n \"facebook_positions\": [\n \"feed\"\n ],\n \"geo_locations\": {\n \"countries\": [\n \"US\"\n ]\n },\n \"publisher_platforms\": [\n \"facebook\",\n \"audience_network\"\n ],\n \"user_os\": [\n \"IOS\"\n ]\n }' \\\n -F 'status=\"PAUSED\"' \\\n -F 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/act_\u003CAD_ACCOUNT_ID>\/adsets","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_o_vM"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_p_kl"],[{"__m":"__elem_a97054b6_0_p_kl"},"marketing_api_sample_copy","ADSET_CREATE_MAIA","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_p_cQ"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdAccount = bizSdk.AdAccount;\nconst AdSet = bizSdk.AdSet;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_ACCOUNT_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n];\nparams = {\n 'name' : 'Mobile App Installs Ad Set',\n 'daily_budget' : '1000',\n 'bid_amount' : '2',\n 'billing_event' : 'IMPRESSIONS',\n 'optimization_goal' : 'APP_INSTALLS',\n 'campaign_id' : '\u003CadCampaignAppInstallsID>',\n 'promoted_object' : {'application_id':'\u003CappID>','object_store_url':'\u003CappLink>'},\n 'targeting' : {'device_platforms':['mobile'],'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network'],'user_os':['IOS']},\n 'status' : 'PAUSED',\n};\nconst adsets = (new AdAccount(id)).createAdSet(\n fields,\n params\n);\nlogApiCallResult('adsets api call complete.', adsets);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_p_cQ"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_q_rJ"],[{"__m":"__elem_a97054b6_0_q_rJ"},"marketing_api_sample_copy","ADSET_CREATE_MAIA","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_q_HG"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdAccount;\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_ACCOUNT_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n);\n$params = array(\n 'name' => 'Mobile App Installs Ad Set',\n 'daily_budget' => '1000',\n 'bid_amount' => '2',\n 'billing_event' => 'IMPRESSIONS',\n 'optimization_goal' => 'APP_INSTALLS',\n 'campaign_id' => '\u003CadCampaignAppInstallsID>',\n 'promoted_object' => array('application_id' => '\u003CappID>','object_store_url' => '\u003CappLink>'),\n 'targeting' => array('device_platforms' => array('mobile'),'facebook_positions' => array('feed'),'geo_locations' => array('countries' => array('US')),'publisher_platforms' => array('facebook','audience_network'),'user_os' => array('IOS')),\n 'status' => 'PAUSED',\n);\necho json_encode((new AdAccount($id))->createAdSet(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_q_HG"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_r_t8"],[{"__m":"__elem_a97054b6_0_r_t8"},"marketing_api_sample_copy","ADSET_CREATE_MAIA","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_r_wX"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adaccount import AdAccount\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_ACCOUNT_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n]\nparams = {\n 'name': 'Mobile App Installs Ad Set',\n 'daily_budget': '1000',\n 'bid_amount': '2',\n 'billing_event': 'IMPRESSIONS',\n 'optimization_goal': 'APP_INSTALLS',\n 'campaign_id': '\u003CadCampaignAppInstallsID>',\n 'promoted_object': {'application_id':'\u003CappID>','object_store_url':'\u003CappLink>'},\n 'targeting': {'device_platforms':['mobile'],'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network'],'user_os':['IOS']},\n 'status': 'PAUSED',\n}\nprint AdAccount(id).create_ad_set(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_r_wX"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_s_4c"],[{"__m":"__elem_a97054b6_0_s_4c"},"marketing_api_sample_copy","ADSET_CREATE_MAIA","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_s_SO"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_ACCOUNT_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdAccount(id, context).createAdSet()\n .setName(\\\"Mobile App Installs Ad Set\\\")\n .setDailyBudget(1000L)\n .setBidAmount(2L)\n .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS)\n .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_APP_INSTALLS)\n .setCampaignId(\\\"\u003CadCampaignAppInstallsID>\\\")\n .setPromotedObject(\\\"{\\\\\"application_id\\\\\":\\\\\"\u003CappID>\\\\\",\\\\\"object_store_url\\\\\":\\\\\"\u003CappLink>\\\\\"}\\\")\n .setTargeting(\n new Targeting()\n .setFieldDevicePlatforms(Arrays.asList(Targeting.EnumDevicePlatforms.VALUE_MOBILE))\n .setFieldFacebookPositions(Arrays.asList(\\\"feed\\\"))\n .setFieldGeoLocations(\n new TargetingGeoLocation()\n .setFieldCountries(Arrays.asList(\\\"US\\\"))\n )\n .setFieldPublisherPlatforms(Arrays.asList(\\\"facebook\\\", \\\"audience_network\\\"))\n .setFieldUserOs(Arrays.asList(\\\"IOS\\\"))\n )\n .setStatus(AdSet.EnumStatus.VALUE_PAUSED)\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_s_SO"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_t_ET"],[{"__m":"__elem_a97054b6_0_t_ET"},"marketing_api_sample_copy","ADSET_CREATE_MAIA","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_t_ZD"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_ACCOUNT_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_account = FacebookAds::AdAccount.get(id)\nadsets = ad_account.adsets.create({\n name: 'Mobile App Installs Ad Set',\n daily_budget: '1000',\n bid_amount: '2',\n billing_event: 'IMPRESSIONS',\n optimization_goal: 'APP_INSTALLS',\n campaign_id: '\u003CadCampaignAppInstallsID>',\n promoted_object: {'application_id':'\u003CappID>','object_store_url':'\u003CappLink>'},\n targeting: {'device_platforms':['mobile'],'facebook_positions':['feed'],'geo_locations':{'countries':['US']},'publisher_platforms':['facebook','audience_network'],'user_os':['IOS']},\n status: 'PAUSED',\n})\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_t_ZD"}]],["__inst_835c633a_0_4_ss"],["__inst_b123e231_0_2_pz"],["__inst_b123e231_0_3_71"],["__inst_b123e231_0_4_kG"],["__inst_b123e231_0_5_Kf"],["__inst_43b438b9_0_1_k3"],["__inst_f4afbe30_0_1_fv"],["__inst_a794192e_0_10_yp"],["__inst_a794192e_0_11_pA"],["__inst_a794192e_0_12_Q3"],["__inst_a794192e_0_13_6h"],["__inst_a794192e_0_14_9y"],["__inst_a794192e_0_15_L9"],["__inst_b123e231_0_6_XX"],["TooltipData","set",["__elem_e980dec4_0_3_nv","__markup_d3c2dfe2_0_3_PL","HTML"],[{"__m":"__elem_e980dec4_0_3_nv"},{"__m":"__markup_d3c2dfe2_0_3_PL"}]],["TooltipData","set",["__elem_e980dec4_0_4_dr","__markup_d3c2dfe2_0_4_4T","HTML"],[{"__m":"__elem_e980dec4_0_4_dr"},{"__m":"__markup_d3c2dfe2_0_4_4T"}]],["prettify","init",[],[]],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_16_vL","__elem_a794192e_0_17_qF","__elem_a794192e_0_18_A0","__elem_a794192e_0_19_2Z","__elem_a794192e_0_1a_jh","__elem_a794192e_0_1b_g9","__elem_1262def6_0_u_dQ","__elem_1262def6_0_v_VE","__elem_1262def6_0_w_y3","__elem_1262def6_0_x_JC","__elem_1262def6_0_y_iK","__elem_1262def6_0_z_rM"],[{"curl":{"__m":"__elem_a794192e_0_16_vL"},"adsapi_node.js":{"__m":"__elem_a794192e_0_17_qF"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_18_A0"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_19_2Z"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_1a_jh"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_1b_g9"}},{"curl":{"__m":"__elem_1262def6_0_u_dQ"},"adsapi_node.js":{"__m":"__elem_1262def6_0_v_VE"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_w_y3"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_x_JC"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_y_iK"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_z_rM"}}]],["prettify","init",[],[]],["__inst_a794192e_0_16_uD"],["__inst_a794192e_0_17_4+"],["__inst_a794192e_0_18_dD"],["__inst_a794192e_0_19_JY"],["__inst_a794192e_0_1a_+Z"],["__inst_a794192e_0_1b_fk"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_u_CA"],[{"__m":"__elem_a97054b6_0_u_CA"},"marketing_api_sample_copy","ADSET_UPDATE_CPA","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_u_05"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X POST \\\n -F 'billing_event=\"IMPRESSIONS\"' \\\n -F 'optimization_goal=\"LINK_CLICKS\"' \\\n -F 'bid_amount=200' \\\n -F 'targeting={\n \"geo_locations\": {\n \"countries\": [\n \"US\"\n ]\n },\n \"facebook_positions\": [\n \"feed\"\n ]\n }' \\\n -F 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/\u003CAD_SET_ID>\/","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_u_05"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_v_f5"],[{"__m":"__elem_a97054b6_0_v_f5"},"marketing_api_sample_copy","ADSET_UPDATE_CPA","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_v_fd"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdSet = bizSdk.AdSet;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_SET_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n];\nparams = {\n 'billing_event' : 'IMPRESSIONS',\n 'optimization_goal' : 'LINK_CLICKS',\n 'bid_amount' : '200',\n 'targeting' : {'geo_locations':{'countries':['US']},'facebook_positions':['feed']},\n};\nconst sample_code = (new AdSet(id)).update(\n fields,\n params\n);\nlogApiCallResult('sample_code api call complete.', sample_code);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_v_fd"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_w_F0"],[{"__m":"__elem_a97054b6_0_w_F0"},"marketing_api_sample_copy","ADSET_UPDATE_CPA","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_w_F2"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_SET_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n);\n$params = array(\n 'billing_event' => 'IMPRESSIONS',\n 'optimization_goal' => 'LINK_CLICKS',\n 'bid_amount' => '200',\n 'targeting' => array('geo_locations' => array('countries' => array('US')),'facebook_positions' => array('feed')),\n);\necho json_encode((new AdSet($id))->updateSelf(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_w_F2"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_x_do"],[{"__m":"__elem_a97054b6_0_x_do"},"marketing_api_sample_copy","ADSET_UPDATE_CPA","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_x_15"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n]\nparams = {\n 'billing_event': 'IMPRESSIONS',\n 'optimization_goal': 'LINK_CLICKS',\n 'bid_amount': '200',\n 'targeting': {'geo_locations':{'countries':['US']},'facebook_positions':['feed']},\n}\nprint AdSet(id).update(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_x_15"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_y_ke"],[{"__m":"__elem_a97054b6_0_y_ke"},"marketing_api_sample_copy","ADSET_UPDATE_CPA","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_y_od"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_SET_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdSet(id, context).update()\n .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS)\n .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_LINK_CLICKS)\n .setBidAmount(200L)\n .setTargeting(\n new Targeting()\n .setFieldFacebookPositions(Arrays.asList(\\\"feed\\\"))\n .setFieldGeoLocations(\n new TargetingGeoLocation()\n .setFieldCountries(Arrays.asList(\\\"US\\\"))\n )\n )\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_y_od"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_z_GZ"],[{"__m":"__elem_a97054b6_0_z_GZ"},"marketing_api_sample_copy","ADSET_UPDATE_CPA","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_z_UA"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_set = FacebookAds::AdSet.get(id)\nad_set.billing_event = 'IMPRESSIONS'ad_set.optimization_goal = 'LINK_CLICKS'ad_set.bid_amount = '200'ad_set.targeting = {'geo_locations':{'countries':['US']},'facebook_positions':['feed']}\nad_set.save\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_z_UA"}]],["__inst_835c633a_0_5_PB"],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_1c_tr","__elem_a794192e_0_1d_Ht","__elem_a794192e_0_1e_EO","__elem_1262def6_0_10_zW","__elem_1262def6_0_11_9L","__elem_1262def6_0_12_MC"],[{"adsapi_phpsdk":{"__m":"__elem_a794192e_0_1c_tr"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_1d_Ht"},"curl":{"__m":"__elem_a794192e_0_1e_EO"}},{"adsapi_phpsdk":{"__m":"__elem_1262def6_0_10_zW"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_11_9L"},"curl":{"__m":"__elem_1262def6_0_12_MC"}}]],["prettify","init",[],[]],["__inst_a794192e_0_1c_WB"],["__inst_a794192e_0_1d_h+"],["__inst_a794192e_0_1e_XK"],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_1f_V9","__elem_a794192e_0_1g_M9","__elem_a794192e_0_1h_3Y","__elem_1262def6_0_13_L9","__elem_1262def6_0_14_aZ","__elem_1262def6_0_15_nz"],[{"adsapi_phpsdk":{"__m":"__elem_a794192e_0_1f_V9"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_1g_M9"},"curl":{"__m":"__elem_a794192e_0_1h_3Y"}},{"adsapi_phpsdk":{"__m":"__elem_1262def6_0_13_L9"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_14_aZ"},"curl":{"__m":"__elem_1262def6_0_15_nz"}}]],["prettify","init",[],[]],["__inst_a794192e_0_1f_RA"],["__inst_a794192e_0_1g_1M"],["__inst_a794192e_0_1h_md"],["prettify","init",[],[]],["DevsiteDocsCMSCodeTabs","init",["__elem_a794192e_0_1i_JL","__elem_a794192e_0_1j_bo","__elem_a794192e_0_1k_EZ","__elem_a794192e_0_1l_az","__elem_a794192e_0_1m_gI","__elem_a794192e_0_1n_9M","__elem_1262def6_0_16_Vf","__elem_1262def6_0_17_0j","__elem_1262def6_0_18_sK","__elem_1262def6_0_19_w9","__elem_1262def6_0_1a_rx","__elem_1262def6_0_1b_\/l"],[{"curl":{"__m":"__elem_a794192e_0_1i_JL"},"adsapi_node.js":{"__m":"__elem_a794192e_0_1j_bo"},"adsapi_phpsdk":{"__m":"__elem_a794192e_0_1k_EZ"},"adsapi_pythonsdk":{"__m":"__elem_a794192e_0_1l_az"},"adsapi_javasdk":{"__m":"__elem_a794192e_0_1m_gI"},"adsapi_rubysdk":{"__m":"__elem_a794192e_0_1n_9M"}},{"curl":{"__m":"__elem_1262def6_0_16_Vf"},"adsapi_node.js":{"__m":"__elem_1262def6_0_17_0j"},"adsapi_phpsdk":{"__m":"__elem_1262def6_0_18_sK"},"adsapi_pythonsdk":{"__m":"__elem_1262def6_0_19_w9"},"adsapi_javasdk":{"__m":"__elem_1262def6_0_1a_rx"},"adsapi_rubysdk":{"__m":"__elem_1262def6_0_1b_\/l"}}]],["prettify","init",[],[]],["__inst_a794192e_0_1i_B6"],["__inst_a794192e_0_1j_wJ"],["__inst_a794192e_0_1k_8x"],["__inst_a794192e_0_1l_Wf"],["__inst_a794192e_0_1m_p\/"],["__inst_a794192e_0_1n_r0"],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_10_Yt"],[{"__m":"__elem_a97054b6_0_10_Yt"},"marketing_api_sample_copy","ADSET_DELETE","curl"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_10_xw"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"curl -X DELETE \\\n -F 'access_token=\u003CACCESS_TOKEN>' \\\n https:\/\/graph.facebook.com\/v21.0\/\u003CAD_SET_ID>\/","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_10_xw"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_11_n8"],[{"__m":"__elem_a97054b6_0_11_n8"},"marketing_api_sample_copy","ADSET_DELETE","adsapi_node.js"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_11_7u"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\n'use strict';\nconst bizSdk = require('facebook-nodejs-business-sdk');\nconst AdSet = bizSdk.AdSet;\nconst AbstractObject = bizSdk.AbstractObject;\n\nconst access_token = '\u003CACCESS_TOKEN>';\nconst app_secret = '\u003CAPP_SECRET>';\nconst app_id = '\u003CAPP_ID>';\nconst id = '\u003CAD_SET_ID>';\nconst api = bizSdk.FacebookAdsApi.init(access_token);\nconst showDebugingInfo = true; \/\/ Setting this to true shows more debugging info.\nif (showDebugingInfo) {\n api.setDebug(true);\n}\n\nconst logApiCallResult = (apiCallName, data) => {\n console.log(apiCallName);\n if (showDebugingInfo) {\n console.log('Data:' + JSON.stringify(data));\n }\n};\n\nlet fields, params;\nfields = [\n];\nparams = {\n};\nconst sample_code = (new AdSet(id)).delete(\n fields,\n params\n);\nlogApiCallResult('sample_code api call complete.', sample_code);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_11_7u"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_12_Ki"],[{"__m":"__elem_a97054b6_0_12_Ki"},"marketing_api_sample_copy","ADSET_DELETE","adsapi_phpsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_12_ka"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse FacebookAds\\Object\\AdSet;\nuse FacebookAds\\Object\\AbstractObject;\nuse FacebookAds\\Api;\nuse FacebookAds\\Logger\\CurlLogger;\n\n$access_token = '\u003CACCESS_TOKEN>';\n$app_secret = '\u003CAPP_SECRET>';\n$app_id = '\u003CAPP_ID>';\n$id = '\u003CAD_SET_ID>';\n\n$api = Api::init($app_id, $app_secret, $access_token);\n$api->setLogger(new CurlLogger());\n\n$fields = array(\n);\n$params = array(\n);\necho json_encode((new AdSet($id))->deleteSelf(\n $fields,\n $params\n)->exportAllData(), JSON_PRETTY_PRINT);\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_12_ka"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_13_1h"],[{"__m":"__elem_a97054b6_0_13_1h"},"marketing_api_sample_copy","ADSET_DELETE","adsapi_pythonsdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_13_RI"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nfrom facebook_business.adobjects.adset import AdSet\nfrom facebook_business.adobjects.abstractobject import AbstractObject\nfrom facebook_business.api import FacebookAdsApi\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\nFacebookAdsApi.init(access_token=access_token)\n\nfields = [\n]\nparams = {\n}\nprint AdSet(id).delete(\n fields=fields,\n params=params,\n)\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_13_RI"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_14_28"],[{"__m":"__elem_a97054b6_0_14_28"},"marketing_api_sample_copy","ADSET_DELETE","adsapi_javasdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_14_2Q"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nimport com.facebook.ads.sdk.*;\nimport java.io.File;\nimport java.util.Arrays;\n\npublic class SAMPLE_CODE_EXAMPLE {\n public static void main (String args[]) throws APIException {\n\n String access_token = \\\"\u003CACCESS_TOKEN>\\\";\n String app_secret = \\\"\u003CAPP_SECRET>\\\";\n String app_id = \\\"\u003CAPP_ID>\\\";\n String id = \\\"\u003CAD_SET_ID>\\\";\n APIContext context = new APIContext(access_token).enableDebug(true);\n\n new AdSet(id, context).delete()\n .execute();\n\n }\n}\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_14_2Q"}]],["DeveloperSiteSampleEventLogger","init",["__elem_a97054b6_0_15_hc"],[{"__m":"__elem_a97054b6_0_15_hc"},"marketing_api_sample_copy","ADSET_DELETE","adsapi_rubysdk"]],["ReactRenderer","constructAndRenderComponent",["FBClipboardLink.react","__elem_072b8e64_0_15_wL"],[{"__m":"FBClipboardLink.react"},{"label":"\u8907\u88fd\u4ee3\u78bc","value":"\nrequire 'facebook_ads'\n\naccess_token = '\u003CACCESS_TOKEN>'\napp_secret = '\u003CAPP_SECRET>'\napp_id = '\u003CAPP_ID>'\nid = '\u003CAD_SET_ID>'\n\nFacebookAds.configure do |config|\n config.access_token = access_token\n config.app_secret = app_secret\nend\n\nad_set = FacebookAds::AdSet.get(id)\nad_set.destroy({\n\n})\n\n","tooltip":"\u8907\u88fd\u4ee3\u78bc\u5230\u526a\u8cbc\u7c3f","tooltipSuccess":"\u5df2\u8907\u88fd\u4ee3\u78bc\uff01","tooltipSuccessDuration":1000},{"__m":"__elem_072b8e64_0_15_wL"}]],["__inst_835c633a_0_6_4x"],["__inst_43b438b9_0_2_av"],["__inst_f4afbe30_0_2_Tr"],["__inst_a794192e_0_1o_kM"],["__inst_a794192e_0_1p_DX"],["__inst_a794192e_0_1q_er"],["__inst_a794192e_0_1r_BG"],["__inst_a794192e_0_1s_Gy"],["__inst_a794192e_0_1t_+m"],["prettify","init",[],[]],["__inst_b123e231_0_7_Pk"],["TooltipData","set",["__elem_e980dec4_0_5_Fe","__markup_d3c2dfe2_0_5_Qv","HTML"],[{"__m":"__elem_e980dec4_0_5_Fe"},{"__m":"__markup_d3c2dfe2_0_5_Qv"}]],["FBLynx","setupDelegation",[],[]],["__inst_43b438b9_0_3_7w"],["__inst_f4afbe30_0_3_fc"],["__inst_a794192e_0_1u_yg"],["__inst_a794192e_0_1v_DS"],["__inst_43b438b9_0_4_iG"],["__inst_f4afbe30_0_4_X1"],["__inst_a794192e_0_1w_9k"],["__inst_a794192e_0_1x_7G"],["__inst_43b438b9_0_5_xj"],["__inst_f4afbe30_0_5_6M"],["__inst_a794192e_0_1y_50"],["__inst_a794192e_0_1z_Er"],["__inst_a794192e_0_20_8j"],["__inst_a794192e_0_21_pC"],["__inst_43b438b9_0_6_6p"],["__inst_f4afbe30_0_6_t2"],["__inst_a794192e_0_22_6r"],["__inst_a794192e_0_23_\/W"],["__inst_a794192e_0_24_PQ"],["Animation"],["PageTransitions"],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent","Animation","PageTransitions"],"sd"]],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent","Animation","PageTransitions"],"css"]],["TimeSliceImpl"],["HasteSupportData"],["ServerJS"],["Run"],["InitialJSLoader"]],"contexts":[[{"__m":"__elem_9f5fac15_0_0_V6"},false],[{"__m":"__elem_9f5fac15_0_1_\/C"},false],[{"__m":"__elem_9f5fac15_0_2_yR"},false],[{"__m":"__elem_9f5fac15_0_3_hh"},false]]});requireLazy(["Run"],function(Run){Run.onAfterLoad(function(){s.cleanup(TimeSlice)})});}); </script> <script nonce="JNgoVrRB">now_inl=(function(){var p=window.performance;return p&&p.now&&p.timing&&p.timing.navigationStart?function(){return p.now()+p.timing.navigationStart}:function(){return new Date().getTime()};})(); window.__bigPipeFR=now_inl();</script> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yr/l/1,cross/5lgCuvmQIBe.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yt/l/1,cross/scs2iBx9PqC.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yL/l/1,cross/CZbBUgUjutB.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yO/l/1,cross/DofeYSJlLLd.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yC/l/1,cross/HGpWgRpJM3b.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/y4/l/1,cross/WKzOP0l5SUB.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yR/l/1,cross/IbFMUZUMS2O.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/ya/l/1,cross/gXVvGlARRSm.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yx/l/1,cross/Edhu-zYJ9Zc.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yy/r/IyFMI-P5QGQ.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yO/l/1,cross/7JLxi68DK7R.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yn/l/1,cross/n8srgBZ1XY3.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yj/l/1,cross/gbzkxS-kJWB.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/ys/l/1,cross/f65Tv5kh0xG.css" as="style" crossorigin="anonymous" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3iE9K4/yx/l/zh_HK/FEypPqGLq61.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yT/l/1,cross/Ih9Xc0oDX-T.css" as="style" crossorigin="anonymous" /> <script nonce="JNgoVrRB">window.__bigPipeCtor=now_inl();requireLazy(["BigPipe"],function(BigPipe){define("__bigPipe",[],window.bigPipe=new BigPipe({"forceFinish":true,"config":null}));});</script> <script nonce="JNgoVrRB">(function(){var n=now_inl();requireLazy(["__bigPipe"],function(bigPipe){bigPipe.beforePageletArrive("first_response",n);})})();</script> <script nonce="JNgoVrRB">requireLazy(["__bigPipe"],(function(bigPipe){bigPipe.onPageletArrive({displayResources:["cZDPgjQ","bfZmrY8","WIQEzfU","zzuy2xq","iHCiaFe","0n8jUCL","agX1D/g","pfGV80/","4WMghNp","CSl+Sxi","WQUjqJD","38MIlcl","yYkmzMg","eKDQXBg","kKG6kJf","NokMqjr"],id:"first_response",phase:0,last_in_phase:true,tti_phase:0,all_phases:[63,1],hsrp:{hblp:{consistency:{rev:1018446937}}},allResources:["cZDPgjQ","bfZmrY8","WIQEzfU","zzuy2xq","iHCiaFe","0n8jUCL","kKG6kJf","CSl+Sxi","zif2SIi","s5Ferw3","gFJOVw5","JOUMnNC","3F26mTM","6S5PHbO","YYk9ug4","B73AcWy","PY04/Rs","agX1D/g","pfGV80/","4WMghNp","WQUjqJD","38MIlcl","yYkmzMg","eKDQXBg","FsBVuQ6","pXMubjf","ehJaT9r","mpUdCt2","qdOQPKI","UNiU4sO","p+yOQlM","0Qz/xq6","m/iHLvb","oqeG6JD","FHXlBA8","FvQWTxN","N93dyfD","wJ7W6Yv","2J1Ud6o","5JODOIC","NokMqjr","4W8+IkX","vCxI9D4","NqAnvSR","X0PkNH5","UO8AC2i","my2i43D","xvIpiB7","dauMeUz","3hKBmDr"]});}));</script> <script nonce="JNgoVrRB">requireLazy(["__bigPipe"],function(bigPipe){bigPipe.setPageID("7440449083423691430")});</script> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yU/r/-ZIQ9JfQbY3.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yv/r/cebZuP5Av5f.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yb/r/VwCukQNB7d9.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yy/l/1,cross/0ICoC1sFI2o.css" as="style" crossorigin="anonymous" /> <div class="hidden_elem"><code id="u_0_7y_l8"><!-- <div class="_688r"></div><noscript><div class="_68me"></div></noscript><div class="_132f" data-testid="home_page_header_cms_obj"><div class="_2is9"><div class="_5reb _6o4s _5w2p _5rt2"><div id="bizBlackBar" class="_5w2q"><div class="_4bdg"><div class="_5rec"><div class="_3-fb"><div class="_3-fc"><a class="_3els" href="/?no_redirect=1" target="" style="" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":"link"}"><div class="_8xnp"><div class="_ar0p" id="FacebookLogo"><img src="/images/developer/m4d_logo_july_2024.svg" /></div></div></a></div><div class="_652w"><a class="_652x _3ecv" href="/docs/" id="u_0_7v_Gf"><span class="_3ecy _50f4">文件</span></a><a class="_652x" href="/tools/" id="u_0_7r_B1"><span class="_3ecy _50f4">工具</span></a><a class="_652x" href="/support/" id="u_0_7u_3f"><span class="_3ecy _50f4">支援</span></a><div class="_6a _8542"><div class="clearfix _3_i9 lfloat"><form class="_2pis rfloat _ohf" action="/search/?referer=dev_header" method="get" role="search" id="u_0_7w_fq"><input type="text" name="q" class="_3_ib" placeholder="搜尋" /></form><i class="_3_ia _42ef img sp_MWbXykj0RLD sx_3f6b3a"></i></div></div><a href="https://business.facebook.com/business/loginpage/?next=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fmarketing-api%2Freference%2Fad-campaign%3Fnav_ref%3Dbiz_unified_f3_login_page_to_dfc&app=436761779744620&login_options%5B0%5D=FB&login_options%5B1%5D=SSO&is_work_accounts=1&config_ref=biz_login_tool_flavor_dfc" class="_p47 lfloat _1k5h" id="u_0_7x_3M">登入</a></div></div></div></div></div></div></div></div> --></code></div> <script nonce="JNgoVrRB">(function(){var n=now_inl();requireLazy(["__bigPipe"],function(bigPipe){bigPipe.beforePageletArrive("devsite_header",n);})})();</script> <script nonce="JNgoVrRB">requireLazy(["__bigPipe"],(function(bigPipe){bigPipe.onPageletArrive({displayResources:["bfZmrY8","0n8jUCL","kKG6kJf","CSl+Sxi","WIQEzfU","gFJOVw5","4WMghNp","X0PkNH5","p+yOQlM","EjWtCVY","cZDPgjQ","iHCiaFe","pfGV80/"],content:{devsite_header:{container_id:"u_0_7y_l8"}},id:"devsite_header",phase:1,jsmods:{instances:[["__inst_41781d56_0_0_aT",["ContextualDialog","ContextualDialogArrow","ContextualDialogXUITheme","__elem_072b8e64_0_17_EF","LayerFadeOnShow","LayerFadeOnHide","LayerHideOnBlur","LayerHideOnEscape","DialogHideOnSuccess","LayerHideOnTransition","LayerRemoveOnHide","LayerAutoFocus","ContextualLayerAutoFlip","LayerTabIsolation","__markup_a588f507_0_0_r+","HTML"],[{width:312,context:null,contextID:"u_0_7r_B1",contextSelector:null,dialogRole:"dialog",labelledBy:"u_0_7p_4P",position:"below",alignment:"left",offsetX:0,offsetY:0,arrowBehavior:{__m:"ContextualDialogArrow"},hoverShowDelay:null,hoverHideDelay:null,theme:{__m:"ContextualDialogXUITheme"},hoverContext:{__m:"__elem_072b8e64_0_17_EF"},addedBehaviors:[{__m:"LayerFadeOnShow"},{__m:"LayerFadeOnHide"},{__m:"LayerHideOnBlur"},{__m:"LayerHideOnEscape"},{__m:"DialogHideOnSuccess"},{__m:"LayerHideOnTransition"},{__m:"LayerRemoveOnHide"},{__m:"LayerAutoFocus"},{__m:"ContextualLayerAutoFlip"},{__m:"LayerTabIsolation"}]},{__m:"__markup_a588f507_0_0_r+"}],2],["__inst_41781d56_0_1_yh",["ContextualDialog","ContextualDialogArrow","ContextualDialogXUITheme","__elem_072b8e64_0_18_vl","LayerFadeOnShow","LayerFadeOnHide","LayerHideOnBlur","LayerHideOnEscape","DialogHideOnSuccess","LayerHideOnTransition","LayerRemoveOnHide","LayerAutoFocus","ContextualLayerAutoFlip","LayerTabIsolation","__markup_a588f507_0_1_qR","HTML"],[{width:312,context:null,contextID:"u_0_7u_3f",contextSelector:null,dialogRole:"dialog",labelledBy:"u_0_7s_G1",position:"below",alignment:"left",offsetX:0,offsetY:0,arrowBehavior:{__m:"ContextualDialogArrow"},hoverShowDelay:null,hoverHideDelay:null,theme:{__m:"ContextualDialogXUITheme"},hoverContext:{__m:"__elem_072b8e64_0_18_vl"},addedBehaviors:[{__m:"LayerFadeOnShow"},{__m:"LayerFadeOnHide"},{__m:"LayerHideOnBlur"},{__m:"LayerHideOnEscape"},{__m:"DialogHideOnSuccess"},{__m:"LayerHideOnTransition"},{__m:"LayerRemoveOnHide"},{__m:"LayerAutoFocus"},{__m:"ContextualLayerAutoFlip"},{__m:"LayerTabIsolation"}]},{__m:"__markup_a588f507_0_1_qR"}],2]],markup:[["__markup_a588f507_0_1_qR",{__html:"\x3Cdiv>\x3Cdiv class=\"_53iv\">\x3Cdiv class=\"_655e\">\x3Cdiv class=\"_65kd _1glo\">\x3Ci class=\"_3-90 img sp_uBcZLoQnJo5 sx_98f60c\">\x3C/i>\x3Ca href=\"https://l.facebook.com/l.php?u=https%3A%2F%2Fmetastatus.com%2F%3Fref%3Ddfc%23developerplatform&h=AT2-VhT4xEBHUU5xavh5MYIpATVLs61UUyjJPU01J7qDElxDN4F8vBog0f8cbffrLxJTEYAj7WTvamTG7vDxqgj8LSIbfspDNwfcwLZwo-AQ8Pjf8YPikOv7Q9nde_4rW0mLtSBLEAV5XcmyHWGVFXsX5w\" target=\"_blank\" rel=\"nofollow\" data-lynx-mode=\"hover\">\x3Cdiv class=\"_65ke _50f7\">部分中斷\x3C/div>\x3Cdiv class=\"_50f8 _50f3\">自 \x3Cabbr data-utime=\"1731295045\" data-tooltip-content=\"2024年11月10日星期日 19:17\" data-hover=\"tooltip\">\x3Cspan class=\"timestampContent\">11月10日 19:17\x3C/span>\x3C/abbr> 起\x3C/div>\x3C/a>\x3C/div>\x3Ca class=\"_655f _1glo\" href=\"/support/bugs/\">\x3Ci class=\"_3-90 img sp_MWbXykj0RLD sx_da5929\">\x3C/i>\x3Cspan class=\"_50f7\">回報錯誤\x3C/span>\x3C/a>\x3Ca class=\"_655f _1glo\" href=\"/community/\">\x3Ci class=\"_3-90 img sp_MWbXykj0RLD sx_94db75\">\x3C/i>\x3Cspan class=\"_50f7\">到社群提問\x3C/span>\x3C/a>\x3Ca class=\"_655f _1glo\" href=\"/incident/report/\">\x3Ci class=\"_3-90 img sp_MWbXykj0RLD sx_e0f802\">\x3C/i>\x3Cspan class=\"_50f7\">回報平台資料事件\x3C/span>\x3C/a>\x3Ca class=\"_655f _1glo\" href=\"/support/\" target=\"_blank\">\x3Ci class=\"_3-90 img sp_MWbXykj0RLD sx_3793c7\">\x3C/i>\x3Cspan class=\"_50f7\">開發人員支援\x3C/span>\x3C/a>\x3C/div>\x3Cdiv aria-label=\"支援\" id=\"u_0_7s_G1\">\x3C/div>\x3C/div>\x3Ca aria-label=\"關閉\" class=\"layer_close_elem accessible_elem\" href=\"#\" role=\"button\" id=\"u_0_7t_1p\" aria-labelledby=\"u_0_7t_1p u_0_7s_G1\">\x3C/a>\x3C/div>"},1,"HTML"],["__markup_a588f507_0_0_r+",{__html:"\x3Cdiv>\x3Cdiv class=\"_53iv\">\x3Cdiv class=\"_655e\">\x3Ca href=\"/tools/explorer/\" class=\"_655f _65bz\">\x3Cspan class=\"_50f7\">Graph API 測試工具\x3C/span>\x3C/a>\x3Cdiv class=\"_41p_ _3-97\">測試、建立和驗證 API 調用,並為回應除錯。\x3C/div>\x3Ca href=\"/tools/debug/accesstoken/\" class=\"_655f _65bz\">\x3Cspan class=\"_50f7\">存取憑證除錯工具\x3C/span>\x3C/a>\x3Cdiv class=\"_41p_ _3-97\">查看詳細資訊以了解存取憑證。\x3C/div>\x3Ca href=\"/tools/debug/\" class=\"_655f _65bz\">\x3Cspan class=\"_50f7\">分享除錯工具\x3C/span>\x3C/a>\x3Cdiv class=\"_41p_\">預覽內容在 Facebook 分享時的外觀。\x3C/div>\x3Ca class=\"_3-8z _655f\" href=\"/tools/\">\x3Cspan class=\"_50f7\">查看所有工具\x3C/span>\x3C/a>\x3C/div>\x3Cdiv aria-label=\"工具\" id=\"u_0_7p_4P\">\x3C/div>\x3C/div>\x3Ca aria-label=\"關閉\" class=\"layer_close_elem accessible_elem\" href=\"#\" role=\"button\" id=\"u_0_7q_1t\" aria-labelledby=\"u_0_7q_1t u_0_7p_4P\">\x3C/a>\x3C/div>"},1,"HTML"]],elements:[["__elem_a588f507_0_3_1z","bizBlackBar",1],["__elem_072b8e64_0_16_Oy","u_0_7v_Gf",1],["__elem_072b8e64_0_17_EF","u_0_7r_B1",2],["__elem_072b8e64_0_18_vl","u_0_7u_3f",2],["__elem_072b8e64_0_19_DV","u_0_7x_3M",1]],require:[["DevsiteHeaderInteractionsLogger","registerDialog",["__elem_072b8e64_0_16_Oy"],[{__m:"__elem_072b8e64_0_16_Oy"},null]],["__inst_41781d56_0_0_aT"],["DevsiteHeaderInteractionsLogger","registerDialog",["__elem_072b8e64_0_17_EF","__inst_41781d56_0_0_aT"],[{__m:"__elem_072b8e64_0_17_EF"},{__m:"__inst_41781d56_0_0_aT"}]],["__inst_41781d56_0_1_yh"],["DevsiteHeaderInteractionsLogger","registerDialog",["__elem_072b8e64_0_18_vl","__inst_41781d56_0_1_yh"],[{__m:"__elem_072b8e64_0_18_vl"},{__m:"__inst_41781d56_0_1_yh"}]],["DevsiteHeaderBanner","initializeBanner",[],[]],["BizSiteHeader","registerStickyListener",["__elem_a588f507_0_3_1z"],[{__m:"__elem_a588f507_0_3_1z"}]],["DevsiteHeaderLoginButton","initButtonClick",["__elem_072b8e64_0_19_DV"],[{__m:"__elem_072b8e64_0_19_DV"},"login_button_clicked"]],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent","PageTransitions","Animation"],"sd"]],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent","PageTransitions","Animation"],"css"]]]},hsrp:{hblp:{consistency:{rev:1018446937},rsrcMap:{EjWtCVY:{type:"css",src:"https://static.xx.fbcdn.net/rsrc.php/v4/yy/l/1,cross/0ICoC1sFI2o.css"}},compMap:{CSSFade:{r:["gFJOVw5","0n8jUCL","YYk9ug4","iHCiaFe"],be:1}}}},allResources:["bfZmrY8","0n8jUCL","kKG6kJf","CSl+Sxi","WIQEzfU","gFJOVw5","4WMghNp","X0PkNH5","p+yOQlM","EjWtCVY","cZDPgjQ","iHCiaFe","pfGV80/","3F26mTM","qdOQPKI","YYk9ug4","pXMubjf","ehJaT9r","mpUdCt2","UNiU4sO","6S5PHbO","dauMeUz","NqAnvSR","FHXlBA8","4W8+IkX"]});}));</script> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yG/r/3zIKSaXRrrC.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yV/r/hhUemOEFR4T.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yW/r/UgHLVrKlKsA.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yP/r/kBpdIFCj1uG.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3iN8H4/yA/l/zh_HK/MlTLj2JYlLd.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yZ/r/UkrHcNK9s2n.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yH/r/vdNE1FOJgk5.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yg/r/jsjALenw-St.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yl/r/r5_PhZt9eSv.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yr/r/t7dP7kF8oWt.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yU/r/RMsbBfiz7__.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/y0/r/1b1GKVpdLl8.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v3/yH/r/I4lr9o0v3wN.js" as="script" crossorigin="anonymous" nonce="JNgoVrRB" /> <div class="hidden_elem"><code id="u_0_80_Wm"><!-- <noscript id="u_0_7z_Ju"></noscript> --></code></div> <script nonce="JNgoVrRB">(function(){var n=now_inl();requireLazy(["__bigPipe"],function(bigPipe){bigPipe.beforePageletArrive("documentation_breadcrumbs_pagelet",n);})})();</script> <script nonce="JNgoVrRB">requireLazy(["__bigPipe"],(function(bigPipe){bigPipe.onPageletArrive({displayResources:["kKG6kJf","CSl+Sxi","pXMubjf","ehJaT9r","mpUdCt2","FHXlBA8","YAM+eZr","wJ7W6Yv","PY04/Rs","2J1Ud6o","5JODOIC","eKDQXBg","X0PkNH5","UNiU4sO","p+yOQlM","gFJOVw5","NqAnvSR","my2i43D","agX1D/g","0n8jUCL","iHCiaFe","4W8+IkX"],content:{documentation_breadcrumbs_pagelet:{container_id:"u_0_80_Wm"}},id:"documentation_breadcrumbs_pagelet",phase:1,jsmods:{define:[["cr:734",[],{__rc:[null,null]},-1],["cr:1293",["ReactDOM.classic"],{__rc:["ReactDOM.classic",null]},-1],["cr:3473",["unmountComponentOnTransition"],{__rc:["unmountComponentOnTransition",null]},-1],["cr:3603",["unmountConcurrentComponentOnTransition"],{__rc:["unmountConcurrentComponentOnTransition",null]},-1],["cr:7162",["ReactDOMCompatibilityLayer"],{__rc:["ReactDOMCompatibilityLayer",null]},-1],["cr:1108857",[],{__rc:[null,null]},-1],["cr:1294158",["React.classic"],{__rc:["React.classic",null]},-1],["cr:1294159",["ReactDOM.classic"],{__rc:["ReactDOM.classic",null]},-1],["cr:510",["GeoPrivateBaseText_DEPRECATED.react"],{__rc:["GeoPrivateBaseText_DEPRECATED.react",null]},-1],["cr:755",["warningWWW"],{__rc:["warningWWW",null]},-1],["cr:757",["ImageWwwCssDependency"],{__rc:["ImageWwwCssDependency",null]},-1],["cr:2443",[],{__rc:[null,null]},-1],["cr:3159",["GeoPrivateDefaultColorGeneratedStyles"],{__rc:["GeoPrivateDefaultColorGeneratedStyles",null]},-1],["cr:4655",["AbstractLinkLynxMode"],{__rc:["AbstractLinkLynxMode",null]},-1],["cr:5662",["Event"],{__rc:["Event",null]},-1],["cr:6754",[],{__rc:[null,null]},-1],["cr:7319",[],{__rc:[null,null]},-1],["cr:8469",[],{__rc:[null,null]},-1],["cr:8658",[],{__rc:[null,null]},-1],["cr:1641505",[],{__rc:[null,null]},-1],["ClickIDURLBlocklistSVConfig",[],{block_list_url:["https://www.youtube.com/watch?v=f1J38FlDKxo","https://www.youtube.com/watch?v=6xt7nTuO85A"]},7631],["LoadingMarkerGated",[],{component:null},2874],["FBDomainsSVConfig",[],{domains:{__map:[["www.facebook.com",1],["tfbnw.net",1],["m.beta.facebook.com",1],["touch.beta.facebook.com",1],["www.dev.facebook.com",1],["fb.me",1],["s.fb.com",1],["m.fbjs.facebook.com",1],["facebook.com.es",1],["www.fbjs.facebook.com",1],["m.facebook.com",1],["facebook.fr",1],["fbsbx.com",1],["embed.fbsbx.com",1],["attachment.fbsbx.com",1],["lookaside.fbsbx.com",1],["web.facebook.com",1],["fb.com",1],["messenger.com",1],["secure.facebook.com",1],["secure.my-od.facebook.com",1],["www.my-od.facebook.com",1]]}},3828],["ClickIDDomainBlacklistSVConfig",[],{domains:["craigslist","tfbnw.net","canadiantire.ca","o2.co.uk","archive.org","reddit.com","redd.it","gmail.com","cvk.gov.ua","electoralsearch.in","yahoo.com","cve.mitre.org","usenix.org","ky.gov","voteohio.gov","vote.pa.gov","oversightboard.com","wi.gov","pbs.twimg.com","media.discordapp.net","vastadeal.com","theaustralian.com.au","alloygator.com","elsmannimmobilien.de","news.com.au","dennisbonnen.com","stoett.com","investorhour.com","perspectivasur.com","bonnegueule.fr","firstent.org","twitpic.com","kollosche.com.au","nau.edu","arcourts.gov","lomberg.de","network4.hu","balloonrace.com","awstrack.me","ic3.gov","sos.wyo.gov","cnpq.br","0.discoverapp.com","apple.com","apple.co","applecard.apple","services.apple","appletvplus.com","applepay.apple","wallet.apple","beatsbydre.com","dinn.com.mx","soriana.com","facebook.sso.datasite.com","fycextras.com","rik.parlament.gov.rs","elections.delaware.gov","dge.sn"]},3829],["cr:5277",["ReactDOM.classic.prod-or-profiling"],{__rc:["ReactDOM.classic.prod-or-profiling",null]},-1],["cr:1292365",["React-prod.classic"],{__rc:["React-prod.classic",null]},-1],["cr:2099",[],{__rc:[null,null]},-1],["cr:2448",["useHeroBootloadedComponent"],{__rc:["useHeroBootloadedComponent",null]},-1],["cr:2682",["warningBlueish"],{__rc:["warningBlueish",null]},-1],["cr:11202",[],{__rc:[null,null]},-1],["cr:1105154",[],{__rc:[null,null]},-1],["cr:5278",["ReactDOM-prod.classic"],{__rc:["ReactDOM-prod.classic",null]},-1],["cr:2683",["warningBlue"],{__rc:["warningBlue",null]},-1],["cr:5695",["EventListenerWWW"],{__rc:["EventListenerWWW",null]},-1],["cr:8909",["ReactFiberErrorDialogWWW"],{__rc:["ReactFiberErrorDialogWWW",null]},-1],["cr:3695",[],{__rc:[null,null]},-1],["cr:983844",[],{__rc:[null,null]},-1],["CoreWarningGK",[],{forceWarning:false},725],["cr:1353359",["EventListenerImplForBlue"],{__rc:["EventListenerImplForBlue",null]},-1]],elements:[["__elem_fc9f538f_0_0_Js","u_0_7z_Ju",1]],require:[["react-xhp","constructAndRenderComponentIntoComment_DO_NOT_USE",["DevsiteDocBreadcrumbs.react","__elem_fc9f538f_0_0_Js"],[{constructor:{__m:"DevsiteDocBreadcrumbs.react"},concurrentRootOptions:{},props:{crumbs:[{title:"Docs",uri:"/docs/"},{title:"推廣 API",uri:"/docs/marketing-apis"},{title:"參考資料",uri:"/docs/marketing-api/reference/"},{title:"Ad Set",uri:"/docs/marketing-api/reference/ad-campaign"}]},placeholderElement:{__m:"__elem_fc9f538f_0_0_Js"},acrossTransitions:false,clobberSiblings:false,preloader:null,bigPipeContext:{__bigPipeContext:1},nonBlockingPreloaders:null}]],["ODS"],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent","ODS"],"sd"]],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent","ODS"],"css"]]]},hsrp:{hsdp:{gkxData:{"2467":{result:false,hash:null},"20942":{result:false,hash:null},"24835":{result:false,hash:null},"24836":{result:true,hash:null},"24838":{result:false,hash:null}},ixData:{"1163":{sprited:1,spriteCssClass:"sx_8cfd38",spriteMapCssClass:"sp_WbXBGqjC54o"},"1165":{sprited:1,spriteCssClass:"sx_318c2a",spriteMapCssClass:"sp_WbXBGqjC54o"},"1739":{sprited:1,spriteCssClass:"sx_10d608",spriteMapCssClass:"sp_WbXBGqjC54o"},"390007":{sprited:1,spriteCssClass:"sx_3941ca",spriteMapCssClass:"sp_WbXBGqjC54o"},"390008":{sprited:1,spriteCssClass:"sx_dd33be",spriteMapCssClass:"sp_WbXBGqjC54o"},"390009":{sprited:1,spriteCssClass:"sx_35981f",spriteMapCssClass:"sp_WbXBGqjC54o"},"478232":{sprited:1,spriteCssClass:"sx_b53dd8",spriteMapCssClass:"sp_WbXBGqjC54o"},"478237":{sprited:1,spriteCssClass:"sx_b9e4a8",spriteMapCssClass:"sp_WbXBGqjC54o"},"478791":{sprited:1,spriteCssClass:"sx_fecb10",spriteMapCssClass:"sp_WbXBGqjC54o"},"478793":{sprited:1,spriteCssClass:"sx_b278c5",spriteMapCssClass:"sp_WbXBGqjC54o"},"478795":{sprited:1,spriteCssClass:"sx_8bbd22",spriteMapCssClass:"sp_WbXBGqjC54o"},"478799":{sprited:1,spriteCssClass:"sx_b9fbc6",spriteMapCssClass:"sp_WbXBGqjC54o"},"478801":{sprited:1,spriteCssClass:"sx_82c83f",spriteMapCssClass:"sp_WbXBGqjC54o"},"479175":{sprited:1,spriteCssClass:"sx_bc419e",spriteMapCssClass:"sp_WbXBGqjC54o"},"479176":{sprited:1,spriteCssClass:"sx_b8b36c",spriteMapCssClass:"sp_WbXBGqjC54o"},"479177":{sprited:1,spriteCssClass:"sx_3a6083",spriteMapCssClass:"sp_WbXBGqjC54o"},"479179":{sprited:1,spriteCssClass:"sx_9fa179",spriteMapCssClass:"sp_WbXBGqjC54o"},"479180":{sprited:1,spriteCssClass:"sx_42f1dd",spriteMapCssClass:"sp_WbXBGqjC54o"},"479321":{sprited:1,spriteCssClass:"sx_59a474",spriteMapCssClass:"sp_WbXBGqjC54o"},"479324":{sprited:1,spriteCssClass:"sx_3a6aec",spriteMapCssClass:"sp_WbXBGqjC54o"},"479327":{sprited:1,spriteCssClass:"sx_5ad8a6",spriteMapCssClass:"sp_WbXBGqjC54o"},"479360":{sprited:1,spriteCssClass:"sx_4b28ab",spriteMapCssClass:"sp_WbXBGqjC54o"},"479363":{sprited:1,spriteCssClass:"sx_8d7ff2",spriteMapCssClass:"sp_WbXBGqjC54o"},"480789":{sprited:1,spriteCssClass:"sx_336c7a",spriteMapCssClass:"sp_uBcZLoQnJo5"},"481882":{sprited:1,spriteCssClass:"sx_05cd7d",spriteMapCssClass:"sp_WbXBGqjC54o"},"484386":{sprited:1,spriteCssClass:"sx_e30349",spriteMapCssClass:"sp_WbXBGqjC54o"},"489534":{sprited:1,spriteCssClass:"sx_1c93d0",spriteMapCssClass:"sp_WbXBGqjC54o"},"492482":{sprited:1,spriteCssClass:"sx_a5ee58",spriteMapCssClass:"sp_WbXBGqjC54o"},"492485":{sprited:1,spriteCssClass:"sx_fcbaed",spriteMapCssClass:"sp_WbXBGqjC54o"},"492515":{sprited:1,spriteCssClass:"sx_c791a7",spriteMapCssClass:"sp_WbXBGqjC54o"},"492530":{sprited:1,spriteCssClass:"sx_2066fd",spriteMapCssClass:"sp_WbXBGqjC54o"},"492533":{sprited:1,spriteCssClass:"sx_348678",spriteMapCssClass:"sp_WbXBGqjC54o"},"492569":{sprited:1,spriteCssClass:"sx_83f9eb",spriteMapCssClass:"sp_WbXBGqjC54o"},"492698":{sprited:1,spriteCssClass:"sx_99a136",spriteMapCssClass:"sp_WbXBGqjC54o"},"492700":{sprited:1,spriteCssClass:"sx_b54ef2",spriteMapCssClass:"sp_WbXBGqjC54o"},"492702":{sprited:1,spriteCssClass:"sx_0840c5",spriteMapCssClass:"sp_WbXBGqjC54o"},"492706":{sprited:1,spriteCssClass:"sx_5f340f",spriteMapCssClass:"sp_WbXBGqjC54o"},"492708":{sprited:1,spriteCssClass:"sx_45b96f",spriteMapCssClass:"sp_WbXBGqjC54o"},"498144":{sprited:1,spriteCssClass:"sx_94c2ab",spriteMapCssClass:"sp_WbXBGqjC54o"},"498145":{sprited:1,spriteCssClass:"sx_abf84f",spriteMapCssClass:"sp_WbXBGqjC54o"},"498146":{sprited:1,spriteCssClass:"sx_abb08c",spriteMapCssClass:"sp_WbXBGqjC54o"},"498148":{sprited:1,spriteCssClass:"sx_10b609",spriteMapCssClass:"sp_WbXBGqjC54o"},"498149":{sprited:1,spriteCssClass:"sx_b4c3e1",spriteMapCssClass:"sp_WbXBGqjC54o"},"502060":{sprited:1,spriteCssClass:"sx_d09554",spriteMapCssClass:"sp_WbXBGqjC54o"},"502061":{sprited:1,spriteCssClass:"sx_552a83",spriteMapCssClass:"sp_WbXBGqjC54o"},"502062":{sprited:1,spriteCssClass:"sx_cc9245",spriteMapCssClass:"sp_WbXBGqjC54o"},"502064":{sprited:1,spriteCssClass:"sx_d06afd",spriteMapCssClass:"sp_WbXBGqjC54o"},"502065":{sprited:1,spriteCssClass:"sx_caf356",spriteMapCssClass:"sp_WbXBGqjC54o"},"648667":{sprited:1,spriteCssClass:"sx_7393c9",spriteMapCssClass:"sp_WbXBGqjC54o"},"648668":{sprited:1,spriteCssClass:"sx_20c08b",spriteMapCssClass:"sp_WbXBGqjC54o"},"648669":{sprited:1,spriteCssClass:"sx_03511c",spriteMapCssClass:"sp_WbXBGqjC54o"},"812005":{sprited:1,spriteCssClass:"sx_1329a4",spriteMapCssClass:"sp_WbXBGqjC54o"},"1166721":{sprited:1,spriteCssClass:"sx_4c3b61",spriteMapCssClass:"sp_WbXBGqjC54o"},"1213581":{sprited:1,spriteCssClass:"sx_4bc853",spriteMapCssClass:"sp_WbXBGqjC54o"},"1280864":{sprited:1,spriteCssClass:"sx_02ac5e",spriteMapCssClass:"sp_WbXBGqjC54o"},"1826783":{sprited:1,spriteCssClass:"sx_424aa8",spriteMapCssClass:"sp_WbXBGqjC54o"}},justknobxData:{"450":{r:true},"2635":{r:true},"1568":{r:true}}},hblp:{consistency:{rev:1018446937},rsrcMap:{K1pGhOF:{type:"js",src:"https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/xDgm3Tqkawr.js"},"YAM+eZr":{type:"js",src:"https://static.xx.fbcdn.net/rsrc.php/v3iN8H4/yA/l/zh_HK/MlTLj2JYlLd.js"}},compMap:{VultureJSSampleRatesLoader:{r:["K1pGhOF"],be:1},"GeoTooltip.react":{r:["ehJaT9r","pXMubjf","mpUdCt2","wJ7W6Yv","2J1Ud6o","5JODOIC","YAM+eZr","eKDQXBg","UNiU4sO","p+yOQlM","gFJOVw5","CSl+Sxi","X0PkNH5","agX1D/g","0n8jUCL","NqAnvSR","FHXlBA8","kKG6kJf","4W8+IkX","iHCiaFe"],rds:{m:["FbtLogging","IntlQtEventFalcoEvent"],r:["3F26mTM"]},be:1}}}},allResources:["kKG6kJf","CSl+Sxi","pXMubjf","ehJaT9r","mpUdCt2","FHXlBA8","YAM+eZr","wJ7W6Yv","PY04/Rs","2J1Ud6o","5JODOIC","eKDQXBg","X0PkNH5","UNiU4sO","p+yOQlM","gFJOVw5","NqAnvSR","my2i43D","agX1D/g","0n8jUCL","iHCiaFe","4W8+IkX","3F26mTM"]});}));</script> <link rel="preload" href="https://static.xx.fbcdn.net/rsrc.php/v4/yI/l/1,cross/IEtGQ33ZcA8.css" as="style" crossorigin="anonymous" /> <div class="hidden_elem"><code id="u_0_83_18"><!-- <div class="_6e3x" data-testid="home_page_footer_cms_obj"><div class="_2jqx _2js6 _2jqq _1x12 _4wnt _7pk5 _7pj_ _7pk8 _7pk2" style="background-color: #f7f7f7;"><div class="_6uo3 _370f _370e _370j _370k"><div class="_4v84 _6u4h" style=""><div class="_6uo3 _370e _370j _370k"><div class="_8_jd"><div class="_af7-"><div class="_8_je"><a href="https://about.facebook.com/" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}"><img class="_6voz _7f2d img" src="https://scontent-hkg1-2.xx.fbcdn.net/v/t39.2365-6/255763660_1313373935800313_1402654990278152517_n.png?_nc_cat=104&ccb=1-7&_nc_sid=e280be&_nc_ohc=9qN7EjaEGz4Q7kNvgGeXsLo&_nc_zt=14&_nc_ht=scontent-hkg1-2.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYDMenXukaOMrWP4d7yrEQUtZSW_Q7EklrRIeGzi92bKxQ&oe=675C1DB7" width="150" alt="" /></a></div><div class="_8_jf _8_jg"><ul class="_8_jr"><div class="_8_js"><div class="_8zym _8xdr _8xdj _8xdz _8yp1 _93n_ _8zf- _9ao6" style="color:#232323;">追蹤我們</div></div><li class="_8_jq"><a class="_8xd- _9ao6 _8zgc" href="#" style="" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}" role="button"><a data-click-event="footer_social_facebook" href="https://www.facebook.com/MetaforDevelopers" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89126182_222315695571651_4936319991919149056_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=42L_R-zx5d4Q7kNvgHOL_bX&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYB8VFoYzD-P_PvshpYlN-XXOOGZ-ryv-aSe5jlvvPeiig&oe=675BFBEF" alt="在 Facebook 追蹤我們" style="width:24px; height:auto; display:inline; margin-right:20px;" /></a><a data-click-event="footer_social_ig" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.instagram.com%2Fmetafordevelopers%2F&h=AT03j9sLkGI3tbRd6qgVKpZ0NgHG2c89wMuYCw8TJYiCGOQ1AxIwCgMZasaOjsT0qAo9DY6uAH3m-r0eDunykJ4A0v09FD9Q5xKUjlhMm8t4qsBrLK6SZUvEhk0GCb9VUTmxWknDh_Vhm_NAfD2Xqm4B3Q" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89319900_506382610280628_2520212398984396800_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=4SMY2f9DtdkQ7kNvgHbAyXU&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYDKOyRfXOXHXVLhA-w3G2kh4SvX1k9FCgaaQPDWbVv73w&oe=675C0775" alt="在 Instagram 追蹤我們" style="width:24px; height:auto; display:inline; margin-right:20px;" /></a><a data-click-event="footer_social_twitter" href="https://l.facebook.com/l.php?u=https%3A%2F%2Ftwitter.com%2Fmetafordevs&h=AT3ClADCisWmPulZN3mysj9r7PUyIE6QYWqU3ZXlqqMQryrOMA7rH1N569K2UDn5TLmzlVpxGZe_dyXR7fyV1IKeEhY3ciFjrMkdlUdZU9Yr9XN8A_02JmnoY_ZRkLS5aioXy7kkQH7Ii1W1zwPI7C3Ctg" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89154638_493934268150363_1123534170136510464_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=0SswhzSq-ssQ7kNvgHgLyMP&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYB82RdozvCMRoVT4m_LRUuxe86w1Qk0QuyG5FGWAszKLg&oe=675C1985" alt="在 Twitter 追蹤我們" style="width:24px; height:auto; display:inline; margin-right:20px;" /></a><a data-click-event="footer_social_linkedin" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.linkedin.com%2Fshowcase%2Fmeta-for-developers%2F&h=AT1yPBZVfl800TH1nfrCwsyZoiSKj3f-bS3xunKLxRRhm-IiAWjYMyiPG4ze6oujpYeERVaUE7FWiRuVoeDdfau0inDBn_pZ8PFn4g2svQEBwbXS3i0nPCEfjktPhusnhY1ZJ0ztSIm28dUt9Ee1t-nswg" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89354779_640044533453459_7031092369583767552_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=tA-RPdG6ssgQ7kNvgGns_wr&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYChBO6-8nbdvIKTqC2ihu52jTauVJDpaYBaCxRGz91WOQ&oe=675C0AC6" alt="在 LinkedIn 追蹤我們" style="width:auto; height:24px; display:inline; margin-right:15px" /></a><a data-click-event="footer_social_youtube" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.youtube.com%2FMetaDevelopers%2F&h=AT2pcnrKClJC6CigaWn0RdMxt_bAFbmlSHEgSYvIAm0LLoF3HtyzOm3KzGmN4bldo3cNqW2mc7Fdy487z7EU9SMVwx2t3A9_3FgYPCzcsOHpqJ8OvLeK0D73UdapI1HURwPtSJ0p7y-_9wLUlVZwUDH34Q" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89127358_532616317687233_292625476315250688_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=BMFSL3KgwTcQ7kNvgGe11_a&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYCF3D8Aq6qAUvUPzoUahWF0ycTr0IyEaCh6zWrHCwbVkg&oe=675BF294" alt="在 YouTube 追蹤我們" style="width: auto; height:24px; display:inline;" /></a></a></li></ul></div></div></div></div></div><div class="_4v82 _6u4h" style=""><div class="_6uo3 _370e _370j _370k"><ul class="_8_jr"><div class="_8_js"><h4 class="_8xdx _8xdr _8xdj _8yp1 _93n_ _8zf- _8xdh" style="color:#232323;">產品</h4></div><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#artificial-intelligence" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">人工智能</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#ar-vr" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">AR/VR</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#business-tools" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">商業工具</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#gaming" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">遊戲</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#open-source" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">開放來源</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#publishing" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">發佈</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#social-integrations" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">社交整合工具</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/products/#social-presence" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">社交網絡形象</a></li></ul></div></div><div class="_4v82 _6u4h" style=""><ul class="_8_jr"><div class="_8_js"><h4 class="_8xdx _8xdr _8xdj _8yp1 _93n_ _8zf- _8xdh" style="color:#232323;">計劃</h4></div><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/docs/threat-exchange" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">ThreatExchange</a></li></ul><ul class="_8_jr"><div class="_8_js"><h4 class="_8xdx _8xdr _8xdj _8yp1 _93n_ _8zf- _8xdh" style="color:#232323;">支援</h4></div><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/support/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">開發人員支援</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/support/bugs/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">錯誤</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/status/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">平台狀態</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/incident/report/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">回報平台資料事件</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/groups/fbdevelopers/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">Facebook for Developers 社群群組<i class="img sp_uBcZLoQnJo5 sx_f5c7bf"></i></a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://developers.facebook.com/m/sitemap/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">網站地圖</a></li></ul></div><div class="_4v82 _6u4h" style=""><ul class="_8_jr"><div class="_8_js"><h4 class="_8xdx _8xdr _8xdj _8yp1 _93n_ _8zf- _8xdh" style="color:#232323;">新聞</h4></div><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/blog/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">網誌</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/success-stories/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">成功案例</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/videos/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">影片</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/MetaforDevelopers" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">Meta for Developers 專頁<i class="img sp_uBcZLoQnJo5 sx_f5c7bf"></i></a></li></ul><ul class="_8_jr"><div class="_8_js"><h4 class="_8xdx _8xdr _8xdj _8yp1 _93n_ _8zf- _8xdh" style="color:#232323;">條款與政策</h4></div><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/platform-initiatives/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">平台計劃中心</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/terms/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">平台使用條款</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/devpolicy/" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">開發人員政策</a></li><li class="_8_jq"><a class="_8xdz _9ao6 _8zgc _8zgd" href="/docs/messenger-platform/policy/messaging-channel-apis-and-functionalities" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">歐盟委員會承諾</a></li></ul></div><div class="_6u4h" style=""><div class="_8_jd"><div class="_af7-"><div class="_8_je"></div><div class="_8_jf _8_jh"><ul class="_8_jr"><div class="_8_js"><div class="_8zym _8xdr _8xdj _8xd- _8yp1 _93n_ _8zf- _9ao6" style="color:#232323;">追蹤我們</div></div><li class="_8_jq"><a class="_8xd- _9ao6 _8zgc" href="#" style="" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}" role="button"><a data-click-event="footer_social_fb" href="https://www.facebook.com/MetaforDevelopers" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89126182_222315695571651_4936319991919149056_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=42L_R-zx5d4Q7kNvgHOL_bX&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYB8VFoYzD-P_PvshpYlN-XXOOGZ-ryv-aSe5jlvvPeiig&oe=675BFBEF" alt="在 Facebook 追蹤我們" style="width:24px; height:auto; display:inline; margin-right:20px;" /></a><a data-click-event="footer_social_ig" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.instagram.com%2Fmetafordevelopers%2F&h=AT1QA7bli8c4XOFxa8pU7w7AvxM6spQat0Xf886TxYTBjfZ7Bo20VKlwvtyZrCSsj05OMw-StMiAwpAYREyU6Q6kqTahSBq_EdkdAvcOQrYgj-ODXmpoFqWkJ4XLT5n1Aw_h8zGhcdg_0WKCuBvGgpzMCQ" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89319900_506382610280628_2520212398984396800_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=4SMY2f9DtdkQ7kNvgHbAyXU&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYDKOyRfXOXHXVLhA-w3G2kh4SvX1k9FCgaaQPDWbVv73w&oe=675C0775" alt="在 Instagram 追蹤我們" style="width:24px; height:auto; display:inline; margin-right:20px;" /></a><a data-click-event="footer_social_twitter" href="https://l.facebook.com/l.php?u=https%3A%2F%2Ftwitter.com%2Fmetafordevs&h=AT3jyz1F9HYrXnZpUt8WAyvhMe-bg12A546gGH9Ll3bsbohwN95lcNTF1UbWNqCOYseJqDVQP9uk5YA1D72b55bH-bsgujgsuBa6nNt5tO90DDu3Id5H2pPcIPfsLriUEzvVnmqaWIKTe5N49ZXGwMVpuA" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89154638_493934268150363_1123534170136510464_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=0SswhzSq-ssQ7kNvgHgLyMP&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYB82RdozvCMRoVT4m_LRUuxe86w1Qk0QuyG5FGWAszKLg&oe=675C1985" alt="在 Twitter 追蹤我們" style="width:24px; height:auto; display:inline; margin-right:20px;" /></a><a data-click-event="footer_social_linkedin" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.linkedin.com%2Fshowcase%2Fmeta-for-developers%2F&h=AT1j5yBHYM1_oV5oR8FiCtjlRyDCMGdwJQFlBahsW55TP1Yg3qIAtNf7DLpwV1oIkVuWHAleKZpdp3PT_mqwgJJws3IpC8sjaXBDnxsyrB9OT9uHBNjtVhZ-z2sBu55CFZOek4Oh-gvXSjeQDOOc8k3BkQ" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89354779_640044533453459_7031092369583767552_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=tA-RPdG6ssgQ7kNvgGns_wr&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYChBO6-8nbdvIKTqC2ihu52jTauVJDpaYBaCxRGz91WOQ&oe=675C0AC6" alt="在 LinkedIn 追蹤我們" style="width:auto; height:24px; display:inline; margin-right:20px" /></a><a data-click-event="footer_social_youtube" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.youtube.com%2FMetaDevelopers%2F&h=AT2dpJbM759hb-Mr4MAx9uSy4A0MeHQj3gKamjLZSYJqRAWAxMlJYsl6t0EM4nrbWMu96BRoNIEQuZlhLl71hyMLZq6GC29XoYKMTkNKZ9R54Rs9eDZTdI8bnUNx4ul0J0-S0qK3z5AvNoWO_Xht8Z6Puw" data-ms="{"creative":"image","creative_detail":"image&device_type=desktop","create_type":"image","create_type_detail":"image"}" target="_blank" rel="nofollow" data-lynx-mode="hover"><img class="_6voz _7f2d img" src="https://scontent-hkg4-1.xx.fbcdn.net/v/t39.2365-6/89127358_532616317687233_292625476315250688_n.svg?_nc_cat=1&ccb=1-7&_nc_sid=e280be&_nc_ohc=BMFSL3KgwTcQ7kNvgGe11_a&_nc_zt=14&_nc_ht=scontent-hkg4-1.xx&_nc_gid=ASCqNBxZ7wqZwsrHAshcUgo&oh=00_AYCF3D8Aq6qAUvUPzoUahWF0ycTr0IyEaCh6zWrHCwbVkg&oe=675BF294" alt="在 YouTube 追蹤我們" style="width: auto; height:24px; display:inline;" /></a></a></li></ul></div></div></div></div></div><div class="_46qr"></div><div class="_6uo3 _370e _370j _370k"><ul class="_8_jo"><div class="_8zym _8xdr _8xdj _8xdz _8yp1 _93n_ _8zf- _9ao6" style=""> © 2024 Meta </div><div class="_8_j4"><li class="_8_jp"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://l.facebook.com/l.php?u=https%3A%2F%2Fabout.fb.com%2F&h=AT05LYFMerce66gO6wUPN3Rp9czw0lmVeELmuviJUhSznOpd6M6Z5OcW9wCc4TV65v31ECBnQt8QB1Q_9qj_KnYA0MKl_NKtAHxl-uLJZjdoHmk_cDrKxLmYuqlP79gZcuLhJ0e2NoKJDdbJFhcSScdFCw" style="color:#232323;" target="_blank" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}" rel="nofollow" data-lynx-mode="hover">關於我們</a></li><li class="_8_jp"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/ads/create" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">建立廣告</a></li><li class="_8_jp"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/careers" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">工作機會</a></li><li class="_8_jp"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/about/privacy" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">私隱政策</a></li><li class="_8_jp"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/help/cookies" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">Cookie</a></li><li class="_8_jp"><a class="_8xdz _9ao6 _8zgc _8zgd" href="https://www.facebook.com/policies" style="color:#232323;" data-ms="{"creative":"link","creative_detail":"link&device_type=desktop","create_type":"link","create_type_detail":""}">使用條款</a></li><div class="_8_j1"><div class="_af7_" data-nocookies="1"><div class="_8_j5"><select class="_8_j6 _9aob" id="u_0_81_vv"><option class="_8_ja" tabindex="0" data-locale="zh_HK" value="zh_HK">中文(香港)</option><option class="_8_j9" value="id_ID" data-locale="id_ID" tabindex="0">Bahasa Indonesia</option><option class="_8_j9" value="de_DE" data-locale="de_DE" tabindex="0">Deutsch</option><option class="_8_j9" value="en_US" data-locale="en_US" tabindex="0">English (US)</option><option class="_8_j9" value="es_LA" data-locale="es_LA" tabindex="0">Español</option><option class="_8_j9" value="es_ES" data-locale="es_ES" tabindex="0">Español (España)</option><option class="_8_j9" value="fr_FR" data-locale="fr_FR" tabindex="0">Français (France)</option><option class="_8_j9" value="it_IT" data-locale="it_IT" tabindex="0">Italiano</option><option class="_8_j9" value="pt_BR" data-locale="pt_BR" tabindex="0">Português (Brasil)</option><option class="_8_j9" value="vi_VN" data-locale="vi_VN" tabindex="0">Tiếng Việt</option><option class="_8_j9" value="ru_RU" data-locale="ru_RU" tabindex="0">Русский</option><option class="_8_j9" value="ar_AR" data-locale="ar_AR" tabindex="0">العربية</option><option class="_8_j9" value="th_TH" data-locale="th_TH" tabindex="0">ภาษาไทย</option><option class="_8_j9" value="ko_KR" data-locale="ko_KR" tabindex="0">한국어</option><option class="_8_j9" value="zh_TW" data-locale="zh_TW" tabindex="0">中文(台灣)</option><option class="_8_j9" value="zh_CN" data-locale="zh_CN" tabindex="0">中文(简体)</option><option class="_8_j9" value="ja_JP" data-locale="ja_JP" tabindex="0">日本語</option></select><button class="_8_j7" tabindex="-1" id="u_0_82_iZ"><div class="_8_j2"><div class="_8zym _8xdr _8xdj _8xdz _8yp1 _93n_ _8zf- _8xdi" style="">中文(香港)</div></div><div class="_8_j8"><div class="_8xnp"><svg width="12px" height="8px" viewBox="0 0 8 12" version="1.1" xmlns="http://www.w3.org/2000/svg"><polygon id="path-1" points="4 2 10 10 -2 10" transform="translate(4.000000, 6.000000) scale(1, -1) rotate(90.000000) translate(-4.000000, -6.000000)" fill="#232323"></polygon></svg></div></div></button></div></div></div></div></ul></div></div></div> --></code></div> <script nonce="JNgoVrRB">(function(){var n=now_inl();requireLazy(["__bigPipe"],function(bigPipe){bigPipe.beforePageletArrive("devsite_footer",n);})})();</script> <script nonce="JNgoVrRB">requireLazy(["__bigPipe"],(function(bigPipe){bigPipe.onPageletArrive({displayResources:["0n8jUCL","WIQEzfU","cZDPgjQ","ooZM6N3","iHCiaFe"],content:{devsite_footer:{container_id:"u_0_83_18"}},id:"devsite_footer",phase:1,last_in_phase:true,last_pagelet:true,tti_phase:1,jsmods:{instances:[["__inst_6b97fe1e_0_0_5w",["DeveloperRefreshFooterLocaleSelector","__elem_11edcf69_0_0_SA","__elem_0cdc66ad_0_0_wj"],[{__m:"__elem_11edcf69_0_0_SA"},{__m:"__elem_0cdc66ad_0_0_wj"},false,"zh_HK"],1]],elements:[["__elem_11edcf69_0_0_SA","u_0_81_vv",1],["__elem_0cdc66ad_0_0_wj","u_0_82_iZ",1]],require:[["__inst_6b97fe1e_0_0_5w"],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent"],"sd"]],["RequireDeferredReference","unblock",[],[["FbtLogging","IntlQtEventFalcoEvent"],"css"]]]},hsrp:{hblp:{consistency:{rev:1018446937},rsrcMap:{ooZM6N3:{type:"css",src:"https://static.xx.fbcdn.net/rsrc.php/v4/yI/l/1,cross/IEtGQ33ZcA8.css"}}}},allResources:["0n8jUCL","WIQEzfU","cZDPgjQ","ooZM6N3","iHCiaFe","kKG6kJf","CSl+Sxi","3F26mTM","gFJOVw5","4W8+IkX"]});}));</script><script nonce="JNgoVrRB">(function(){var n=now_inl();requireLazy(["__bigPipe"],function(bigPipe){bigPipe.beforePageletArrive("last_response",n);})})();</script> <script nonce="JNgoVrRB">requireLazy(["__bigPipe"],(function(bigPipe){bigPipe.onPageletArrive({displayResources:["CSl+Sxi"],id:"last_response",phase:2,last_in_phase:true,the_end:true,jsmods:{define:[["cr:6016",["NavigationMetricsWWW"],{__rc:["NavigationMetricsWWW",null]},-1],["cr:3376",[],{__rc:[null,null]},-1],["cr:7383",["BanzaiWWW"],{__rc:["BanzaiWWW",null]},-1],["cr:1083116",["XAsyncRequest"],{__rc:["XAsyncRequest",null]},-1],["cr:1083117",[],{__rc:[null,null]},-1],["cr:7267",["AdsDataAtom"],{__rc:["AdsDataAtom",null]},-1],["cr:6114",["DOM"],{__rc:["DOM",null]},-1],["TimeSliceInteractionSV",[],{on_demand_reference_counting:true,on_demand_profiling_counters:true,default_rate:1000,lite_default_rate:100,interaction_to_lite_coinflip:{ADS_INTERFACES_INTERACTION:0,ads_perf_scenario:0,ads_wait_time:0,Event:1},interaction_to_coinflip:{ADS_INTERFACES_INTERACTION:1,ads_perf_scenario:1,ads_wait_time:1,Event:100},enable_heartbeat:false,maxBlockMergeDuration:0,maxBlockMergeDistance:0,enable_banzai_stream:true,user_timing_coinflip:50,banzai_stream_coinflip:0,compression_enabled:true,ref_counting_fix:false,ref_counting_cont_fix:false,also_record_new_timeslice_format:false,force_async_request_tracing_on:false},2609],["USIDMetadata",[],{browser_id:"?",tab_id:"",page_id:"Psnel1k1r26nwo",transition_id:0,version:6},5888],["cr:1642797",["BanzaiBase"],{__rc:["BanzaiBase",null]},-1],["cr:1042",["XAsyncRequestWWW"],{__rc:["XAsyncRequestWWW",null]},-1],["cr:7225",[],{__rc:[null,null]},-1],["cr:917439",["PageTransitionsBlue"],{__rc:["PageTransitionsBlue",null]},-1],["cr:971473",["LayerHideOnTransition"],{__rc:["LayerHideOnTransition",null]},-1],["PageletGK",[],{destroyDomAfterEventHandler:false,skipClearingChildrenOnUnmount:true},2327],["cr:1172",["WebSession"],{__rc:["WebSession",null]},-1],["cr:2037",["BanzaiAdapter"],{__rc:["BanzaiAdapter",null]},-1],["cr:3724",["SetIdleTimeoutAcrossTransitions"],{__rc:["SetIdleTimeoutAcrossTransitions",null]},-1],["cr:9985",["performanceAbsoluteNow"],{__rc:["performanceAbsoluteNow",null]},-1],["cr:9986",["CurrentUser"],{__rc:["CurrentUser",null]},-1],["cr:9987",["NavigationMetrics"],{__rc:["NavigationMetrics",null]},-1],["cr:9988",["Visibility"],{__rc:["Visibility",null]},-1],["CurrentEnvironment",[],{facebookdotcom:true,messengerdotcom:false,workplacedotcom:false,instagramdotcom:false,workdotmetadotcom:false,horizondotmetadotcom:false},827],["PageTransitionsConfig",[],{reloadOnBootloadError:true},1067],["CometAltpayJsSdkIframeAllowedDomains",[],{allowed_domains:["https://live.adyen.com","https://integration-facebook.payu.in","https://facebook.payulatam.com","https://secure.payu.com","https://facebook.dlocal.com","https://buy2.boku.com"]},4920],["cr:5866",["BanzaiAdapterWWW"],{__rc:["BanzaiAdapterWWW",null]},-1],["cr:7384",["cancelIdleCallbackWWW"],{__rc:["cancelIdleCallbackWWW",null]},-1],["cr:692209",["cancelIdleCallbackBlue"],{__rc:["cancelIdleCallbackBlue",null]},-1],["BanzaiConfig",[],{MAX_SIZE:10000,MAX_WAIT:150000,MIN_WAIT:null,RESTORE_WAIT:150000,blacklist:["time_spent"],disabled:false,gks:{boosted_pagelikes:true,platform_oauth_client_events:true,sticker_search_ranking:true},known_routes:["artillery_javascript_actions","artillery_javascript_trace","artillery_logger_data","logger","falco","gk2_exposure","js_error_logging","loom_trace","marauder","perfx_custom_logger_endpoint","qex","require_cond_exposure_logging","metaconfig_exposure"],should_drop_unknown_routes:true,should_log_unknown_routes:false},7],["cr:844180",["TimeSpentImmediateActiveSecondsLoggerBlue"],{__rc:["TimeSpentImmediateActiveSecondsLoggerBlue",null]},-1],["cr:1187159",["BlueCompatBroker"],{__rc:["BlueCompatBroker",null]},-1],["cr:1634616",["UserActivityBlue"],{__rc:["UserActivityBlue",null]},-1],["TimeSpentConfig",[],{delay:1000,timeout:64,"0_delay":0,"0_timeout":8},142],["cr:710",[],{__rc:[null,null]},-1],["ImmediateActiveSecondsConfig",[],{sampling_rate:0},423]],require:[["NavigationMetrics","setPage",[],[{page:"XDeveloperDocumentationController",page_type:"normal",page_uri:"https://developers.facebook.com/docs/marketing-api/reference/ad-campaign",serverLID:"7440449083423691430"}]],["FalcoLoggerTransports","attach",[],[]],["Chromedome","start",[],[{}]],["DimensionTracking"],["ClickRefLogger"],["NavigationClickPointHandler"],["CookieCore","setWithoutChecksIfFirstPartyContext",[],["_js_datr","BMlBZwYjG_ih1694-2tXlOp_",34560000000,"/",true,".facebook.com"]],["Artillery","disable",[],[]],["ScriptPathLogger","startLogging",[],[]],["TimeSpentBitArrayLogger","init",[],[]],["TransportSelectingClientSingletonConditional"],["RequireDeferredReference","unblock",[],[["TransportSelectingClientSingletonConditional"],"sd"]],["RequireDeferredReference","unblock",[],[["TransportSelectingClientSingletonConditional"],"css"]]]},hsrp:{hsdp:{clpData:{"1829319":{r:1},"1829320":{r:1},"1843988":{r:1}}},hblp:{consistency:{rev:1018446937}}},allResources:["CSl+Sxi","49g5Itw","3F26mTM"]});}));</script></body></html>