Simplify this linear story
[gateway] Facebook READ Markets API Integration (Campaigns, Adsets, and Ads)

As a Developer I want to be able to get a list of Campaigns, Adsets, and Ads from a customers facebook ad manager account so that we can attribute ads to orders in our platform.

AC:

pull our users information from our users facebook ad managers account from the Facebook Markets API such as campaigns, adsets, and ads. 

All levels:

id, name, $spend,

Other FB Metrics defined here

ad level:

product link

copy (body)

title of ad

url of ad photo/video

should have its own folder called facebook with resolvers, schema, model, restfulDataSource, files etc… 

merge resolvers Resolvers 

merge schema into TypeDefs

stores facebook account information (token etc) in a facebook\_account table attached to a user in the users table by user id

Scope:

This story is just for reading markets api using a token gained manually. We will have another story for Facebook authentication to get the token, but it involves the backend and front end.

Context:

Our app is here

An invite has been sent to: for access to facebook business account, which has a test ad account and app.

Postman collection for facebook here

Create a token here (Get Token)
user