MGID Cost Import
Use MGID Cost Import when Nitoriq should pull spend from selected MGID campaigns and show that cost beside tracked traffic, conversions, revenue, profit, and ROI.
The integration uses a manual MGID provider connection. You save an MGID
Client ID and API Token in Nitoriq, then Nitoriq uses that connection to
list the MGID campaigns available for cost import.
Before you start
- Make sure API access is enabled for the MGID advertiser account you want to use. MGID’s API overview is the right starting point when you need to confirm which API path applies to your account.
- Have the MGID
Client IDandAPI Tokenready before you create the connection. If you are connecting a direct advertiser account, use MGID’s REST API for advertisers guide when checking campaign and reporting access. - Confirm which MGID campaigns should be imported. Nitoriq can only list campaigns that are available to the credentials you save. If your team manages campaigns through an agency account, confirm whether MGID’s REST API for advertising agencies applies before you choose the credentials.
- Create the matching Nitoriq traffic source before the final traffic-source step, or be ready to finish that scope later.
- Decide which timezone Nitoriq should use for daily cost windows. Most teams use the operational timezone they use when reviewing MGID spend.
Create an MGID Cost Import integration
Open Cost Import
Go to Integrations, then select the Cost Import tab.
If you already have MGID cost imports, they appear in this table. Use this screen to confirm the integration was created later, to enable or pause it, and to run an import test from the row actions.
Choose MGID
Click Add integration, then choose MGID (Cost Import) from the provider
picker.
Use the search field if the provider list is long.
Name the integration
Give the integration a clear name, such as MGID - Main Campaign Costs or
MGID - Native Campaigns.
If you manage more than one workspace, confirm the Workspace field before you
continue.
Connect or select the MGID account
Open MGID Account.
If the MGID connection is already saved, select it from the list. If it is not
saved yet, click Connect MGID.
Nitoriq opens a new MGID connection modal. Enter a connection name, the MGID
Client ID, and the MGID API Token, then click Create. After the
connection is created, it should appear in the MGID account list. Use
Refresh accounts if the connection was saved but the list has not updated
yet.
Choose the MGID connection that can access the campaigns whose cost you want to import. If the wrong credentials were saved, create or select the correct connection before continuing.
Choose the integration timezone
Set Integration Timezone.
This timezone controls how Nitoriq requests and stores daily cost windows. Use the timezone your team expects when comparing MGID spend to Nitoriq reporting.
Select MGID campaigns
Click Next.
Nitoriq opens the Ad Accounts step. For MGID, this step lists campaigns.
Select one or more MGID campaigns, then click Save.
Nitoriq lists campaigns that are available to the MGID connection you selected.
If an expected campaign is missing, confirm the Client ID and API Token
belong to the right MGID account, then refresh the list in Nitoriq.
MGID’s REST API for advertisers is the provider reference to use when checking available campaign and reporting access.
Attach Nitoriq traffic sources
After the campaigns are saved, Nitoriq asks which traffic sources should use this imported cost.
Select the Nitoriq traffic source or sources that represent this MGID traffic,
then click Save.
If you leave this step empty, the integration can be saved, but it will not apply cost to reports until a traffic source is selected.
Confirm the saved integration
Return to Integrations > Cost Import.
The MGID integration should appear in the table. From the row actions, run an import test to confirm Nitoriq can fetch cost for the selected campaigns and date range.
MGID Fields in Nitoriq
MGID Account
The saved manual MGID provider connection Nitoriq uses to list accessible campaigns.
Only campaigns available to this connection can be selected for import.Client ID
The MGID client identifier saved in the MGID connection.
Nitoriq uses it with the API token when requesting MGID campaign statistics.API Token
The MGID API token saved in the MGID connection.
MGID requires the token for API authentication and reporting requests.Integration Timezone
The timezone used for cost import date windows.
Cost rows are imported by date, so the timezone should match how the account is reviewed operationally.Ad Accounts
The selected MGID campaigns shown in Nitoriq's ad-account step.
Nitoriq imports campaign spend from the selected campaigns.Traffic Sources
The Nitoriq traffic sources that should receive this MGID cost.
Reports use this scope to show cost, CPA, profit, and ROI beside tracked traffic.MGID cost is set up when
- the MGID connection is saved in Nitoriq
- the intended MGID campaigns are selected in the ad-account step
- the integration timezone is saved
- the MGID traffic source is attached in the traffic-source step
- the saved row appears under
Integrations > Cost Import - the import test can run from the row action
Was this page helpful?