Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reference: https://developers.facebook.com/docs/marketing-api/insights

Resource Name

Sub Resource

Description

Parameter

Campaign

All Campaigns - Insights

Lists all Insights on a Campaign level

Ad Account

Ad

All Ads - Insights

Lists all Insights on an Ad level

Ad Account

Adset

All Adsets - Insights

Lists all Insights on a Adset level

Ad Account

Connection Properties

  1. Authentication Mode: OAuth

Name

Mandatory

Description

Connection Name

Yes

Name of the connection

Description

No

Description of connection

image-20240403-235753.pngImage Removed

  • Fill up required fields (name)

  • Click Authorize

  • You will be redirected to facebook for oauth

image-20240404-000203.pngImage Removed

  • Approve the request and you will be redirected to EazyDI

  • Test connection to confirm

image-20240404-000353.pngImage Removed

2. Authentication Mode: Token

Name

Mandatory

Description

Connection Name

Yes

Name of the connection

Description

No

Description of connection

Token

Yes

The long lived access token

Permission required for manual entry of token

  • read_insights

  • ads_read

image-20240403-234421.pngImage Removed

Retrieve my access token manually

image-20240403-235056.pngImage Removed

  • Choose other

image-20240403-235231.pngImage Removed

  • Choose type as business

image-20240403-235255.pngImage Removed

  • Name the app and click create

image-20240403-235348.pngImage Removed

  • Add products marketing api and facebook login for business

image-20240403-235440.pngImage Removed

  • Go to Settings → Basic and retrieve the appid and secret

image-20240403-235614.pngImage Removed

  • Go to Tools → Graph api explorer

image-20240404-000708.pngImage Removed

Creating a connection

  • Fill up required fields (name, token)

Click Test Connection to check if token is valid

image-20240403-234822.pngImage Removed

Configuring Object

  • Choose from the Resource Type, Sub Resource Type, and Advertiser Id that will be used as source

image-20240404-000945.pngImage Removed

Fields

The fields are based on schema defined in https://developers.facebook.com/docs/marketing-api/insights v19.0 but automatically flattened to be able to map easily

image-20240404-001230.pngImage Removed

Running a Pipeline with Facebook as Source

image-20240404-001312.pngImage Removed

Facebook data:

image-20240404-001830.pngImage Removed

Target (Snowflake):

image-20240404-001907.pngImage Removed

Reauthorize:

...

Expand
titleContents
Child pages (Children Display)
depth1
allChildrentrue
styleh4
sortAndReverse
first0