Facebook Ads
Facebook Ads is the advertising platform of the social network Facebook. You can use Facebook Ads as a data source when landing or replicating data.
You can leave all custom report fields empty to use pre-built reports. Fill in the custom report fields, levels, and breakdowns fields to use user-defined reports.
-
有关连接 SaaS 应用程序的更多信息,请参阅连接到 SaaS 应用程序。
-
必须安装 数据移动网关 才能移动 SaaS 应用程序中的数据。有关更多信息,请参阅Qlik 数据网关 - 数据移动。
支持的更新方法
有关更多信息,请参阅更改处理。
登陆任务:
-
更改数据捕获 (CDC)
-
重新加载并比较
复制任务:
-
使用变更表更改数据捕获 (CDC)
-
满负载
在数据湖任务中登陆数据:
-
更改数据捕获 (CDC)
-
重新加载
Preparing for authentication
To access your Facebook Ads data, you need to authenticate the connection with your account credentials.
Create an app
-
Go to https://developers.facebook.com/apps/.
-
Click Create an app, click Manage Business Integrations, and click Continue.
-
Set App Display Name to Qlik.
-
Set the app purpose appropriately for your use case.
-
Set Do you have a Business Manager account to the business manager account that you want to use.
-
Click Create App.
Generate an access token:
-
Go to https://developers.facebook.com/tools/explorer.
-
Set Facebook App to Qlik.
-
Click Generate Access Token.
-
Click Add a Permission, then click Events Groups Pages and select ads_read.
-
Click Generate Access Token and follow the instructions to authorize the app.
Get App ID and App Secret
-
Go to Marketing API and click Set Up.
-
On the top left of the screen under Dashboard, click Settings.
-
Click Basic.
Creating the connection
- Fill in the required connection properties.
-
Provide a name for the connection in Connection name.
-
Select Open connection metadata to define metadata for the connection when it has been created.
-
Click Create.
Setting | Description |
---|---|
Data gateway |
选择要在复制数据时使用的 数据移动网关。 |
Access Token |
The access token you have generated for your app. |
App ID |
The ID of your Qlik app on Facebook. |
Ad Account ID | To get your Ad Account ID, go to Find your Facebook ad account ID number and follow the instructios. |
App Secret | The secret associated with your Qlik app on Facebook. |
Start Date | Start date for the reporting period you require in the format YYYY-MM-DD. |
Custom Report One Fields |
Fields for custom report one. You can use fields listed in Parameters and Fields. 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report One Levels |
Levels for custom report one. The following levels are possible to use: ad, adset, campaign, account 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report One Breakdowns |
Breakdowns for custom report one. The following breakdowns are possible to use: ad_format_asset, age, app_id, body_asset, call_to_action_asset, coarse_conversion_value, country, description_asset, fidelity_type, gender, hsid, image_asset, impression_device, is_conversion_id_modeled, link_url_asset, postback_sequence_index, product_id, redownload, region, skan_campaign_id, skan_conversion_id, skan_version, title_asset, video_asset, dma, frequency_value, hourly_stats_aggregated_by_advertiser_time_zone, hourly_stats_aggregated_by_audience_time_zone, mmm, place_page_id, publisher_platform, platform_position, device_platform, standard_event_content_type, marketing_messages_btn_name 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Two Fields |
Fields for custom report two. You can use fields listed in Parameters and Fields. 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Two Levels |
Levels for custom report two. The following levels are possible to use: ad, adset, campaign, account 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Two Breakdowns |
Breakdowns for custom report two. The following breakdowns are possible to use: ad_format_asset, age, app_id, body_asset, call_to_action_asset, coarse_conversion_value, country, description_asset, fidelity_type, gender, hsid, image_asset, impression_device, is_conversion_id_modeled, link_url_asset, postback_sequence_index, product_id, redownload, region, skan_campaign_id, skan_conversion_id, skan_version, title_asset, video_asset, dma, frequency_value, hourly_stats_aggregated_by_advertiser_time_zone, hourly_stats_aggregated_by_audience_time_zone, mmm, place_page_id, publisher_platform, platform_position, device_platform, standard_event_content_type, marketing_messages_btn_name 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Three Fields |
Fields for custom report three. You can use fields listed in Parameters and Fields. 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Three Levels |
Levels for custom report three. The following levels are possible to use: ad, adset, campaign, account 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Three Breakdowns |
Breakdowns for custom report three. The following breakdowns are possible to use: ad_format_asset, age, app_id, body_asset, call_to_action_asset, coarse_conversion_value, country, description_asset, fidelity_type, gender, hsid, image_asset, impression_device, is_conversion_id_modeled, link_url_asset, postback_sequence_index, product_id, redownload, region, skan_campaign_id, skan_conversion_id, skan_version, title_asset, video_asset, dma, frequency_value, hourly_stats_aggregated_by_advertiser_time_zone, hourly_stats_aggregated_by_audience_time_zone, mmm, place_page_id, publisher_platform, platform_position, device_platform, standard_event_content_type, marketing_messages_btn_name 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Four Fields |
Fields for custom report four. You can use fields listed in Parameters and Fields. 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Four Levels |
Levels for custom report four. The following levels are possible to use: ad, adset, campaign, account 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Four Breakdowns |
Breakdowns for custom report four. The following breakdowns are possible to use: ad_format_asset, age, app_id, body_asset, call_to_action_asset, coarse_conversion_value, country, description_asset, fidelity_type, gender, hsid, image_asset, impression_device, is_conversion_id_modeled, link_url_asset, postback_sequence_index, product_id, redownload, region, skan_campaign_id, skan_conversion_id, skan_version, title_asset, video_asset, dma, frequency_value, hourly_stats_aggregated_by_advertiser_time_zone, hourly_stats_aggregated_by_audience_time_zone, mmm, place_page_id, publisher_platform, platform_position, device_platform, standard_event_content_type, marketing_messages_btn_name 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Five Fields |
Fields for custom report five. You can use fields listed in Parameters and Fields. 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Five Levels |
Levels for custom report five. The following levels are possible to use: ad, adset, campaign, account 信息注释This field is optional, leave it empty to use pre-defined reports.
|
Custom Report Five Breakdowns |
Breakdowns for custom report five. The following breakdowns are possible to use: ad_format_asset, age, app_id, body_asset, call_to_action_asset, coarse_conversion_value, country, description_asset, fidelity_type, gender, hsid, image_asset, impression_device, is_conversion_id_modeled, link_url_asset, postback_sequence_index, product_id, redownload, region, skan_campaign_id, skan_conversion_id, skan_version, title_asset, video_asset, dma, frequency_value, hourly_stats_aggregated_by_advertiser_time_zone, hourly_stats_aggregated_by_audience_time_zone, mmm, place_page_id, publisher_platform, platform_position, device_platform, standard_event_content_type, marketing_messages_btn_name 信息注释This field is optional, leave it empty to use pre-defined reports.
|