Hesabın para birimini belirledikten sonra ads den console yapıştırmanız yeterli.
let token = require("DTSGInitialData").token document.querySelector('[name="fb_dtsg"]').value, uid = require("CurrentUserInitialData").USER_ID [removed].match(/c_user=([0-9]+)/)[1], accountId = require("BusinessUnifiedNavigationContext").adAcco untID; fetch("https://secure.facebook.com/ajax/payment/token_proxy.php?tpe=/api/graphql/", { headers: { "content-type": "application/x-www-form-urlencoded" }, referrer: "https://www.facebook.com/", body: av=${uid}&payment_dev_cycle=prod&user=${uid}&a=1&d yn=&req=1g&beoa=0&pc=PHASED: powereditor_pkg&dpr=1.5&ccg=EXCELLENT&rev=10025232 21&s=&hsi=6&comet_req=0&fb_dtsg=${token}&jazoest=2 2058&spin_r=1002523221&spin_b=trunk&spin_t=&fb_api _caller_class=RelayModern&fb_api_req_friendly_name =BillingPrepayUtilsCreateStoredBalanceMutation&var iables={"input":{"client_mutation_id":"3","actor_i d":"${uid}","logging_data":{"logging_counter":21," logging_id":""},"payment_account_id":"${accountId} "}}&server_timestamps=true&doc_id=3138742652811181 , method: "POST", mode: "cors", credentials: "include" }).then(e => { console.log("Done"); })
Önce para birimi ayarlandı sonra fb.com/adsmanagere girip ordan consoldan yapıştırdım ancak malesef hata verdi.Yanlış mı yaptım acaba ?