Embed a report in an Iframe

Embed a report in an Iframe

Β 

Β 

Adloop give you the possibility to embed a report in an iframe.

To do so, you first need to contact us so that we can make the necessary technical adjustements.
Indeed, by default and for security reasons, the Adloop solution does not accept external requests.

1- How to build an Iframe link

Here is a basic example of how to build the Iframe link

<iframe src="https://{{workspace_url}}/iframe-reports/{{data_set_id}}/ad-reports/{{report_type}}/saved/{{report_id}}?auth_token={{auth_token}}&from={{from_date}}&to={{to_date}}"></iframe>

The easiest way is to go on one of your saved reports, copy the link then add /iframe-reports after the workspace domain name and ?auth_token=YOUR_TOKEN at the end of the URL.

Other parameters aren’t required.

Β 

How to find my auth token?
Your auth token can be found in your profile, under the β€œSecurity” part:

Β 

This is a (fake) access token

Β 

Β 

Β 

Β 

2- URL query parameters

URL query parameter name

Mandatory

Format

URL query parameter name

Mandatory

Format

auth_token

YES

string

from

NO

yyyy-mm-dd

to

NO

yyyy-mm-dd

To filter the report, you can add one or n query parameters:

any-dimension-slug

NO

value1|||value2|||value3

Β 

3- Examples

Date: 2022-07-28
Report type: Dashboard
Filters:

  • SEA campaign name: Awesome campaign OR Amazing campaign

  • SEA keyword: Magnificent product

<iframe src="https://fake.adoop.co/iframe-reports/1/ad-reports/dashboard/saved/1?auth_token=abcd123&from=2022-07-28&to=2022-07-28&sea-campaign-label=Awesome campaign|||Amazing campaign&sea-keywork=Magnificent product"></iframe>

Date: From 2022-07-01 to 2022-07-31
Report type: Performance
Filters:

  • Channel: Facebook Ads

  • Facebook adgroup name: Breathtaking adgroup

<iframe src="https://fake.adoop.co/iframe-reports/1/ad-reports/performance/saved/2?auth_token=abcd123&from=2022-07-01&to=2022-07-31&channel=Facebook Ads&facebook-adgroup-name=Breathtaking adgroup"></iframe>

4- Available dimensions for filters

Slug

Name

Slug

Name

General dimensions

channel

Channel

channel-group

Channel group

campaign

Campaign name

device

Device