Magento
Connect Magento 2 with integration credentials for orders, revenue, products and stock.
Connect Magento 2 so AdPage reads orders and product data from your shop directly. Magento has no consumer OAuth flow, so this is a credential connection: you create an integration in the Magento admin and paste four values into AdPage.
AdPage only reads. It never writes an order, a product or a price.
Before you start
You need administrator access to the Magento admin, and your shop's REST API must be reachable from the internet. A staging environment behind an IP allowlist or basic auth will fail the connection test — correctly, because AdPage genuinely cannot reach it.
You will create a Magento integration, which yields four values:
Consumer key
Consumer Key
Consumer secret
Consumer Secret
Access token
Access Token
Access token secret
Access Token Secret
Create the integration in Magento
Connect Magento in AdPage
Save
AdPage calls your shop before storing anything and reads the store configuration to prove the credentials work. Credentials that fail are never saved, so the tile cannot claim to be connected while every widget stays empty.
On success the tile shows your store name, read from Magento itself — which is also your confirmation that you connected the shop you meant to.
What you get
Orders, revenue and product data in Business & Revenue and Product Performance, plus inventory available to the Data Assistant: stock levels, out-of-stock views, and demand against availability.
Order revenue also feeds the Marketing Mix Model, which needs a reliable revenue series far more than it needs tracked conversions.
Reading the numbers
Order status matters. Magento keeps pending, processing, complete, cancelled and closed orders in the same place. A revenue figure that looks too high usually includes statuses you would not count as a sale.
Multi-store views share one endpoint. A Magento installation with several store views returns all of them. If a container should cover only one, say so to support so the scope can be set.
Tax display varies. Magento can report totals including or excluding tax depending on configuration. Check which yours does before comparing to another source.
Troubleshooting
The connection test fails immediately. Check the base URL first — it must include /rest/V1, and it must be the public URL. http:// instead of https://, or a staging host AdPage cannot reach, both fail here.
"Unauthorized" or a 401. One of the four values is wrong, or the integration was never activated. An integration that is saved but not activated produces tokens that do not work.
"Forbidden" or a 403. The credentials are valid but the integration lacks resource access. Edit it in Magento and grant the resources listed above.
It worked and then stopped. Someone deleted or reactivated the integration in Magento — reactivating issues new tokens and invalidates the old ones. Create fresh credentials and paste them again.
Orders are missing for one store view. See multi-store above.
Still stuck? Contact support@adpage.io with the container and the base URL — never the keys.
Was this helpful?


