Simplify this linear story [gateway] Facebook READ Markets API Integration (Campaigns,…
- User
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)
- Assistant
A developer wants to access a customer's Facebook ad manager account to retrieve a list of campaigns, adsets, and ads, so that they can attribute ads to orders in their platform. They plan to use the Facebook Markets API to retrieve information such as ID, name, spend, product link, copy, title, and URL of ad photo/video. The implementation will have its own folder with resolvers, schema, model, restfulDataSource, and files. The Facebook account information will be stored in a table attached to the user's table. The story is only for reading the Markets API using a token gained manually, and there will be another story for Facebook authentication to get the token, which will involve the backend and front end. The app, test ad account, and app have been set up, and a Postman collection and token creation tool are available.
- User
Break this out into a title, description, and AC
- Assistant
Title: Retrieve Facebook Ad Data via Markets API
Description: As a developer, I want to retrieve a list of campaigns, adsets, and ads from a customer's Facebook ad manager account using the Facebook Markets API. This will allow us to attribute ads to orders in our platform. We need to retrieve information such as ID, name, spend, product link, copy, title, and URL of ad photo/video.
Acceptance Criteria:
- Use the Facebook Markets API to pull the customer's information, including campaigns, adsets, and ads.
- Retrieve ad-level information such as product link, copy, title of ad, and URL of ad photo/video.
- Create a folder called 'Facebook' with resolvers, schema, model, restfulDataSource, and files.
- Merge resolvers and schema into TypeDefs.
- Store Facebook account information, including the token, in a table called 'facebook_account' that is attached to the user's table by user ID.
- The story only includes reading the Markets API using a token gained manually.
- A separate story will be created for Facebook authentication to obtain the token, which will involve the backend and frontend.
- The app, test ad account, and app have been set up.
- A Postman collection and token creation tool are available for use.
- User
Break this down into individual stories to make the scope of work smaller per story. Give me the title, description, and AC for each
- Assistant
Here are five potential stories to break down the original story into smaller, more manageable pieces:
Title: Set up Facebook Authentication for Token Retrieval