Skip to main content

Facebook Ads Manager

Facebook Ads Manager is your starting point for running ads on Facebook, Instagram, Messenger or Audience Network. It’s an all-in-one tool for creating ads, managing when and where they’ll run, and tracking how well your campaigns are performing.

Connecting to Facebook Ads

Mammoth allows you to connect your Facebook account to get your Ads data into Mammoth.

  1. Select API & Databases from the 'Add Data' menu and click on Facebook Ads Manager.
  1. Click on a new connection and log into your Facebook account.
  1. Select the account and click on “Next”. Once your Facebook account is connected with Mammoth, you will be presented with a list of tables and views in that database.
  1. Select the table you want to import and complete the test query with ID/TARGET , like this:
SELECT * FROM Ads WHERE Id = 'act_123456'

Select Tables

And click on Next.

note
  1. Facebook mandates the use of ID / TARGET for connecting Ads data to any third-party applications for security purposes. Keep it handy for a swift connection.
  2. The Ids for Ad accounts in Facebook are always returned in the format "act_" and when they are used as a Target in requests for other tables, the Id with the prefix "act_" must always be used.

After you have selected the table you want to work on, you get options to configure it as follows:

  • Save as new dataset: You can use this option to rename the table and save it as a new dataset.
  • Retrieval frequency: This is to set the frequency of the data import.
  • Start retrieving: This is to decide when to initiate the data import - Now or Later.
  • On refresh: You can choose what happens to new data Schedule pull. There are three option to choose from - Replace all data, Add new data since data pull, Replace with new data since new pull.

Scheduling options in Facebook Ads manager

Scheduling your Data Pulls

You can start retrieving the data now or at a specific time. Further schedule the data imports to get the latest data from your Database at a certain time interval - just once, daily, weekly or monthly.

On every data pull from your Database, you also have options to - Replace all data, Add new data since data pull, or Replace with new data since new pull.

On choosing options Add new data since data pull or Replace with new data since new pull, you will get an option to choose a unique sequence column. Using this column, on refresh, Mammoth will pick up all the rows that have greater value in this column than the previous data pull.