Add card to ad account with code

Step1: Go to the "payment settings" of the ad account to add the card

Link: https://business.facebook.com/ads/manager/account_settings/account_billing/?act=XXXXXX

XXXXXX is ID account ads

 

 

Step 2: Press F12 to bring up the Devtool window and select the Console tab as shown below

 

 

Step 3: Download the code below to your computer using the link below: Download

 

 

Step 4: Edit the information in the line below in quotes "..." and paste it in the console tab opened in step 2

- credit_card_number

- csc

- expiry_month

- expiry_year

 

 

Step 5: Press Enter and wait a while for the code to run, then F5 again and get the result