Jepto API Documentation v54.5.6
Queries
analysisQuery
analysisQueryOutput
| Name | Description |
|---|---|
accountId -
String!
|
|
pipelineId -
[String!]
|
|
query -
AWSJSON!
|
Example
Query
query analysisQuery($accountId: String!, $pipelineId: [String!], $query: AWSJSON!) {
analysisQuery(accountId: $accountId, pipelineId: $pipelineId, query: $query) {
queryResult
}
}
Variables
{
"accountId": "abc123",
"pipelineId": ["xyz789"],
"query": AWSJSON
}
query analysisQuery($accountId: String!, $pipelineId: [String!], $query: AWSJSON!) {
analysisQuery(accountId: $accountId, pipelineId: $pipelineId, query: $query) {
queryResult
}
}
{
"accountId": "abc123",
"pipelineId": ["xyz789"],
"query": AWSJSON
}
Response
{"data": {"analysisQuery": {"queryResult": AWSJSON}}}
countInsights
InsightsCount
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
isResolved -
Boolean
|
|
nextToken -
String
|
|
type -
String
|
Example
Query
query countInsights($accountId: String!, $clientId: String, $isResolved: Boolean, $nextToken: String, $type: String) {
countInsights(accountId: $accountId, clientId: $clientId, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
count
text
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"isResolved": true,
"nextToken": "abc123",
"type": "xyz789"
}
query countInsights($accountId: String!, $clientId: String, $isResolved: Boolean, $nextToken: String, $type: String) {
countInsights(accountId: $accountId, clientId: $clientId, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
count
text
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"isResolved": true,
"nextToken": "abc123",
"type": "xyz789"
}
Response
{"data": {"countInsights": {"count": 123, "text": "abc123"}}}
dropDownClients
ClientList
| Name | Description |
|---|---|
accountId -
ID!
|
|
count -
Int
|
|
isArchived -
Boolean
|
|
nextToken -
String
|
Example
Query
query dropDownClients($accountId: ID!, $count: Int, $isArchived: Boolean, $nextToken: String) {
dropDownClients(accountId: $accountId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
items {
...ClientFragment
}
nextToken
}
}
Variables
{
"accountId": ID,
"count": 123,
"isArchived": true,
"nextToken": "abc123"
}
query dropDownClients($accountId: ID!, $count: Int, $isArchived: Boolean, $nextToken: String) {
dropDownClients(accountId: $accountId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
items {
...ClientFragment
}
nextToken
}
}
{
"accountId": ID,
"count": 123,
"isArchived": true,
"nextToken": "abc123"
}
Response
{
"data": {
"dropDownClients": {
"items": [Client],
"nextToken": "xyz789"
}
}
}
dsGetBudgetDetails
[Budget]
| Name | Description |
|---|---|
accountId -
String!
|
|
budgetId -
String!
|
|
clientIds -
[String]!
|
|
endDate -
String
|
|
getHistorical -
Boolean
|
|
lastEvaluatedKey -
String
|
|
startDate -
String
|
Example
Query
query dsGetBudgetDetails($accountId: String!, $budgetId: String!, $clientIds: [String]!, $endDate: String, $getHistorical: Boolean, $lastEvaluatedKey: String, $startDate: String) {
dsGetBudgetDetails(accountId: $accountId, budgetId: $budgetId, clientIds: $clientIds, endDate: $endDate, getHistorical: $getHistorical, lastEvaluatedKey: $lastEvaluatedKey, startDate: $startDate) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{
"accountId": "abc123",
"budgetId": "xyz789",
"clientIds": ["xyz789"],
"endDate": "xyz789",
"getHistorical": false,
"lastEvaluatedKey": "xyz789",
"startDate": "xyz789"
}
query dsGetBudgetDetails($accountId: String!, $budgetId: String!, $clientIds: [String]!, $endDate: String, $getHistorical: Boolean, $lastEvaluatedKey: String, $startDate: String) {
dsGetBudgetDetails(accountId: $accountId, budgetId: $budgetId, clientIds: $clientIds, endDate: $endDate, getHistorical: $getHistorical, lastEvaluatedKey: $lastEvaluatedKey, startDate: $startDate) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{
"accountId": "abc123",
"budgetId": "xyz789",
"clientIds": ["xyz789"],
"endDate": "xyz789",
"getHistorical": false,
"lastEvaluatedKey": "xyz789",
"startDate": "xyz789"
}
Response
{
"data": {
"dsGetBudgetDetails": [
{
"accountId": "xyz789",
"authEmail": "xyz789",
"changeHistory": "xyz789",
"client": Client,
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 123,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"history": AWSJSON,
"isArchived": true,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 987,
"schedEmail": "xyz789",
"schedSlack": "abc123",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "xyz789",
"title": "abc123",
"user": User,
"userId": "abc123",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
]
}
}
dsGetKPIDetails
[KPI]
| Name | Description |
|---|---|
accountId -
String!
|
|
clientIds -
[String]!
|
|
endDate -
String
|
|
getHistorical -
Boolean
|
|
kpiId -
String!
|
|
lastEvaluatedKey -
String
|
|
startDate -
String
|
Example
Query
query dsGetKPIDetails($accountId: String!, $clientIds: [String]!, $endDate: String, $getHistorical: Boolean, $kpiId: String!, $lastEvaluatedKey: String, $startDate: String) {
dsGetKPIDetails(accountId: $accountId, clientIds: $clientIds, endDate: $endDate, getHistorical: $getHistorical, kpiId: $kpiId, lastEvaluatedKey: $lastEvaluatedKey, startDate: $startDate) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{
"accountId": "xyz789",
"clientIds": ["abc123"],
"endDate": "xyz789",
"getHistorical": false,
"kpiId": "abc123",
"lastEvaluatedKey": "abc123",
"startDate": "abc123"
}
query dsGetKPIDetails($accountId: String!, $clientIds: [String]!, $endDate: String, $getHistorical: Boolean, $kpiId: String!, $lastEvaluatedKey: String, $startDate: String) {
dsGetKPIDetails(accountId: $accountId, clientIds: $clientIds, endDate: $endDate, getHistorical: $getHistorical, kpiId: $kpiId, lastEvaluatedKey: $lastEvaluatedKey, startDate: $startDate) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{
"accountId": "xyz789",
"clientIds": ["abc123"],
"endDate": "xyz789",
"getHistorical": false,
"kpiId": "abc123",
"lastEvaluatedKey": "abc123",
"startDate": "abc123"
}
Response
{
"data": {
"dsGetKPIDetails": [
{
"accountId": "abc123",
"advancedSettings": AWSJSON,
"changeHistory": "xyz789",
"client": Client,
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 987,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"history": AWSJSON,
"id": "abc123",
"isArchived": true,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"report": KPIReport,
"revisions": 123,
"schedEmail": "xyz789",
"schedSlack": "abc123",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"user": User,
"userId": "abc123",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
]
}
}
dsListCommentsUnderItem
[Comment]
| Name | Description |
|---|---|
accountId -
String!
|
|
clientIds -
[String]
|
|
endDate -
String
|
|
itemKeys -
[String]
|
|
startDate -
String
|
Example
Query
query dsListCommentsUnderItem($accountId: String!, $clientIds: [String], $endDate: String, $itemKeys: [String], $startDate: String) {
dsListCommentsUnderItem(accountId: $accountId, clientIds: $clientIds, endDate: $endDate, itemKeys: $itemKeys, startDate: $startDate) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
Variables
{
"accountId": "xyz789",
"clientIds": ["abc123"],
"endDate": "xyz789",
"itemKeys": ["abc123"],
"startDate": "abc123"
}
query dsListCommentsUnderItem($accountId: String!, $clientIds: [String], $endDate: String, $itemKeys: [String], $startDate: String) {
dsListCommentsUnderItem(accountId: $accountId, clientIds: $clientIds, endDate: $endDate, itemKeys: $itemKeys, startDate: $startDate) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
{
"accountId": "xyz789",
"clientIds": ["abc123"],
"endDate": "xyz789",
"itemKeys": ["abc123"],
"startDate": "abc123"
}
Response
{
"data": {
"dsListCommentsUnderItem": [
{
"accountId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"deletedBy": "abc123",
"isDeleted": false,
"mentionedUsers": ["abc123"],
"message": "xyz789",
"revisions": 123,
"sortKey": "abc123",
"type": CommentType,
"updatedBy": "xyz789",
"user": User,
"userId": "xyz789"
}
]
}
}
dsListInsightsUnderAccount
InsightsConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientIds -
[String]
|
|
endDate -
String!
|
|
filters -
[labelInput]
|
|
startDate -
String!
|
Example
Query
query dsListInsightsUnderAccount($accountId: String!, $clientIds: [String], $endDate: String!, $filters: [labelInput], $startDate: String!) {
dsListInsightsUnderAccount(accountId: $accountId, clientIds: $clientIds, endDate: $endDate, filters: $filters, startDate: $startDate) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
Variables
{
"accountId": "xyz789",
"clientIds": ["xyz789"],
"endDate": "xyz789",
"filters": [labelInput],
"startDate": "xyz789"
}
query dsListInsightsUnderAccount($accountId: String!, $clientIds: [String], $endDate: String!, $filters: [labelInput], $startDate: String!) {
dsListInsightsUnderAccount(accountId: $accountId, clientIds: $clientIds, endDate: $endDate, filters: $filters, startDate: $startDate) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
{
"accountId": "xyz789",
"clientIds": ["xyz789"],
"endDate": "xyz789",
"filters": [labelInput],
"startDate": "xyz789"
}
Response
{
"data": {
"dsListInsightsUnderAccount": {
"count": 987,
"id": "xyz789",
"items": [Insights],
"nextToken": "abc123",
"scannedCount": 123
}
}
}
getAccount
Example
Query
query getAccount($accountId: String!, $sortKey: String!) {
getAccount(accountId: $accountId, sortKey: $sortKey) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
Variables
{"accountId": "abc123", "sortKey": "abc123"}
query getAccount($accountId: String!, $sortKey: String!) {
getAccount(accountId: $accountId, sortKey: $sortKey) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
{"accountId": "abc123", "sortKey": "abc123"}
Response
{
"data": {
"getAccount": {
"accountId": "abc123",
"accountType": "abc123",
"betaAccess": false,
"clientId": "xyz789",
"clientList": ["xyz789"],
"cubeToken": "abc123",
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"domain": "abc123",
"hasCard": false,
"inProgress": false,
"logo": "xyz789",
"name": "xyz789",
"revisions": 123,
"sortKey": "xyz789",
"status": "xyz789",
"timezone": "xyz789",
"totalAnomalies": 123,
"totalBudgets": 123,
"totalClients": 123,
"totalKpis": 123,
"transactionStatus": "abc123",
"weekStart": "abc123",
"zapierWebHook": AWSJSON
}
}
}
getAccountAddOns
Example
Query
query getAccountAddOns($accountId: String!, $addOnId: String!) {
getAccountAddOns(accountId: $accountId, addOnId: $addOnId) {
accountId
addOnId
details {
...AddOnPackFragment
}
}
}
Variables
{"accountId": "abc123", "addOnId": "xyz789"}
query getAccountAddOns($accountId: String!, $addOnId: String!) {
getAccountAddOns(accountId: $accountId, addOnId: $addOnId) {
accountId
addOnId
details {
...AddOnPackFragment
}
}
}
{"accountId": "abc123", "addOnId": "xyz789"}
Response
{
"data": {
"getAccountAddOns": {
"accountId": "abc123",
"addOnId": "abc123",
"details": [AddOnPack]
}
}
}
getAccountConnection
Example
Query
query getAccountConnection($accountId: String!, $sortKey: String!) {
getAccountConnection(accountId: $accountId, sortKey: $sortKey) {
accountId
authStatus
clientList
domain
email
isClientConnected
isCompleted
oauthType
scopes
sortKey
teamId
teamName
url
userId
username
}
}
Variables
{"accountId": "abc123", "sortKey": "abc123"}
query getAccountConnection($accountId: String!, $sortKey: String!) {
getAccountConnection(accountId: $accountId, sortKey: $sortKey) {
accountId
authStatus
clientList
domain
email
isClientConnected
isCompleted
oauthType
scopes
sortKey
teamId
teamName
url
userId
username
}
}
{"accountId": "abc123", "sortKey": "abc123"}
Response
{
"data": {
"getAccountConnection": {
"accountId": "xyz789",
"authStatus": CONNECTION_STATUS,
"clientList": ["xyz789"],
"domain": "abc123",
"email": "xyz789",
"isClientConnected": true,
"isCompleted": true,
"oauthType": "xyz789",
"scopes": ["abc123"],
"sortKey": "xyz789",
"teamId": "abc123",
"teamName": "xyz789",
"url": "abc123",
"userId": "abc123",
"username": "abc123"
}
}
}
getAccountInvoices
Example
Query
query getAccountInvoices($accountId: String!) {
getAccountInvoices(accountId: $accountId) {
accountId
invoices {
...AccountInvoiceFragment
}
}
}
Variables
{"accountId": "abc123"}
query getAccountInvoices($accountId: String!) {
getAccountInvoices(accountId: $accountId) {
accountId
invoices {
...AccountInvoiceFragment
}
}
}
{"accountId": "abc123"}
Response
{
"data": {
"getAccountInvoices": {
"accountId": "xyz789",
"invoices": [AccountInvoice]
}
}
}
getAccountPreference
Example
Query
query getAccountPreference($accountId: String) {
getAccountPreference(accountId: $accountId) {
budgets {
...BudgetPreferenceFragment
}
dataWarehouse {
...DataWarehouseFragment
}
insights {
...InsightPreferenceFragment
}
kpis {
...KpiPreferenceFragment
}
revision
}
}
Variables
{"accountId": "abc123"}
query getAccountPreference($accountId: String) {
getAccountPreference(accountId: $accountId) {
budgets {
...BudgetPreferenceFragment
}
dataWarehouse {
...DataWarehouseFragment
}
insights {
...InsightPreferenceFragment
}
kpis {
...KpiPreferenceFragment
}
revision
}
}
{"accountId": "abc123"}
Response
{
"data": {
"getAccountPreference": {
"budgets": BudgetPreference,
"dataWarehouse": DataWarehouse,
"insights": InsightPreference,
"kpis": KpiPreference,
"revision": 987
}
}
}
getAdsCampaignFilter
Example
Query
query getAdsCampaignFilter($input: AdsCampaignFilterInput) {
getAdsCampaignFilter(input: $input) {
id
labels
name
}
}
Variables
{"input": AdsCampaignFilterInput}
query getAdsCampaignFilter($input: AdsCampaignFilterInput) {
getAdsCampaignFilter(input: $input) {
id
labels
name
}
}
{"input": AdsCampaignFilterInput}
Response
{
"data": {
"getAdsCampaignFilter": [
{"id": "xyz789", "labels": ["abc123"], "name": "abc123"}
]
}
}
getAdsLabelLists
[AdsLabelList]
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
refresh -
Boolean!
|
|
source -
AdsCampaignSource
|
Example
Query
query getAdsLabelLists($accountId: String!, $clientId: String!, $refresh: Boolean!, $source: AdsCampaignSource) {
getAdsLabelLists(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
backgroundColor
description
id
name
resourceName
}
}
Variables
{
"accountId": "abc123",
"clientId": "xyz789",
"refresh": true,
"source": AdsCampaignSource
}
query getAdsLabelLists($accountId: String!, $clientId: String!, $refresh: Boolean!, $source: AdsCampaignSource) {
getAdsLabelLists(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
backgroundColor
description
id
name
resourceName
}
}
{
"accountId": "abc123",
"clientId": "xyz789",
"refresh": true,
"source": AdsCampaignSource
}
Response
{
"data": {
"getAdsLabelLists": [
{
"backgroundColor": "xyz789",
"description": "xyz789",
"id": "abc123",
"name": "xyz789",
"resourceName": "xyz789"
}
]
}
}
getAnomalyDetails
Example
Query
query getAnomalyDetails($accountId: String!, $sortKey: String!) {
getAnomalyDetails(accountId: $accountId, sortKey: $sortKey) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"accountId": "xyz789", "sortKey": "abc123"}
query getAnomalyDetails($accountId: String!, $sortKey: String!) {
getAnomalyDetails(accountId: $accountId, sortKey: $sortKey) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"accountId": "xyz789", "sortKey": "abc123"}
Response
{
"data": {
"getAnomalyDetails": {
"accountId": "xyz789",
"authId": "abc123",
"changeHistory": "abc123",
"clientId": "abc123",
"clientName": "abc123",
"commentCount": 987,
"configuration": AnomalyConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "abc123",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "xyz789",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": false,
"isDeleted": true,
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyWebhook": true,
"report": AnomalyReport,
"revisions": 987,
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"userId": "xyz789",
"watchList": ["abc123"],
"webhookURL": "abc123"
}
}
}
getAnomalyPreviewReport
Example
Query
query getAnomalyPreviewReport($input: AnomalyPreviewConfigurationInput) {
getAnomalyPreviewReport(input: $input) {
errorMessage
executionArn
id
message
report {
...AnomalyReportFragment
}
stage
status
}
}
Variables
{"input": AnomalyPreviewConfigurationInput}
query getAnomalyPreviewReport($input: AnomalyPreviewConfigurationInput) {
getAnomalyPreviewReport(input: $input) {
errorMessage
executionArn
id
message
report {
...AnomalyReportFragment
}
stage
status
}
}
{"input": AnomalyPreviewConfigurationInput}
Response
{
"data": {
"getAnomalyPreviewReport": {
"errorMessage": AWSJSON,
"executionArn": "xyz789",
"id": ID,
"message": "abc123",
"report": AnomalyReport,
"stage": AnomalyPreviewStage,
"status": AnomalyPreviewStatus
}
}
}
getAutomationDetails
Example
Query
query getAutomationDetails($accountId: String!, $clientId: String, $sortKey: String!) {
getAutomationDetails(accountId: $accountId, clientId: $clientId, sortKey: $sortKey) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
Variables
{"accountId": "abc123", "clientId": "abc123", "sortKey": "abc123"}
query getAutomationDetails($accountId: String!, $clientId: String, $sortKey: String!) {
getAutomationDetails(accountId: $accountId, clientId: $clientId, sortKey: $sortKey) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
{"accountId": "abc123", "clientId": "abc123", "sortKey": "abc123"}
Response
{
"data": {
"getAutomationDetails": {
"accountId": "abc123",
"clientId": "xyz789",
"clientName": "abc123",
"cognitoUserId": "xyz789",
"configuration": AWSJSON,
"connectionStatus": "abc123",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "abc123",
"executionArn": "xyz789",
"gmbLocationId": "abc123",
"isArchived": true,
"isDeleted": true,
"jobId": "abc123",
"jobStatus": ANOMALY_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyWebhook": false,
"revisions": 987,
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"webhookURL": "abc123"
}
}
}
getAutomationJobs
Example
Query
query getAutomationJobs {
getAutomationJobs {
id
title
}
}
query getAutomationJobs {
getAutomationJobs {
id
title
}
}
Response
{"data": {"getAutomationJobs": [{"id": "xyz789", "title": "xyz789"}]}}
getBudgetDetails
Example
Query
query getBudgetDetails($accountId: String!, $sortKey: String!) {
getBudgetDetails(accountId: $accountId, sortKey: $sortKey) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"accountId": "abc123", "sortKey": "abc123"}
query getBudgetDetails($accountId: String!, $sortKey: String!) {
getBudgetDetails(accountId: $accountId, sortKey: $sortKey) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"accountId": "abc123", "sortKey": "abc123"}
Response
{
"data": {
"getBudgetDetails": {
"accountId": "xyz789",
"authEmail": "xyz789",
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "xyz789",
"commentCount": 123,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"history": AWSJSON,
"isArchived": false,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 123,
"schedEmail": "xyz789",
"schedSlack": "abc123",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"user": User,
"userId": "xyz789",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
getBudgetPreview
Example
Query
query getBudgetPreview($input: BudgetPreviewInput) {
getBudgetPreview(input: $input) {
errorMessage
executionArn
id
message
report {
...BudgetReportFragment
}
stage
status
}
}
Variables
{"input": BudgetPreviewInput}
query getBudgetPreview($input: BudgetPreviewInput) {
getBudgetPreview(input: $input) {
errorMessage
executionArn
id
message
report {
...BudgetReportFragment
}
stage
status
}
}
{"input": BudgetPreviewInput}
Response
{
"data": {
"getBudgetPreview": {
"errorMessage": AWSJSON,
"executionArn": "xyz789",
"id": ID,
"message": "xyz789",
"report": BudgetReport,
"stage": PREVIEW_STAGE,
"status": BudgetPreviewStatus
}
}
}
getBudgetPreviewReport
Example
Query
query getBudgetPreviewReport($input: BudgetPreviewConfigurationInput) {
getBudgetPreviewReport(input: $input) {
errorMessage
executionArn
id
message
report {
...BudgetReportFragment
}
stage
status
}
}
Variables
{"input": BudgetPreviewConfigurationInput}
query getBudgetPreviewReport($input: BudgetPreviewConfigurationInput) {
getBudgetPreviewReport(input: $input) {
errorMessage
executionArn
id
message
report {
...BudgetReportFragment
}
stage
status
}
}
{"input": BudgetPreviewConfigurationInput}
Response
{
"data": {
"getBudgetPreviewReport": {
"errorMessage": AWSJSON,
"executionArn": "xyz789",
"id": ID,
"message": "xyz789",
"report": BudgetReport,
"stage": PREVIEW_STAGE,
"status": BudgetPreviewStatus
}
}
}
getBudgetSpreadsheetPreviewReport
BudgetSpreadhseetPreviewResponse
| Name | Description |
|---|---|
input -
BudgetSpreadsheetPreviewConfigurationInput
|
Example
Query
query getBudgetSpreadsheetPreviewReport($input: BudgetSpreadsheetPreviewConfigurationInput) {
getBudgetSpreadsheetPreviewReport(input: $input) {
executionArn
id
jobStatus
message
report {
...BudgetReportFragment
}
stage
status
}
}
Variables
{"input": BudgetSpreadsheetPreviewConfigurationInput}
query getBudgetSpreadsheetPreviewReport($input: BudgetSpreadsheetPreviewConfigurationInput) {
getBudgetSpreadsheetPreviewReport(input: $input) {
executionArn
id
jobStatus
message
report {
...BudgetReportFragment
}
stage
status
}
}
{"input": BudgetSpreadsheetPreviewConfigurationInput}
Response
{
"data": {
"getBudgetSpreadsheetPreviewReport": {
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "xyz789",
"report": BudgetReport,
"stage": PREVIEW_STAGE,
"status": BUDGET_PREVIEW_STATUS
}
}
}
getChangeHistory
Example
Query
query getChangeHistory($accountId: String!, $sortKey: String!) {
getChangeHistory(accountId: $accountId, sortKey: $sortKey) {
changes
timestamp
userId
}
}
Variables
{"accountId": "abc123", "sortKey": "abc123"}
query getChangeHistory($accountId: String!, $sortKey: String!) {
getChangeHistory(accountId: $accountId, sortKey: $sortKey) {
changes
timestamp
userId
}
}
{"accountId": "abc123", "sortKey": "abc123"}
Response
{
"data": {
"getChangeHistory": [
{
"changes": [AWSJSON],
"timestamp": "xyz789",
"userId": "abc123"
}
]
}
}
getClient
Client
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
excludeInsight -
[String]
|
|
isArchived -
Boolean
|
Example
Query
query getClient($accountId: String!, $clientId: String!, $excludeInsight: [String], $isArchived: Boolean) {
getClient(accountId: $accountId, clientId: $clientId, excludeInsight: $excludeInsight, isArchived: $isArchived) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"excludeInsight": ["abc123"],
"isArchived": false
}
query getClient($accountId: String!, $clientId: String!, $excludeInsight: [String], $isArchived: Boolean) {
getClient(accountId: $accountId, clientId: $clientId, excludeInsight: $excludeInsight, isArchived: $isArchived) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"excludeInsight": ["abc123"],
"isArchived": false
}
Response
{
"data": {
"getClient": {
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "abc123",
"anomalyTotal": 987,
"automationTotal": 123,
"budgetTotal": 123,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"domain": "abc123",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 987,
"instagramAds": InstagramAds,
"isArchived": true,
"isDeleted": false,
"kpiTotal": 123,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "abc123",
"microsoftAds": microsoftAds,
"name": "abc123",
"revisions": 987,
"sortKey": "abc123",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
getClientConnection
Example
Query
query getClientConnection($accountId: String!, $clientId: String!) {
getClientConnection(accountId: $accountId, clientId: $clientId) {
accountId
connectionStatus {
...ClientConnectionServicesStatusFragment
}
facebookAds {
...FacebookAdsConnectionFragment
}
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
instagramAds {
...InstagramAdsFragment
}
linkedInAds {
...linkedInAdsFragment
}
microsoftAds {
...microsoftAdsFragment
}
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"accountId": "abc123", "clientId": "xyz789"}
query getClientConnection($accountId: String!, $clientId: String!) {
getClientConnection(accountId: $accountId, clientId: $clientId) {
accountId
connectionStatus {
...ClientConnectionServicesStatusFragment
}
facebookAds {
...FacebookAdsConnectionFragment
}
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
instagramAds {
...InstagramAdsFragment
}
linkedInAds {
...linkedInAdsFragment
}
microsoftAds {
...microsoftAdsFragment
}
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"accountId": "abc123", "clientId": "xyz789"}
Response
{
"data": {
"getClientConnection": {
"accountId": "xyz789",
"connectionStatus": ClientConnectionServicesStatus,
"facebookAds": FacebookAdsConnection,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"instagramAds": InstagramAds,
"linkedInAds": linkedInAds,
"microsoftAds": microsoftAds,
"sortKey": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
getComment
Example
Query
query getComment($accountId: String!, $sortKey: String!) {
getComment(accountId: $accountId, sortKey: $sortKey) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
Variables
{"accountId": "abc123", "sortKey": "abc123"}
query getComment($accountId: String!, $sortKey: String!) {
getComment(accountId: $accountId, sortKey: $sortKey) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
{"accountId": "abc123", "sortKey": "abc123"}
Response
{
"data": {
"getComment": {
"accountId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"deletedBy": "abc123",
"isDeleted": false,
"mentionedUsers": ["xyz789"],
"message": "abc123",
"revisions": 123,
"sortKey": "abc123",
"type": CommentType,
"updatedBy": "abc123",
"user": User,
"userId": "xyz789"
}
}
}
getDataAccessControl
Example
Query
query getDataAccessControl($accountId: String!, $sortKey: String) {
getDataAccessControl(accountId: $accountId, sortKey: $sortKey) {
accessLevel
accessRole
accountId
authEmail
authId
dateCreated
dateUpdated
invitedUser
isDeleted
projectId
projectName
provider
revisions
service
sortKey
status
userId
}
}
Variables
{"accountId": "xyz789", "sortKey": "xyz789"}
query getDataAccessControl($accountId: String!, $sortKey: String) {
getDataAccessControl(accountId: $accountId, sortKey: $sortKey) {
accessLevel
accessRole
accountId
authEmail
authId
dateCreated
dateUpdated
invitedUser
isDeleted
projectId
projectName
provider
revisions
service
sortKey
status
userId
}
}
{"accountId": "xyz789", "sortKey": "xyz789"}
Response
{
"data": {
"getDataAccessControl": {
"accessLevel": "xyz789",
"accessRole": ["xyz789"],
"accountId": "xyz789",
"authEmail": "abc123",
"authId": "xyz789",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"invitedUser": "xyz789",
"isDeleted": false,
"projectId": "xyz789",
"projectName": "xyz789",
"provider": ACCESS_CONTROL_PROVIDER,
"revisions": 987,
"service": SERVICE,
"sortKey": "xyz789",
"status": "abc123",
"userId": "abc123"
}
}
}
getDataPipeLine
Example
Query
query getDataPipeLine($accountId: String!, $sortKey: String) {
getDataPipeLine(accountId: $accountId, sortKey: $sortKey) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"accountId": "xyz789", "sortKey": "abc123"}
query getDataPipeLine($accountId: String!, $sortKey: String) {
getDataPipeLine(accountId: $accountId, sortKey: $sortKey) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"accountId": "xyz789", "sortKey": "abc123"}
Response
{
"data": {
"getDataPipeLine": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "abc123",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "xyz789",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "xyz789",
"extensionCount": 123,
"funnelTerms": AWSJSON,
"hasInitAnalysis": true,
"isArchived": true,
"isDeleted": true,
"isTitleAutoGenerated": false,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyZapier": false,
"report": AWSJSON,
"revisions": 987,
"sortKey": "xyz789",
"source": DataSource,
"status": "abc123",
"title": "abc123",
"totalRowsLoaded": 123
}
}
}
getExtension
Example
Query
query getExtension($accountId: String!, $id: String!) {
getExtension(accountId: $accountId, id: $id) {
addOnId
authorImage
authorLink
content
extensionAuthor
extensionImage
extensionName
funnelTerms
id
learnMore
primaryImage
service
summary
termsConditionLink
}
}
Variables
{"accountId": "abc123", "id": "xyz789"}
query getExtension($accountId: String!, $id: String!) {
getExtension(accountId: $accountId, id: $id) {
addOnId
authorImage
authorLink
content
extensionAuthor
extensionImage
extensionName
funnelTerms
id
learnMore
primaryImage
service
summary
termsConditionLink
}
}
{"accountId": "abc123", "id": "xyz789"}
Response
{
"data": {
"getExtension": {
"addOnId": "abc123",
"authorImage": "xyz789",
"authorLink": "abc123",
"content": "abc123",
"extensionAuthor": "abc123",
"extensionImage": "xyz789",
"extensionName": "xyz789",
"funnelTerms": AWSJSON,
"id": "abc123",
"learnMore": "xyz789",
"primaryImage": "xyz789",
"service": SERVICE,
"summary": "xyz789",
"termsConditionLink": "abc123"
}
}
}
getExtensionList
Example
Query
query getExtensionList($accountId: String!) {
getExtensionList(accountId: $accountId) {
addOnId
authorImage
authorLink
content
extensionAuthor
extensionImage
extensionName
funnelTerms
id
learnMore
primaryImage
service
summary
termsConditionLink
}
}
Variables
{"accountId": "xyz789"}
query getExtensionList($accountId: String!) {
getExtensionList(accountId: $accountId) {
addOnId
authorImage
authorLink
content
extensionAuthor
extensionImage
extensionName
funnelTerms
id
learnMore
primaryImage
service
summary
termsConditionLink
}
}
{"accountId": "xyz789"}
Response
{
"data": {
"getExtensionList": [
{
"addOnId": "abc123",
"authorImage": "abc123",
"authorLink": "abc123",
"content": "abc123",
"extensionAuthor": "xyz789",
"extensionImage": "abc123",
"extensionName": "abc123",
"funnelTerms": AWSJSON,
"id": "abc123",
"learnMore": "xyz789",
"primaryImage": "abc123",
"service": SERVICE,
"summary": "xyz789",
"termsConditionLink": "xyz789"
}
]
}
}
getGA4Properties
[GA4Properties]
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
email -
String!
|
|
refresh -
Boolean
|
Example
Query
query getGA4Properties($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
getGA4Properties(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
accountId
accountName
properties {
...GA4PropertyFragment
}
}
}
Variables
{"accountId": "abc123", "authId": "xyz789", "email": "abc123", "refresh": true}
query getGA4Properties($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
getGA4Properties(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
accountId
accountName
properties {
...GA4PropertyFragment
}
}
}
{"accountId": "abc123", "authId": "xyz789", "email": "abc123", "refresh": true}
Response
{
"data": {
"getGA4Properties": [
{
"accountId": "xyz789",
"accountName": "abc123",
"properties": [GA4Property]
}
]
}
}
getGAdsFilter
Example
Query
query getGAdsFilter {
getGAdsFilter {
campaign {
...GAdsCampaignFragment
}
label {
...GAdsLabelFragment
}
}
}
query getGAdsFilter {
getGAdsFilter {
campaign {
...GAdsCampaignFragment
}
label {
...GAdsLabelFragment
}
}
}
Response
{
"data": {
"getGAdsFilter": {
"campaign": GAdsCampaign,
"label": GAdsLabel
}
}
}
getGAMetricLists
GAMetrics
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
refresh -
Boolean!
|
|
type -
String!
|
Example
Query
query getGAMetricLists($accountId: String!, $clientId: String!, $refresh: Boolean!, $type: String!) {
getGAMetricLists(accountId: $accountId, clientId: $clientId, refresh: $refresh, type: $type) {
items {
...MetricsFragment
}
}
}
Variables
{"accountId": "xyz789", "clientId": "xyz789", "refresh": true, "type": "xyz789"}
query getGAMetricLists($accountId: String!, $clientId: String!, $refresh: Boolean!, $type: String!) {
getGAMetricLists(accountId: $accountId, clientId: $clientId, refresh: $refresh, type: $type) {
items {
...MetricsFragment
}
}
}
{"accountId": "xyz789", "clientId": "xyz789", "refresh": true, "type": "xyz789"}
Response
{"data": {"getGAMetricLists": {"items": [Metrics]}}}
getGASegmentLists
Example
Query
query getGASegmentLists($accountId: String!, $clientId: String!, $refresh: Boolean) {
getGASegmentLists(accountId: $accountId, clientId: $clientId, refresh: $refresh) {
items {
...SegmentsFragment
}
status
statusCode
}
}
Variables
{"accountId": "xyz789", "clientId": "xyz789", "refresh": false}
query getGASegmentLists($accountId: String!, $clientId: String!, $refresh: Boolean) {
getGASegmentLists(accountId: $accountId, clientId: $clientId, refresh: $refresh) {
items {
...SegmentsFragment
}
status
statusCode
}
}
{"accountId": "xyz789", "clientId": "xyz789", "refresh": false}
Response
{
"data": {
"getGASegmentLists": {
"items": [Segments],
"status": "abc123",
"statusCode": 123
}
}
}
getGmbAccountByEmail
Example
Query
query getGmbAccountByEmail($accountId: String!, $authId: String, $email: String) {
getGmbAccountByEmail(accountId: $accountId, authId: $authId, email: $email) {
accountId
items {
...GmbAccountFragment
}
}
}
Variables
{"accountId": "xyz789", "authId": "abc123", "email": "abc123"}
query getGmbAccountByEmail($accountId: String!, $authId: String, $email: String) {
getGmbAccountByEmail(accountId: $accountId, authId: $authId, email: $email) {
accountId
items {
...GmbAccountFragment
}
}
}
{"accountId": "xyz789", "authId": "abc123", "email": "abc123"}
Response
{
"data": {
"getGmbAccountByEmail": {
"accountId": "xyz789",
"items": [GmbAccount]
}
}
}
getGmbEmails
Example
Query
query getGmbEmails($accountId: String!) {
getGmbEmails(accountId: $accountId) {
accountId
items {
...GmbEmailFragment
}
}
}
Variables
{"accountId": "xyz789"}
query getGmbEmails($accountId: String!) {
getGmbEmails(accountId: $accountId) {
accountId
items {
...GmbEmailFragment
}
}
}
{"accountId": "xyz789"}
Response
{
"data": {
"getGmbEmails": {
"accountId": "xyz789",
"items": [GmbEmail]
}
}
}
getGmbLocationByAccount
Example
Query
query getGmbLocationByAccount($accountId: String!, $authId: String, $gmbAccountId: String) {
getGmbLocationByAccount(accountId: $accountId, authId: $authId, gmbAccountId: $gmbAccountId) {
accountId
gmbAccountId
items {
...GmbLocationFragment
}
}
}
Variables
{"accountId": "abc123", "authId": "xyz789", "gmbAccountId": "abc123"}
query getGmbLocationByAccount($accountId: String!, $authId: String, $gmbAccountId: String) {
getGmbLocationByAccount(accountId: $accountId, authId: $authId, gmbAccountId: $gmbAccountId) {
accountId
gmbAccountId
items {
...GmbLocationFragment
}
}
}
{"accountId": "abc123", "authId": "xyz789", "gmbAccountId": "abc123"}
Response
{
"data": {
"getGmbLocationByAccount": {
"accountId": "abc123",
"gmbAccountId": "abc123",
"items": [GmbLocation]
}
}
}
getGoogleAnalyticsProperties
[GoogleAnalyticsProperties]
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
email -
String!
|
|
refresh -
Boolean
|
Example
Query
query getGoogleAnalyticsProperties($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
getGoogleAnalyticsProperties(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
accountId
accountName
properties {
...GoogleAnalyticsPropertyFragment
}
}
}
Variables
{"accountId": "xyz789", "authId": "abc123", "email": "xyz789", "refresh": true}
query getGoogleAnalyticsProperties($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
getGoogleAnalyticsProperties(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
accountId
accountName
properties {
...GoogleAnalyticsPropertyFragment
}
}
}
{"accountId": "xyz789", "authId": "abc123", "email": "xyz789", "refresh": true}
Response
{
"data": {
"getGoogleAnalyticsProperties": [
{
"accountId": "xyz789",
"accountName": "xyz789",
"properties": [GoogleAnalyticsProperty]
}
]
}
}
getGoogleDriveAccounts
Example
Query
query getGoogleDriveAccounts($accountId: String!, $refresh: Boolean) {
getGoogleDriveAccounts(accountId: $accountId, refresh: $refresh) {
accountId
authId
email
}
}
Variables
{"accountId": "abc123", "refresh": false}
query getGoogleDriveAccounts($accountId: String!, $refresh: Boolean) {
getGoogleDriveAccounts(accountId: $accountId, refresh: $refresh) {
accountId
authId
email
}
}
{"accountId": "abc123", "refresh": false}
Response
{
"data": {
"getGoogleDriveAccounts": [
{"accountId": "abc123", "authId": "xyz789", "email": "abc123"}
]
}
}
getGoogleSearchConsoleProperties
Example
Query
query getGoogleSearchConsoleProperties($accountId: String!, $email: String!) {
getGoogleSearchConsoleProperties(accountId: $accountId, email: $email) {
domain {
...GoogleSearchConsolePropertyFragment
}
urlPrefix {
...GoogleSearchConsolePropertyFragment
}
}
}
Variables
{"accountId": "xyz789", "email": "abc123"}
query getGoogleSearchConsoleProperties($accountId: String!, $email: String!) {
getGoogleSearchConsoleProperties(accountId: $accountId, email: $email) {
domain {
...GoogleSearchConsolePropertyFragment
}
urlPrefix {
...GoogleSearchConsolePropertyFragment
}
}
}
{"accountId": "xyz789", "email": "abc123"}
Response
{
"data": {
"getGoogleSearchConsoleProperties": {
"domain": [GoogleSearchConsoleProperty],
"urlPrefix": [GoogleSearchConsoleProperty]
}
}
}
getGroupedLocations
[LocationGroup]
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String!
|
|
email -
String
|
|
refresh -
Boolean
|
|
service -
SERVICE
|
Example
Query
query getGroupedLocations($accountId: String!, $authId: String!, $email: String, $refresh: Boolean, $service: SERVICE) {
getGroupedLocations(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh, service: $service) {
accountId
accountName
locations {
...LocationFragment
}
}
}
Variables
{
"accountId": "abc123",
"authId": "abc123",
"email": "xyz789",
"refresh": false,
"service": SERVICE
}
query getGroupedLocations($accountId: String!, $authId: String!, $email: String, $refresh: Boolean, $service: SERVICE) {
getGroupedLocations(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh, service: $service) {
accountId
accountName
locations {
...LocationFragment
}
}
}
{
"accountId": "abc123",
"authId": "abc123",
"email": "xyz789",
"refresh": false,
"service": SERVICE
}
Response
{
"data": {
"getGroupedLocations": [
{
"accountId": "xyz789",
"accountName": "abc123",
"locations": [Location]
}
]
}
}
getGscMetricMovement
Example
Query
query getGscMetricMovement {
getGscMetricMovement {
label
value
}
}
query getGscMetricMovement {
getGscMetricMovement {
label
value
}
}
Response
{"data": {"getGscMetricMovement": [{"label": "xyz789", "value": "xyz789"}]}}
getInsightDetails
Insights
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
feature -
String
|
|
insightId -
String!
|
Example
Query
query getInsightDetails($accountId: String!, $clientId: String!, $feature: String, $insightId: String!) {
getInsightDetails(accountId: $accountId, clientId: $clientId, feature: $feature, insightId: $insightId) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"feature": "xyz789",
"insightId": "abc123"
}
query getInsightDetails($accountId: String!, $clientId: String!, $feature: String, $insightId: String!) {
getInsightDetails(accountId: $accountId, clientId: $clientId, feature: $feature, insightId: $insightId) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"feature": "xyz789",
"insightId": "abc123"
}
Response
{
"data": {
"getInsightDetails": {
"accountId": "abc123",
"acknowledgeDateTime": "xyz789",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "xyz789",
"clientId": "xyz789",
"commentCount": 987,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "abc123",
"dateUpdated": "abc123",
"description": "xyz789",
"externalId": "abc123",
"fullReportUrl": "xyz789",
"graphData": InsightsGraph,
"insightRelatedCount": 123,
"isAcknowledged": true,
"isArchived": false,
"isDeleted": true,
"isPartialReport": false,
"isResolved": true,
"jobIcon": "abc123",
"jobId": "xyz789",
"jobStatus": "abc123",
"jobTitle": "abc123",
"jobType": "xyz789",
"reference": 987,
"relatedCountOnCreation": 123,
"report": AWSJSON,
"resolveDateTime": "abc123",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 123,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "abc123",
"summary": AWSJSON,
"title": "xyz789",
"trigger": "abc123",
"watchList": ["abc123"]
}
}
}
getKPIAdsMetricLists
KPIAdsMetrics
| Name | Description |
|---|---|
accountId -
String
|
|
clientId -
String
|
|
refresh -
Boolean
|
|
source -
AdsCampaignSource
|
Example
Query
query getKPIAdsMetricLists($accountId: String, $clientId: String, $refresh: Boolean, $source: AdsCampaignSource) {
getKPIAdsMetricLists(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
items {
...KPIMetricsFragment
}
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"refresh": true,
"source": AdsCampaignSource
}
query getKPIAdsMetricLists($accountId: String, $clientId: String, $refresh: Boolean, $source: AdsCampaignSource) {
getKPIAdsMetricLists(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
items {
...KPIMetricsFragment
}
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"refresh": true,
"source": AdsCampaignSource
}
Response
{
"data": {
"getKPIAdsMetricLists": {"items": [KPIMetrics]}
}
}
getKPIAdsPreviewReport
Example
Query
query getKPIAdsPreviewReport($input: KPIGAdsPreviewConfigurationInput) {
getKPIAdsPreviewReport(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGAdsReportFragment
}
stage
status
}
}
Variables
{"input": KPIGAdsPreviewConfigurationInput}
query getKPIAdsPreviewReport($input: KPIGAdsPreviewConfigurationInput) {
getKPIAdsPreviewReport(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGAdsReportFragment
}
stage
status
}
}
{"input": KPIGAdsPreviewConfigurationInput}
Response
{
"data": {
"getKPIAdsPreviewReport": {
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
getKPIDetails
Example
Query
query getKPIDetails($accountId: String!, $sortKey: String!) {
getKPIDetails(accountId: $accountId, sortKey: $sortKey) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"accountId": "xyz789", "sortKey": "xyz789"}
query getKPIDetails($accountId: String!, $sortKey: String!) {
getKPIDetails(accountId: $accountId, sortKey: $sortKey) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"accountId": "xyz789", "sortKey": "xyz789"}
Response
{
"data": {
"getKPIDetails": {
"accountId": "abc123",
"advancedSettings": AWSJSON,
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "abc123",
"commentCount": 987,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"history": AWSJSON,
"id": "abc123",
"isArchived": true,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"report": KPIReport,
"revisions": 987,
"schedEmail": "xyz789",
"schedSlack": "xyz789",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "xyz789",
"title": "abc123",
"user": User,
"userId": "abc123",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "xyz789"
}
}
}
getKPIPreviewReport
Example
Query
query getKPIPreviewReport($input: KPIPreviewConfigurationInput) {
getKPIPreviewReport(input: $input) {
errorMessage
executionArn
id
jobStatus
message
report {
...KPIReportFragment
}
stage
status
}
}
Variables
{"input": KPIPreviewConfigurationInput}
query getKPIPreviewReport($input: KPIPreviewConfigurationInput) {
getKPIPreviewReport(input: $input) {
errorMessage
executionArn
id
jobStatus
message
report {
...KPIReportFragment
}
stage
status
}
}
{"input": KPIPreviewConfigurationInput}
Response
{
"data": {
"getKPIPreviewReport": {
"errorMessage": AWSJSON,
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
getKPISpreadsheetPreviewReport
KPISpreadhseetPreviewResponse
| Name | Description |
|---|---|
input -
KPISpreadsheetPreviewConfigurationInput
|
Example
Query
query getKPISpreadsheetPreviewReport($input: KPISpreadsheetPreviewConfigurationInput) {
getKPISpreadsheetPreviewReport(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGAdsReportFragment
}
stage
status
}
}
Variables
{"input": KPISpreadsheetPreviewConfigurationInput}
query getKPISpreadsheetPreviewReport($input: KPISpreadsheetPreviewConfigurationInput) {
getKPISpreadsheetPreviewReport(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGAdsReportFragment
}
stage
status
}
}
{"input": KPISpreadsheetPreviewConfigurationInput}
Response
{
"data": {
"getKPISpreadsheetPreviewReport": {
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
getLabel
Example
Query
query getLabel($accountId: String!, $sortKey: String!) {
getLabel(accountId: $accountId, sortKey: $sortKey) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{"accountId": "xyz789", "sortKey": "xyz789"}
query getLabel($accountId: String!, $sortKey: String!) {
getLabel(accountId: $accountId, sortKey: $sortKey) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{"accountId": "xyz789", "sortKey": "xyz789"}
Response
{
"data": {
"getLabel": {
"accountId": "abc123",
"clientList": ["abc123"],
"label": "abc123",
"revisions": 987,
"selected": false,
"sortKey": "abc123"
}
}
}
getLabels
Example
Query
query getLabels($accountId: String!) {
getLabels(accountId: $accountId) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{"accountId": "abc123"}
query getLabels($accountId: String!) {
getLabels(accountId: $accountId) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{"accountId": "abc123"}
Response
{
"data": {
"getLabels": [
{
"accountId": "abc123",
"clientList": ["xyz789"],
"label": "xyz789",
"revisions": 987,
"selected": true,
"sortKey": "abc123"
}
]
}
}
getLabelsForUser
Example
Query
query getLabelsForUser($accountId: String!, $cognitoUserId: String!) {
getLabelsForUser(accountId: $accountId, cognitoUserId: $cognitoUserId) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{"accountId": "abc123", "cognitoUserId": "xyz789"}
query getLabelsForUser($accountId: String!, $cognitoUserId: String!) {
getLabelsForUser(accountId: $accountId, cognitoUserId: $cognitoUserId) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{"accountId": "abc123", "cognitoUserId": "xyz789"}
Response
{
"data": {
"getLabelsForUser": [
{
"accountId": "abc123",
"clientList": ["xyz789"],
"label": "xyz789",
"revisions": 987,
"selected": false,
"sortKey": "xyz789"
}
]
}
}
getMetrics
KPIAdsMetrics
| Name | Description |
|---|---|
accountId -
String
|
|
clientId -
String
|
|
refresh -
Boolean
|
|
source -
AdsCampaignSource
|
Example
Query
query getMetrics($accountId: String, $clientId: String, $refresh: Boolean, $source: AdsCampaignSource) {
getMetrics(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
items {
...KPIMetricsFragment
}
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"refresh": false,
"source": AdsCampaignSource
}
query getMetrics($accountId: String, $clientId: String, $refresh: Boolean, $source: AdsCampaignSource) {
getMetrics(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
items {
...KPIMetricsFragment
}
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"refresh": false,
"source": AdsCampaignSource
}
Response
{"data": {"getMetrics": {"items": [KPIMetrics]}}}
getPipelineExtension
PipelineExtension
| Name | Description |
|---|---|
accountId -
String!
|
|
extensionId -
String!
|
|
pipelineId -
String!
|
Example
Query
query getPipelineExtension($accountId: String!, $extensionId: String!, $pipelineId: String!) {
getPipelineExtension(accountId: $accountId, extensionId: $extensionId, pipelineId: $pipelineId) {
accountId
extensionId
pipelineId
properties {
...PipelineExtensionPropertiesFragment
}
}
}
Variables
{"accountId": "abc123", "extensionId": "xyz789", "pipelineId": "xyz789"}
query getPipelineExtension($accountId: String!, $extensionId: String!, $pipelineId: String!) {
getPipelineExtension(accountId: $accountId, extensionId: $extensionId, pipelineId: $pipelineId) {
accountId
extensionId
pipelineId
properties {
...PipelineExtensionPropertiesFragment
}
}
}
{"accountId": "abc123", "extensionId": "xyz789", "pipelineId": "xyz789"}
Response
{
"data": {
"getPipelineExtension": {
"accountId": "xyz789",
"extensionId": "abc123",
"pipelineId": "xyz789",
"properties": [PipelineExtensionProperties]
}
}
}
getSavedFilters
Example
Query
query getSavedFilters($accountId: String!, $cognitoUserId: String!) {
getSavedFilters(accountId: $accountId, cognitoUserId: $cognitoUserId) {
id
label
}
}
Variables
{"accountId": "abc123", "cognitoUserId": "abc123"}
query getSavedFilters($accountId: String!, $cognitoUserId: String!) {
getSavedFilters(accountId: $accountId, cognitoUserId: $cognitoUserId) {
id
label
}
}
{"accountId": "abc123", "cognitoUserId": "abc123"}
Response
{"data": {"getSavedFilters": [{"id": "abc123", "label": "abc123"}]}}
getSlackChannelList
Example
Query
query getSlackChannelList($accountId: String!, $authId: String!, $refresh: Boolean) {
getSlackChannelList(accountId: $accountId, authId: $authId, refresh: $refresh) {
id
name
}
}
Variables
{"accountId": "abc123", "authId": "abc123", "refresh": true}
query getSlackChannelList($accountId: String!, $authId: String!, $refresh: Boolean) {
getSlackChannelList(accountId: $accountId, authId: $authId, refresh: $refresh) {
id
name
}
}
{"accountId": "abc123", "authId": "abc123", "refresh": true}
Response
{"data": {"getSlackChannelList": [{"id": "xyz789", "name": "xyz789"}]}}
getSubscriptionInvoiceEstimate
Example
Query
query getSubscriptionInvoiceEstimate($accountId: String!) {
getSubscriptionInvoiceEstimate(accountId: $accountId) {
currency
description
inclusion {
...OutputInclusionFragment
}
lineItems {
...SubscriptionInvoiceEstimateItemFragment
}
total
}
}
Variables
{"accountId": "abc123"}
query getSubscriptionInvoiceEstimate($accountId: String!) {
getSubscriptionInvoiceEstimate(accountId: $accountId) {
currency
description
inclusion {
...OutputInclusionFragment
}
lineItems {
...SubscriptionInvoiceEstimateItemFragment
}
total
}
}
{"accountId": "abc123"}
Response
{
"data": {
"getSubscriptionInvoiceEstimate": {
"currency": "abc123",
"description": "abc123",
"inclusion": [OutputInclusion],
"lineItems": [SubscriptionInvoiceEstimateItem],
"total": "xyz789"
}
}
}
getTimeZones
Example
Query
query getTimeZones($partitionKey: String!) {
getTimeZones(partitionKey: $partitionKey) {
enum
}
}
Variables
{"partitionKey": "xyz789"}
query getTimeZones($partitionKey: String!) {
getTimeZones(partitionKey: $partitionKey) {
enum
}
}
{"partitionKey": "xyz789"}
Response
{"data": {"getTimeZones": {"enum": ["abc123"]}}}
getUpvotyJWT
Example
Query
query getUpvotyJWT($accountId: String!, $email: String!, $userId: String!) {
getUpvotyJWT(accountId: $accountId, email: $email, userId: $userId) {
token
}
}
Variables
{"accountId": "abc123", "email": "abc123", "userId": "xyz789"}
query getUpvotyJWT($accountId: String!, $email: String!, $userId: String!) {
getUpvotyJWT(accountId: $accountId, email: $email, userId: $userId) {
token
}
}
{"accountId": "abc123", "email": "abc123", "userId": "xyz789"}
Response
{"data": {"getUpvotyJWT": {"token": "xyz789"}}}
getUserPreferences
Example
Query
query getUserPreferences($accountId: String!, $cognitoUserId: String!) {
getUserPreferences(accountId: $accountId, cognitoUserId: $cognitoUserId) {
accountId
preferences {
...UserPreferencesOutputFragment
}
sortKey
}
}
Variables
{"accountId": "abc123", "cognitoUserId": "xyz789"}
query getUserPreferences($accountId: String!, $cognitoUserId: String!) {
getUserPreferences(accountId: $accountId, cognitoUserId: $cognitoUserId) {
accountId
preferences {
...UserPreferencesOutputFragment
}
sortKey
}
}
{"accountId": "abc123", "cognitoUserId": "xyz789"}
Response
{
"data": {
"getUserPreferences": {
"accountId": "abc123",
"preferences": UserPreferencesOutput,
"sortKey": "xyz789"
}
}
}
getUsers
UserConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
nextToken -
String
|
Example
Query
query getUsers($accountId: String!, $cognitoUserId: String!, $nextToken: String) {
getUsers(accountId: $accountId, cognitoUserId: $cognitoUserId, nextToken: $nextToken) {
items {
...UserFragment
}
nextToken
scannedCount
}
}
Variables
{"accountId": "abc123", "cognitoUserId": "abc123", "nextToken": "xyz789"}
query getUsers($accountId: String!, $cognitoUserId: String!, $nextToken: String) {
getUsers(accountId: $accountId, cognitoUserId: $cognitoUserId, nextToken: $nextToken) {
items {
...UserFragment
}
nextToken
scannedCount
}
}
{"accountId": "abc123", "cognitoUserId": "abc123", "nextToken": "xyz789"}
Response
{
"data": {
"getUsers": {
"items": [User],
"nextToken": "xyz789",
"scannedCount": 987
}
}
}
latestInsightsUnderAccount
InsightsConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
filters -
[labelInput]
|
|
isResolved -
Boolean
|
|
type -
String
|
Example
Query
query latestInsightsUnderAccount($accountId: String!, $clientId: String, $filters: [labelInput], $isResolved: Boolean, $type: String) {
latestInsightsUnderAccount(accountId: $accountId, clientId: $clientId, filters: $filters, isResolved: $isResolved, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
Variables
{
"accountId": "abc123",
"clientId": "abc123",
"filters": [labelInput],
"isResolved": true,
"type": "xyz789"
}
query latestInsightsUnderAccount($accountId: String!, $clientId: String, $filters: [labelInput], $isResolved: Boolean, $type: String) {
latestInsightsUnderAccount(accountId: $accountId, clientId: $clientId, filters: $filters, isResolved: $isResolved, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
{
"accountId": "abc123",
"clientId": "abc123",
"filters": [labelInput],
"isResolved": true,
"type": "xyz789"
}
Response
{
"data": {
"latestInsightsUnderAccount": {
"count": 123,
"id": "abc123",
"items": [Insights],
"nextToken": "xyz789",
"scannedCount": 987
}
}
}
latestInsightsUnderClient
InsightsConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
isResolved -
Boolean
|
|
jobId -
String
|
|
type -
String
|
Example
Query
query latestInsightsUnderClient($accountId: String!, $clientId: String!, $isResolved: Boolean, $jobId: String, $type: String) {
latestInsightsUnderClient(accountId: $accountId, clientId: $clientId, isResolved: $isResolved, jobId: $jobId, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
Variables
{
"accountId": "abc123",
"clientId": "xyz789",
"isResolved": true,
"jobId": "xyz789",
"type": "xyz789"
}
query latestInsightsUnderClient($accountId: String!, $clientId: String!, $isResolved: Boolean, $jobId: String, $type: String) {
latestInsightsUnderClient(accountId: $accountId, clientId: $clientId, isResolved: $isResolved, jobId: $jobId, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
{
"accountId": "abc123",
"clientId": "xyz789",
"isResolved": true,
"jobId": "xyz789",
"type": "xyz789"
}
Response
{
"data": {
"latestInsightsUnderClient": {
"count": 123,
"id": "xyz789",
"items": [Insights],
"nextToken": "abc123",
"scannedCount": 123
}
}
}
listAccountConnections
Example
Query
query listAccountConnections($accountId: String!) {
listAccountConnections(accountId: $accountId) {
items {
...AccountConnectionFragment
}
nextToken
scannedCount
}
}
Variables
{"accountId": "xyz789"}
query listAccountConnections($accountId: String!) {
listAccountConnections(accountId: $accountId) {
items {
...AccountConnectionFragment
}
nextToken
scannedCount
}
}
{"accountId": "xyz789"}
Response
{
"data": {
"listAccountConnections": {
"items": [AccountConnection],
"nextToken": "xyz789",
"scannedCount": 123
}
}
}
listAdsCampaigns
[AdsCampaigns]
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
refresh -
Boolean!
|
|
source -
AdsCampaignSource
|
Example
Query
query listAdsCampaigns($accountId: String!, $clientId: String!, $refresh: Boolean!, $source: AdsCampaignSource) {
listAdsCampaigns(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
advertisingChannelType
baseCampaign
campaignBudget
endDate
id
name
servingStatus
startDate
status
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"refresh": false,
"source": AdsCampaignSource
}
query listAdsCampaigns($accountId: String!, $clientId: String!, $refresh: Boolean!, $source: AdsCampaignSource) {
listAdsCampaigns(accountId: $accountId, clientId: $clientId, refresh: $refresh, source: $source) {
advertisingChannelType
baseCampaign
campaignBudget
endDate
id
name
servingStatus
startDate
status
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"refresh": false,
"source": AdsCampaignSource
}
Response
{
"data": {
"listAdsCampaigns": [
{
"advertisingChannelType": "abc123",
"baseCampaign": "abc123",
"campaignBudget": "abc123",
"endDate": "xyz789",
"id": "xyz789",
"name": "xyz789",
"servingStatus": "xyz789",
"startDate": "xyz789",
"status": "abc123"
}
]
}
}
listAllClients
Clients
| Name | Description |
|---|---|
accountId -
ID!
|
|
count -
Int
|
|
isArchived -
Boolean
|
|
nextToken -
String
|
Example
Query
query listAllClients($accountId: ID!, $count: Int, $isArchived: Boolean, $nextToken: String) {
listAllClients(accountId: $accountId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
count
isClientSubscriptionValid
isNearSubscriptionLimit
items {
...ClientFragment
}
nextToken
totalAnomaliesUnderAccount
totalBudgetsUnderAccount
totalKPISUnderAccount
}
}
Variables
{
"accountId": ID,
"count": 987,
"isArchived": false,
"nextToken": "xyz789"
}
query listAllClients($accountId: ID!, $count: Int, $isArchived: Boolean, $nextToken: String) {
listAllClients(accountId: $accountId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
count
isClientSubscriptionValid
isNearSubscriptionLimit
items {
...ClientFragment
}
nextToken
totalAnomaliesUnderAccount
totalBudgetsUnderAccount
totalKPISUnderAccount
}
}
{
"accountId": ID,
"count": 987,
"isArchived": false,
"nextToken": "xyz789"
}
Response
{
"data": {
"listAllClients": {
"count": 123,
"isClientSubscriptionValid": false,
"isNearSubscriptionLimit": false,
"items": [Client],
"nextToken": "abc123",
"totalAnomaliesUnderAccount": 987,
"totalBudgetsUnderAccount": 123,
"totalKPISUnderAccount": 987
}
}
}
listAnomalyUnderAccount
AnomalyConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
count -
Int
|
|
filters -
[labelInput]
|
|
isArchived -
Boolean!
|
|
nextToken -
String
|
Example
Query
query listAnomalyUnderAccount($accountId: String!, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $nextToken: String) {
listAnomalyUnderAccount(accountId: $accountId, count: $count, filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...AnomalyFragment
}
nextToken
scannedCount
totalSubscription
}
}
Variables
{
"accountId": "xyz789",
"count": 987,
"filters": [labelInput],
"isArchived": true,
"nextToken": "abc123"
}
query listAnomalyUnderAccount($accountId: String!, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $nextToken: String) {
listAnomalyUnderAccount(accountId: $accountId, count: $count, filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...AnomalyFragment
}
nextToken
scannedCount
totalSubscription
}
}
{
"accountId": "xyz789",
"count": 987,
"filters": [labelInput],
"isArchived": true,
"nextToken": "abc123"
}
Response
{
"data": {
"listAnomalyUnderAccount": {
"count": 987,
"currentAccountSubscriptionValue": 123,
"isNearSubscriptionLimit": true,
"items": [Anomaly],
"nextToken": "xyz789",
"scannedCount": 987,
"totalSubscription": 987
}
}
}
listAnomalyUnderClient
AnomalyConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
count -
Int
|
|
isArchived -
Boolean!
|
|
nextToken -
String
|
Example
Query
query listAnomalyUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $nextToken: String) {
listAnomalyUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...AnomalyFragment
}
nextToken
scannedCount
totalSubscription
}
}
Variables
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 987,
"isArchived": false,
"nextToken": "xyz789"
}
query listAnomalyUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $nextToken: String) {
listAnomalyUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...AnomalyFragment
}
nextToken
scannedCount
totalSubscription
}
}
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 987,
"isArchived": false,
"nextToken": "xyz789"
}
Response
{
"data": {
"listAnomalyUnderClient": {
"count": 123,
"currentAccountSubscriptionValue": 987,
"isNearSubscriptionLimit": true,
"items": [Anomaly],
"nextToken": "abc123",
"scannedCount": 123,
"totalSubscription": 123
}
}
}
listAutomationUnderAccount
[Automation]
| Name | Description |
|---|---|
accountId -
String!
|
|
count -
Int
|
|
filters -
[labelInput]
|
|
isArchived -
Boolean!
|
|
nextToken -
String
|
Example
Query
query listAutomationUnderAccount($accountId: String!, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $nextToken: String) {
listAutomationUnderAccount(accountId: $accountId, count: $count, filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
Variables
{
"accountId": "abc123",
"count": 123,
"filters": [labelInput],
"isArchived": false,
"nextToken": "xyz789"
}
query listAutomationUnderAccount($accountId: String!, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $nextToken: String) {
listAutomationUnderAccount(accountId: $accountId, count: $count, filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
{
"accountId": "abc123",
"count": 123,
"filters": [labelInput],
"isArchived": false,
"nextToken": "xyz789"
}
Response
{
"data": {
"listAutomationUnderAccount": [
{
"accountId": "xyz789",
"clientId": "abc123",
"clientName": "abc123",
"cognitoUserId": "xyz789",
"configuration": AWSJSON,
"connectionStatus": "xyz789",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "abc123",
"executionArn": "abc123",
"gmbLocationId": "xyz789",
"isArchived": true,
"isDeleted": true,
"jobId": "abc123",
"jobStatus": ANOMALY_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyWebhook": false,
"revisions": 123,
"service": SERVICE,
"sortKey": "xyz789",
"title": "xyz789",
"webhookURL": "xyz789"
}
]
}
}
listAutomationUnderClient
[Automation]
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
count -
Int
|
|
isArchived -
Boolean!
|
|
nextToken -
String
|
Example
Query
query listAutomationUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $nextToken: String) {
listAutomationUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
Variables
{
"accountId": "xyz789",
"clientId": "abc123",
"count": 123,
"isArchived": false,
"nextToken": "abc123"
}
query listAutomationUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $nextToken: String) {
listAutomationUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, nextToken: $nextToken) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
{
"accountId": "xyz789",
"clientId": "abc123",
"count": 123,
"isArchived": false,
"nextToken": "abc123"
}
Response
{
"data": {
"listAutomationUnderClient": [
{
"accountId": "abc123",
"clientId": "xyz789",
"clientName": "abc123",
"cognitoUserId": "abc123",
"configuration": AWSJSON,
"connectionStatus": "xyz789",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "abc123",
"executionArn": "xyz789",
"gmbLocationId": "abc123",
"isArchived": false,
"isDeleted": true,
"jobId": "abc123",
"jobStatus": ANOMALY_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyWebhook": false,
"revisions": 987,
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"webhookURL": "xyz789"
}
]
}
}
listBudgetUnderAccount
BudgetConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
count -
Int
|
|
filters -
[labelInput]
|
|
isArchived -
Boolean!
|
|
jobStatus -
String
|
|
nextToken -
String
|
|
service -
String
|
Example
Query
query listBudgetUnderAccount($accountId: String!, $clientId: String, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listBudgetUnderAccount(accountId: $accountId, clientId: $clientId, count: $count, filters: $filters, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...BudgetFragment
}
nextToken
scannedCount
totalSubscription
}
}
Variables
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 987,
"filters": [labelInput],
"isArchived": true,
"jobStatus": "xyz789",
"nextToken": "abc123",
"service": "xyz789"
}
query listBudgetUnderAccount($accountId: String!, $clientId: String, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listBudgetUnderAccount(accountId: $accountId, clientId: $clientId, count: $count, filters: $filters, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...BudgetFragment
}
nextToken
scannedCount
totalSubscription
}
}
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 987,
"filters": [labelInput],
"isArchived": true,
"jobStatus": "xyz789",
"nextToken": "abc123",
"service": "xyz789"
}
Response
{
"data": {
"listBudgetUnderAccount": {
"count": 123,
"currentAccountSubscriptionValue": 123,
"isNearSubscriptionLimit": true,
"items": [Budget],
"nextToken": "xyz789",
"scannedCount": 123,
"totalSubscription": 123
}
}
}
listBudgetUnderClient
BudgetConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
count -
Int
|
|
isArchived -
Boolean!
|
|
jobStatus -
String
|
|
nextToken -
String
|
|
service -
String
|
Example
Query
query listBudgetUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listBudgetUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...BudgetFragment
}
nextToken
scannedCount
totalSubscription
}
}
Variables
{
"accountId": "abc123",
"clientId": "abc123",
"count": 987,
"isArchived": false,
"jobStatus": "xyz789",
"nextToken": "abc123",
"service": "xyz789"
}
query listBudgetUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listBudgetUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
count
currentAccountSubscriptionValue
isNearSubscriptionLimit
items {
...BudgetFragment
}
nextToken
scannedCount
totalSubscription
}
}
{
"accountId": "abc123",
"clientId": "abc123",
"count": 987,
"isArchived": false,
"jobStatus": "xyz789",
"nextToken": "abc123",
"service": "xyz789"
}
Response
{
"data": {
"listBudgetUnderClient": {
"count": 987,
"currentAccountSubscriptionValue": 123,
"isNearSubscriptionLimit": true,
"items": [Budget],
"nextToken": "xyz789",
"scannedCount": 987,
"totalSubscription": 987
}
}
}
listClients
Clients
| Name | Description |
|---|---|
accountId -
ID!
|
|
count -
Int
|
|
filters -
[labelInput]
|
|
isArchived -
Boolean
|
|
nextToken -
String
|
Example
Query
query listClients($accountId: ID!, $count: Int, $filters: [labelInput], $isArchived: Boolean, $nextToken: String) {
listClients(accountId: $accountId, count: $count, filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
count
isClientSubscriptionValid
isNearSubscriptionLimit
items {
...ClientFragment
}
nextToken
totalAnomaliesUnderAccount
totalBudgetsUnderAccount
totalKPISUnderAccount
}
}
Variables
{
"accountId": ID,
"count": 987,
"filters": [labelInput],
"isArchived": false,
"nextToken": "xyz789"
}
query listClients($accountId: ID!, $count: Int, $filters: [labelInput], $isArchived: Boolean, $nextToken: String) {
listClients(accountId: $accountId, count: $count, filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
count
isClientSubscriptionValid
isNearSubscriptionLimit
items {
...ClientFragment
}
nextToken
totalAnomaliesUnderAccount
totalBudgetsUnderAccount
totalKPISUnderAccount
}
}
{
"accountId": ID,
"count": 987,
"filters": [labelInput],
"isArchived": false,
"nextToken": "xyz789"
}
Response
{
"data": {
"listClients": {
"count": 123,
"isClientSubscriptionValid": true,
"isNearSubscriptionLimit": true,
"items": [Client],
"nextToken": "abc123",
"totalAnomaliesUnderAccount": 123,
"totalBudgetsUnderAccount": 123,
"totalKPISUnderAccount": 123
}
}
}
listClientsForLabel
Example
Query
query listClientsForLabel($accountId: String!, $labelId: String!) {
listClientsForLabel(accountId: $accountId, labelId: $labelId) {
accountId
hasLabel
name
sortKey
}
}
Variables
{"accountId": "xyz789", "labelId": "xyz789"}
query listClientsForLabel($accountId: String!, $labelId: String!) {
listClientsForLabel(accountId: $accountId, labelId: $labelId) {
accountId
hasLabel
name
sortKey
}
}
{"accountId": "xyz789", "labelId": "xyz789"}
Response
{
"data": {
"listClientsForLabel": [
{
"accountId": "abc123",
"hasLabel": true,
"name": "xyz789",
"sortKey": "xyz789"
}
]
}
}
listComments
Example
Query
query listComments($input: ListCommentInput) {
listComments(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
Variables
{"input": ListCommentInput}
query listComments($input: ListCommentInput) {
listComments(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
{"input": ListCommentInput}
Response
{
"data": {
"listComments": [
{
"accountId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"deletedBy": "xyz789",
"isDeleted": true,
"mentionedUsers": ["abc123"],
"message": "xyz789",
"revisions": 987,
"sortKey": "xyz789",
"type": CommentType,
"updatedBy": "xyz789",
"user": User,
"userId": "xyz789"
}
]
}
}
listDataAccessControls
DataAccessControls
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
nextToken -
String
|
Example
Query
query listDataAccessControls($accountId: String!, $cognitoUserId: String, $nextToken: String) {
listDataAccessControls(accountId: $accountId, cognitoUserId: $cognitoUserId, nextToken: $nextToken) {
items {
...DataAccessControlFragment
}
nextToken
}
}
Variables
{"accountId": "xyz789", "cognitoUserId": "abc123", "nextToken": "xyz789"}
query listDataAccessControls($accountId: String!, $cognitoUserId: String, $nextToken: String) {
listDataAccessControls(accountId: $accountId, cognitoUserId: $cognitoUserId, nextToken: $nextToken) {
items {
...DataAccessControlFragment
}
nextToken
}
}
{"accountId": "xyz789", "cognitoUserId": "abc123", "nextToken": "xyz789"}
Response
{
"data": {
"listDataAccessControls": {
"items": [DataAccessControl],
"nextToken": "xyz789"
}
}
}
listDataPipelineProjects
DataPipelineProjects
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
destination -
DESTINATION!
|
|
email -
String
|
|
nextToken -
String
|
Example
Query
query listDataPipelineProjects($accountId: String!, $cognitoUserId: String, $destination: DESTINATION!, $email: String, $nextToken: String) {
listDataPipelineProjects(accountId: $accountId, cognitoUserId: $cognitoUserId, destination: $destination, email: $email, nextToken: $nextToken) {
items {
...DataPipelineProjectFragment
}
nextToken
}
}
Variables
{
"accountId": "abc123",
"cognitoUserId": "abc123",
"destination": DESTINATION,
"email": "xyz789",
"nextToken": "xyz789"
}
query listDataPipelineProjects($accountId: String!, $cognitoUserId: String, $destination: DESTINATION!, $email: String, $nextToken: String) {
listDataPipelineProjects(accountId: $accountId, cognitoUserId: $cognitoUserId, destination: $destination, email: $email, nextToken: $nextToken) {
items {
...DataPipelineProjectFragment
}
nextToken
}
}
{
"accountId": "abc123",
"cognitoUserId": "abc123",
"destination": DESTINATION,
"email": "xyz789",
"nextToken": "xyz789"
}
Response
{
"data": {
"listDataPipelineProjects": {
"items": [DataPipelineProject],
"nextToken": "xyz789"
}
}
}
listDataPipeLines
DataPipeLines
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
isArchived -
Boolean
|
|
nextToken -
String
|
|
sourceType -
SOURCE_TYPE
|
Example
Query
query listDataPipeLines($accountId: String!, $cognitoUserId: String, $isArchived: Boolean, $nextToken: String, $sourceType: SOURCE_TYPE) {
listDataPipeLines(accountId: $accountId, cognitoUserId: $cognitoUserId, isArchived: $isArchived, nextToken: $nextToken, sourceType: $sourceType) {
items {
...DataPipeLineFragment
}
nextToken
}
}
Variables
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"isArchived": true,
"nextToken": "xyz789",
"sourceType": SOURCE_TYPE
}
query listDataPipeLines($accountId: String!, $cognitoUserId: String, $isArchived: Boolean, $nextToken: String, $sourceType: SOURCE_TYPE) {
listDataPipeLines(accountId: $accountId, cognitoUserId: $cognitoUserId, isArchived: $isArchived, nextToken: $nextToken, sourceType: $sourceType) {
items {
...DataPipeLineFragment
}
nextToken
}
}
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"isArchived": true,
"nextToken": "xyz789",
"sourceType": SOURCE_TYPE
}
Response
{
"data": {
"listDataPipeLines": {
"items": [DataPipeLine],
"nextToken": "xyz789"
}
}
}
listDrivesByAccount
Example
Query
query listDrivesByAccount($accountId: String!, $authId: String!, $refresh: Boolean) {
listDrivesByAccount(accountId: $accountId, authId: $authId, refresh: $refresh) {
accountId
authId
email
items {
...ItemDrivesByAccountFragment
}
}
}
Variables
{"accountId": "abc123", "authId": "xyz789", "refresh": true}
query listDrivesByAccount($accountId: String!, $authId: String!, $refresh: Boolean) {
listDrivesByAccount(accountId: $accountId, authId: $authId, refresh: $refresh) {
accountId
authId
email
items {
...ItemDrivesByAccountFragment
}
}
}
{"accountId": "abc123", "authId": "xyz789", "refresh": true}
Response
{
"data": {
"listDrivesByAccount": {
"accountId": "xyz789",
"authId": "abc123",
"email": "abc123",
"items": [ItemDrivesByAccount]
}
}
}
listFacebookAdsAccounts
FacebookAdsAccounts
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
refresh -
Boolean
|
Example
Query
query listFacebookAdsAccounts($accountId: String!, $authId: String, $refresh: Boolean) {
listFacebookAdsAccounts(accountId: $accountId, authId: $authId, refresh: $refresh) {
items {
...FacebookAdsFragment
}
}
}
Variables
{"accountId": "xyz789", "authId": "xyz789", "refresh": false}
query listFacebookAdsAccounts($accountId: String!, $authId: String, $refresh: Boolean) {
listFacebookAdsAccounts(accountId: $accountId, authId: $authId, refresh: $refresh) {
items {
...FacebookAdsFragment
}
}
}
{"accountId": "xyz789", "authId": "xyz789", "refresh": false}
Response
{
"data": {
"listFacebookAdsAccounts": {"items": [FacebookAds]}
}
}
listFacebookAdsCampaigns
[FacebookCampaigns]
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
refresh -
Boolean!
|
Example
Query
query listFacebookAdsCampaigns($accountId: String!, $clientId: String!, $refresh: Boolean!) {
listFacebookAdsCampaigns(accountId: $accountId, clientId: $clientId, refresh: $refresh) {
id
name
status
}
}
Variables
{"accountId": "xyz789", "clientId": "xyz789", "refresh": false}
query listFacebookAdsCampaigns($accountId: String!, $clientId: String!, $refresh: Boolean!) {
listFacebookAdsCampaigns(accountId: $accountId, clientId: $clientId, refresh: $refresh) {
id
name
status
}
}
{"accountId": "xyz789", "clientId": "xyz789", "refresh": false}
Response
{
"data": {
"listFacebookAdsCampaigns": [
{"id": "xyz789", "name": "xyz789", "status": "xyz789"}
]
}
}
listGcpProjects
Example
Query
query listGcpProjects($accountId: String!, $authId: String!, $refresh: Boolean) {
listGcpProjects(accountId: $accountId, authId: $authId, refresh: $refresh) {
id
name
}
}
Variables
{"accountId": "abc123", "authId": "xyz789", "refresh": true}
query listGcpProjects($accountId: String!, $authId: String!, $refresh: Boolean) {
listGcpProjects(accountId: $accountId, authId: $authId, refresh: $refresh) {
id
name
}
}
{"accountId": "abc123", "authId": "xyz789", "refresh": true}
Response
{"data": {"listGcpProjects": [{"id": "abc123", "name": "xyz789"}]}}
listGoogleAdsAccounts
GoogleAdsAccounts
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
email -
String!
|
|
refresh -
Boolean
|
Example
Query
query listGoogleAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listGoogleAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...GoogleAdsMccAccountFragment
}
}
}
Variables
{"accountId": "xyz789", "authId": "xyz789", "email": "abc123", "refresh": true}
query listGoogleAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listGoogleAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...GoogleAdsMccAccountFragment
}
}
}
{"accountId": "xyz789", "authId": "xyz789", "email": "abc123", "refresh": true}
Response
{
"data": {
"listGoogleAdsAccounts": {
"items": [GoogleAdsMccAccount]
}
}
}
listInsightsUnderAccount
InsightsConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
count -
Int
|
|
exclude -
[String]
|
|
filters -
[labelInput]
|
|
isResolved -
Boolean
|
|
nextToken -
String
|
|
type -
String
|
Example
Query
query listInsightsUnderAccount($accountId: String!, $clientId: String, $count: Int, $exclude: [String], $filters: [labelInput], $isResolved: Boolean, $nextToken: String, $type: String) {
listInsightsUnderAccount(accountId: $accountId, clientId: $clientId, count: $count, exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
Variables
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 123,
"exclude": ["abc123"],
"filters": [labelInput],
"isResolved": false,
"nextToken": "abc123",
"type": "xyz789"
}
query listInsightsUnderAccount($accountId: String!, $clientId: String, $count: Int, $exclude: [String], $filters: [labelInput], $isResolved: Boolean, $nextToken: String, $type: String) {
listInsightsUnderAccount(accountId: $accountId, clientId: $clientId, count: $count, exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 123,
"exclude": ["abc123"],
"filters": [labelInput],
"isResolved": false,
"nextToken": "abc123",
"type": "xyz789"
}
Response
{
"data": {
"listInsightsUnderAccount": {
"count": 123,
"id": "abc123",
"items": [Insights],
"nextToken": "xyz789",
"scannedCount": 987
}
}
}
listInsightsUnderClient
InsightsConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
count -
Int
|
|
exclude -
[String]
|
|
isResolved -
Boolean
|
|
jobId -
String
|
|
nextToken -
String
|
|
type -
String!
|
Example
Query
query listInsightsUnderClient($accountId: String!, $clientId: String!, $count: Int, $exclude: [String], $isResolved: Boolean, $jobId: String, $nextToken: String, $type: String!) {
listInsightsUnderClient(accountId: $accountId, clientId: $clientId, count: $count, exclude: $exclude, isResolved: $isResolved, jobId: $jobId, nextToken: $nextToken, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"count": 987,
"exclude": ["xyz789"],
"isResolved": false,
"jobId": "xyz789",
"nextToken": "abc123",
"type": "abc123"
}
query listInsightsUnderClient($accountId: String!, $clientId: String!, $count: Int, $exclude: [String], $isResolved: Boolean, $jobId: String, $nextToken: String, $type: String!) {
listInsightsUnderClient(accountId: $accountId, clientId: $clientId, count: $count, exclude: $exclude, isResolved: $isResolved, jobId: $jobId, nextToken: $nextToken, type: $type) {
count
id
items {
...InsightsFragment
}
nextToken
scannedCount
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"count": 987,
"exclude": ["xyz789"],
"isResolved": false,
"jobId": "xyz789",
"nextToken": "abc123",
"type": "abc123"
}
Response
{
"data": {
"listInsightsUnderClient": {
"count": 987,
"id": "abc123",
"items": [Insights],
"nextToken": "xyz789",
"scannedCount": 123
}
}
}
listKPIUnderAccount
KPIConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
count -
Int
|
|
filters -
[labelInput]
|
|
isArchived -
Boolean!
|
|
jobStatus -
String
|
|
nextToken -
String
|
|
service -
String
|
Example
Query
query listKPIUnderAccount($accountId: String!, $clientId: String, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listKPIUnderAccount(accountId: $accountId, clientId: $clientId, count: $count, filters: $filters, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
items {
...KPIFragment
}
}
}
Variables
{
"accountId": "xyz789",
"clientId": "abc123",
"count": 123,
"filters": [labelInput],
"isArchived": false,
"jobStatus": "xyz789",
"nextToken": "xyz789",
"service": "abc123"
}
query listKPIUnderAccount($accountId: String!, $clientId: String, $count: Int, $filters: [labelInput], $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listKPIUnderAccount(accountId: $accountId, clientId: $clientId, count: $count, filters: $filters, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
items {
...KPIFragment
}
}
}
{
"accountId": "xyz789",
"clientId": "abc123",
"count": 123,
"filters": [labelInput],
"isArchived": false,
"jobStatus": "xyz789",
"nextToken": "xyz789",
"service": "abc123"
}
Response
{"data": {"listKPIUnderAccount": {"items": [KPI]}}}
listKPIUnderClient
KPIConnection
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
count -
Int
|
|
isArchived -
Boolean!
|
|
jobStatus -
String
|
|
nextToken -
String
|
|
service -
String
|
Example
Query
query listKPIUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listKPIUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
items {
...KPIFragment
}
}
}
Variables
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 987,
"isArchived": true,
"jobStatus": "xyz789",
"nextToken": "xyz789",
"service": "abc123"
}
query listKPIUnderClient($accountId: String!, $clientId: String!, $count: Int, $isArchived: Boolean!, $jobStatus: String, $nextToken: String, $service: String) {
listKPIUnderClient(accountId: $accountId, clientId: $clientId, count: $count, isArchived: $isArchived, jobStatus: $jobStatus, nextToken: $nextToken, service: $service) {
items {
...KPIFragment
}
}
}
{
"accountId": "abc123",
"clientId": "xyz789",
"count": 987,
"isArchived": true,
"jobStatus": "xyz789",
"nextToken": "xyz789",
"service": "abc123"
}
Response
{"data": {"listKPIUnderClient": {"items": [KPI]}}}
listLabelsForclient
Example
Query
query listLabelsForclient($accountId: String!, $clientId: String!) {
listLabelsForclient(accountId: $accountId, clientId: $clientId) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{"accountId": "xyz789", "clientId": "abc123"}
query listLabelsForclient($accountId: String!, $clientId: String!) {
listLabelsForclient(accountId: $accountId, clientId: $clientId) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{"accountId": "xyz789", "clientId": "abc123"}
Response
{
"data": {
"listLabelsForclient": [
{
"accountId": "xyz789",
"clientList": ["xyz789"],
"label": "abc123",
"revisions": 123,
"selected": true,
"sortKey": "abc123"
}
]
}
}
listLinkedInAdsAccounts
LinkedInAdsAccounts
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
email -
String!
|
|
refresh -
Boolean
|
Example
Query
query listLinkedInAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listLinkedInAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...GenericAdsAccountFragment
}
}
}
Variables
{"accountId": "abc123", "authId": "abc123", "email": "abc123", "refresh": false}
query listLinkedInAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listLinkedInAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...GenericAdsAccountFragment
}
}
}
{"accountId": "abc123", "authId": "abc123", "email": "abc123", "refresh": false}
Response
{
"data": {
"listLinkedInAdsAccounts": {
"items": [GenericAdsAccount]
}
}
}
listMicrosoftAdsAccounts
MicrosoftAdsAccounts
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String!
|
|
refresh -
Boolean
|
Example
Query
query listMicrosoftAdsAccounts($accountId: String!, $authId: String!, $refresh: Boolean) {
listMicrosoftAdsAccounts(accountId: $accountId, authId: $authId, refresh: $refresh) {
items {
...MicrosoftAdsAccountFragment
}
}
}
Variables
{"accountId": "xyz789", "authId": "xyz789", "refresh": true}
query listMicrosoftAdsAccounts($accountId: String!, $authId: String!, $refresh: Boolean) {
listMicrosoftAdsAccounts(accountId: $accountId, authId: $authId, refresh: $refresh) {
items {
...MicrosoftAdsAccountFragment
}
}
}
{"accountId": "xyz789", "authId": "xyz789", "refresh": true}
Response
{
"data": {
"listMicrosoftAdsAccounts": {
"items": [MicrosoftAdsAccount]
}
}
}
listSpreadsheetsByDrive
SpreadsheetByDriveId
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String!
|
|
driveId -
String!
|
|
refresh -
Boolean
|
Example
Query
query listSpreadsheetsByDrive($accountId: String!, $authId: String!, $driveId: String!, $refresh: Boolean) {
listSpreadsheetsByDrive(accountId: $accountId, authId: $authId, driveId: $driveId, refresh: $refresh) {
accountId
driveId
items {
...SpreadsheetsFragment
}
}
}
Variables
{
"accountId": "xyz789",
"authId": "abc123",
"driveId": "xyz789",
"refresh": true
}
query listSpreadsheetsByDrive($accountId: String!, $authId: String!, $driveId: String!, $refresh: Boolean) {
listSpreadsheetsByDrive(accountId: $accountId, authId: $authId, driveId: $driveId, refresh: $refresh) {
accountId
driveId
items {
...SpreadsheetsFragment
}
}
}
{
"accountId": "xyz789",
"authId": "abc123",
"driveId": "xyz789",
"refresh": true
}
Response
{
"data": {
"listSpreadsheetsByDrive": {
"accountId": "abc123",
"driveId": "xyz789",
"items": [Spreadsheets]
}
}
}
listTiktokAdsAccounts
TiktokAdsAccounts
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
email -
String!
|
|
refresh -
Boolean
|
Example
Query
query listTiktokAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listTiktokAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...GenericAdsAccountFragment
}
}
}
Variables
{"accountId": "abc123", "authId": "abc123", "email": "xyz789", "refresh": false}
query listTiktokAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listTiktokAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...GenericAdsAccountFragment
}
}
}
{"accountId": "abc123", "authId": "abc123", "email": "xyz789", "refresh": false}
Response
{
"data": {
"listTiktokAdsAccounts": {
"items": [GenericAdsAccount]
}
}
}
listTwitterAdsAccounts
TwitterAdsAccounts
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String
|
|
email -
String!
|
|
refresh -
Boolean
|
Example
Query
query listTwitterAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listTwitterAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...TwitterAccountsFragment
}
}
}
Variables
{"accountId": "abc123", "authId": "abc123", "email": "abc123", "refresh": false}
query listTwitterAdsAccounts($accountId: String!, $authId: String, $email: String!, $refresh: Boolean) {
listTwitterAdsAccounts(accountId: $accountId, authId: $authId, email: $email, refresh: $refresh) {
items {
...TwitterAccountsFragment
}
}
}
{"accountId": "abc123", "authId": "abc123", "email": "abc123", "refresh": false}
Response
{
"data": {
"listTwitterAdsAccounts": {"items": [TwitterAccounts]}
}
}
listWorksheetBySpreadsheetId
WorksheetsBySpreadsheetId
| Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String!
|
|
refresh -
Boolean
|
|
spreadsheetId -
String!
|
Example
Query
query listWorksheetBySpreadsheetId($accountId: String!, $authId: String!, $refresh: Boolean, $spreadsheetId: String!) {
listWorksheetBySpreadsheetId(accountId: $accountId, authId: $authId, refresh: $refresh, spreadsheetId: $spreadsheetId) {
accountId
items {
...WorksheetsFragment
}
spreadsheetId
}
}
Variables
{
"accountId": "xyz789",
"authId": "abc123",
"refresh": false,
"spreadsheetId": "abc123"
}
query listWorksheetBySpreadsheetId($accountId: String!, $authId: String!, $refresh: Boolean, $spreadsheetId: String!) {
listWorksheetBySpreadsheetId(accountId: $accountId, authId: $authId, refresh: $refresh, spreadsheetId: $spreadsheetId) {
accountId
items {
...WorksheetsFragment
}
spreadsheetId
}
}
{
"accountId": "xyz789",
"authId": "abc123",
"refresh": false,
"spreadsheetId": "abc123"
}
Response
{
"data": {
"listWorksheetBySpreadsheetId": {
"accountId": "xyz789",
"items": [Worksheets],
"spreadsheetId": "abc123"
}
}
}
searchClient
Example
Query
query searchClient($accountId: String, $search: String!) {
searchClient(accountId: $accountId, search: $search) {
count
isClientSubscriptionValid
isNearSubscriptionLimit
items {
...ClientFragment
}
nextToken
totalAnomaliesUnderAccount
totalBudgetsUnderAccount
totalKPISUnderAccount
}
}
Variables
{"accountId": "xyz789", "search": "abc123"}
query searchClient($accountId: String, $search: String!) {
searchClient(accountId: $accountId, search: $search) {
count
isClientSubscriptionValid
isNearSubscriptionLimit
items {
...ClientFragment
}
nextToken
totalAnomaliesUnderAccount
totalBudgetsUnderAccount
totalKPISUnderAccount
}
}
{"accountId": "xyz789", "search": "abc123"}
Response
{
"data": {
"searchClient": {
"count": 987,
"isClientSubscriptionValid": true,
"isNearSubscriptionLimit": false,
"items": [Client],
"nextToken": "abc123",
"totalAnomaliesUnderAccount": 123,
"totalBudgetsUnderAccount": 987,
"totalKPISUnderAccount": 987
}
}
}
searchInsightByExternalId
Example
Query
query searchInsightByExternalId($accountId: String!, $externalId: String!) {
searchInsightByExternalId(accountId: $accountId, externalId: $externalId) {
active
items {
...InsightsFragment
}
nextToken
resolved
}
}
Variables
{"accountId": "abc123", "externalId": "abc123"}
query searchInsightByExternalId($accountId: String!, $externalId: String!) {
searchInsightByExternalId(accountId: $accountId, externalId: $externalId) {
active
items {
...InsightsFragment
}
nextToken
resolved
}
}
{"accountId": "abc123", "externalId": "abc123"}
Response
{
"data": {
"searchInsightByExternalId": {
"active": 123,
"items": [Insights],
"nextToken": "abc123",
"resolved": 123
}
}
}
searchInsightByInsightId
Insights
| Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
insightId -
String!
|
|
jobType -
INSIGHTS_JOBTYPE!
|
Example
Query
query searchInsightByInsightId($accountId: String!, $clientId: String!, $insightId: String!, $jobType: INSIGHTS_JOBTYPE!) {
searchInsightByInsightId(accountId: $accountId, clientId: $clientId, insightId: $insightId, jobType: $jobType) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
Variables
{
"accountId": "xyz789",
"clientId": "xyz789",
"insightId": "xyz789",
"jobType": INSIGHTS_JOBTYPE
}
query searchInsightByInsightId($accountId: String!, $clientId: String!, $insightId: String!, $jobType: INSIGHTS_JOBTYPE!) {
searchInsightByInsightId(accountId: $accountId, clientId: $clientId, insightId: $insightId, jobType: $jobType) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
{
"accountId": "xyz789",
"clientId": "xyz789",
"insightId": "xyz789",
"jobType": INSIGHTS_JOBTYPE
}
Response
{
"data": {
"searchInsightByInsightId": {
"accountId": "abc123",
"acknowledgeDateTime": "abc123",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "xyz789",
"clientId": "abc123",
"commentCount": 123,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"description": "abc123",
"externalId": "xyz789",
"fullReportUrl": "xyz789",
"graphData": InsightsGraph,
"insightRelatedCount": 987,
"isAcknowledged": true,
"isArchived": true,
"isDeleted": true,
"isPartialReport": false,
"isResolved": true,
"jobIcon": "abc123",
"jobId": "xyz789",
"jobStatus": "abc123",
"jobTitle": "xyz789",
"jobType": "xyz789",
"reference": 123,
"relatedCountOnCreation": 987,
"report": AWSJSON,
"resolveDateTime": "xyz789",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 123,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "xyz789",
"summary": AWSJSON,
"title": "xyz789",
"trigger": "xyz789",
"watchList": ["xyz789"]
}
}
}
Mutations
accountConnectionCreate
Example
Query
mutation accountConnectionCreate($input: AccountConnectionCreateInput) {
accountConnectionCreate(input: $input) {
accountId
authStatus
clientList
domain
email
isClientConnected
isCompleted
oauthType
scopes
sortKey
teamId
teamName
url
userId
username
}
}
Variables
{"input": AccountConnectionCreateInput}
mutation accountConnectionCreate($input: AccountConnectionCreateInput) {
accountConnectionCreate(input: $input) {
accountId
authStatus
clientList
domain
email
isClientConnected
isCompleted
oauthType
scopes
sortKey
teamId
teamName
url
userId
username
}
}
{"input": AccountConnectionCreateInput}
Response
{
"data": {
"accountConnectionCreate": {
"accountId": "abc123",
"authStatus": CONNECTION_STATUS,
"clientList": ["abc123"],
"domain": "abc123",
"email": "xyz789",
"isClientConnected": true,
"isCompleted": false,
"oauthType": "abc123",
"scopes": ["xyz789"],
"sortKey": "xyz789",
"teamId": "abc123",
"teamName": "abc123",
"url": "abc123",
"userId": "abc123",
"username": "xyz789"
}
}
}
accountConnectionDelete
AccountConnectionDeleteResponse
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
sortKey -
String!
|
Example
Query
mutation accountConnectionDelete($accountId: String!, $cognitoUserId: String, $sortKey: String!) {
accountConnectionDelete(accountId: $accountId, cognitoUserId: $cognitoUserId, sortKey: $sortKey) {
accountId
sortKey
}
}
Variables
{"accountId": "xyz789", "cognitoUserId": "abc123", "sortKey": "xyz789"}
mutation accountConnectionDelete($accountId: String!, $cognitoUserId: String, $sortKey: String!) {
accountConnectionDelete(accountId: $accountId, cognitoUserId: $cognitoUserId, sortKey: $sortKey) {
accountId
sortKey
}
}
{"accountId": "xyz789", "cognitoUserId": "abc123", "sortKey": "xyz789"}
Response
{
"data": {
"accountConnectionDelete": {"accountId": "xyz789", "sortKey": "abc123"}
}
}
accountSignUp
Example
Query
mutation accountSignUp($input: AccountSignUpInput) {
accountSignUp(input: $input) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
Variables
{"input": AccountSignUpInput}
mutation accountSignUp($input: AccountSignUpInput) {
accountSignUp(input: $input) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
{"input": AccountSignUpInput}
Response
{
"data": {
"accountSignUp": {
"accountId": "xyz789",
"accountType": "xyz789",
"betaAccess": false,
"clientId": "abc123",
"clientList": ["abc123"],
"cubeToken": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"domain": "abc123",
"hasCard": false,
"inProgress": false,
"logo": "abc123",
"name": "xyz789",
"revisions": 987,
"sortKey": "xyz789",
"status": "abc123",
"timezone": "xyz789",
"totalAnomalies": 987,
"totalBudgets": 123,
"totalClients": 123,
"totalKpis": 123,
"transactionStatus": "xyz789",
"weekStart": "xyz789",
"zapierWebHook": AWSJSON
}
}
}
accountUpload
Example
Query
mutation accountUpload($input: AccountUploadInput) {
accountUpload(input: $input) {
accountId
url
}
}
Variables
{"input": AccountUploadInput}
mutation accountUpload($input: AccountUploadInput) {
accountUpload(input: $input) {
accountId
url
}
}
{"input": AccountUploadInput}
Response
{"data": {"accountUpload": {"accountId": "xyz789", "url": "xyz789"}}}
acknowledgeInsight
Example
Query
mutation acknowledgeInsight($input: inputAcknowledgeInsight) {
acknowledgeInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
Variables
{"input": inputAcknowledgeInsight}
mutation acknowledgeInsight($input: inputAcknowledgeInsight) {
acknowledgeInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
{"input": inputAcknowledgeInsight}
Response
{
"data": {
"acknowledgeInsight": {
"accountId": "xyz789",
"acknowledgeDateTime": "xyz789",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "abc123",
"clientId": "xyz789",
"commentCount": 123,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "xyz789",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"description": "xyz789",
"externalId": "abc123",
"fullReportUrl": "xyz789",
"graphData": InsightsGraph,
"insightRelatedCount": 987,
"isAcknowledged": true,
"isArchived": true,
"isDeleted": true,
"isPartialReport": true,
"isResolved": true,
"jobIcon": "xyz789",
"jobId": "abc123",
"jobStatus": "xyz789",
"jobTitle": "abc123",
"jobType": "xyz789",
"reference": 123,
"relatedCountOnCreation": 987,
"report": AWSJSON,
"resolveDateTime": "xyz789",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 123,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "xyz789",
"summary": AWSJSON,
"title": "abc123",
"trigger": "abc123",
"watchList": ["abc123"]
}
}
}
addComment
Example
Query
mutation addComment($input: CommentInput) {
addComment(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
Variables
{"input": CommentInput}
mutation addComment($input: CommentInput) {
addComment(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
{"input": CommentInput}
Response
{
"data": {
"addComment": {
"accountId": "abc123",
"commentMethod": CommentMethod,
"commentTimestamp": "abc123",
"commentTo": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"deletedBy": "xyz789",
"isDeleted": true,
"mentionedUsers": ["xyz789"],
"message": "abc123",
"revisions": 987,
"sortKey": "xyz789",
"type": CommentType,
"updatedBy": "xyz789",
"user": User,
"userId": "xyz789"
}
}
}
addInsightExternalId
Example
Query
mutation addInsightExternalId($input: inputAddInsightExternalId) {
addInsightExternalId(input: $input) {
sortKey
title
}
}
Variables
{"input": inputAddInsightExternalId}
mutation addInsightExternalId($input: inputAddInsightExternalId) {
addInsightExternalId(input: $input) {
sortKey
title
}
}
{"input": inputAddInsightExternalId}
Response
{"data": {"addInsightExternalId": {"sortKey": "xyz789", "title": "xyz789"}}}
addPage
Example
Query
mutation addPage($input: InputPage) {
addPage(input: $input) {
pages
}
}
Variables
{"input": InputPage}
mutation addPage($input: InputPage) {
addPage(input: $input) {
pages
}
}
{"input": InputPage}
Response
{"data": {"addPage": {"pages": AWSJSON}}}
archiveAnomaly
Example
Query
mutation archiveAnomaly($input: AnomalyTransactionInput) {
archiveAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"input": AnomalyTransactionInput}
mutation archiveAnomaly($input: AnomalyTransactionInput) {
archiveAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"input": AnomalyTransactionInput}
Response
{
"data": {
"archiveAnomaly": {
"accountId": "abc123",
"authId": "abc123",
"changeHistory": "xyz789",
"clientId": "xyz789",
"clientName": "xyz789",
"commentCount": 123,
"configuration": AnomalyConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateLastInsightCreated": "abc123",
"dateLastRun": "xyz789",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": true,
"isDeleted": true,
"jobStatus": ANOMALY_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyWebhook": true,
"report": AnomalyReport,
"revisions": 123,
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "xyz789",
"title": "abc123",
"userId": "xyz789",
"watchList": ["xyz789"],
"webhookURL": "xyz789"
}
}
}
archiveAutomation
Example
Query
mutation archiveAutomation($input: AutomationTransactionInput) {
archiveAutomation(input: $input) {
accountId
sortKey
}
}
Variables
{"input": AutomationTransactionInput}
mutation archiveAutomation($input: AutomationTransactionInput) {
archiveAutomation(input: $input) {
accountId
sortKey
}
}
{"input": AutomationTransactionInput}
Response
{"data": {"archiveAutomation": {"accountId": "xyz789", "sortKey": "xyz789"}}}
archiveBudget
Example
Query
mutation archiveBudget($input: BudgetTransactionInput) {
archiveBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": BudgetTransactionInput}
mutation archiveBudget($input: BudgetTransactionInput) {
archiveBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": BudgetTransactionInput}
Response
{
"data": {
"archiveBudget": {
"accountId": "xyz789",
"authEmail": "abc123",
"changeHistory": "abc123",
"client": Client,
"clientId": "abc123",
"clientName": "xyz789",
"commentCount": 123,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"history": AWSJSON,
"isArchived": true,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 987,
"schedEmail": "xyz789",
"schedSlack": "abc123",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "xyz789",
"title": "abc123",
"user": User,
"userId": "xyz789",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "xyz789"
}
}
}
archiveClient
Example
Query
mutation archiveClient($input: ClientTransactionInput) {
archiveClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": ClientTransactionInput}
mutation archiveClient($input: ClientTransactionInput) {
archiveClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": ClientTransactionInput}
Response
{
"data": {
"archiveClient": {
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "xyz789",
"anomalyTotal": 123,
"automationTotal": 123,
"budgetTotal": 987,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"domain": "abc123",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 987,
"instagramAds": InstagramAds,
"isArchived": true,
"isDeleted": true,
"kpiTotal": 987,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "abc123",
"microsoftAds": microsoftAds,
"name": "abc123",
"revisions": 987,
"sortKey": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
archiveDataPipeline
Example
Query
mutation archiveDataPipeline($input: DataPipeLineInput) {
archiveDataPipeline(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": DataPipeLineInput}
mutation archiveDataPipeline($input: DataPipeLineInput) {
archiveDataPipeline(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": DataPipeLineInput}
Response
{
"data": {
"archiveDataPipeline": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "abc123",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "abc123",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "xyz789",
"extensionCount": 123,
"funnelTerms": AWSJSON,
"hasInitAnalysis": false,
"isArchived": true,
"isDeleted": false,
"isTitleAutoGenerated": false,
"jobType": "abc123",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyZapier": true,
"report": AWSJSON,
"revisions": 123,
"sortKey": "abc123",
"source": DataSource,
"status": "xyz789",
"title": "abc123",
"totalRowsLoaded": 123
}
}
}
archiveKPI
Example
Query
mutation archiveKPI($input: KPITransactionInput) {
archiveKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": KPITransactionInput}
mutation archiveKPI($input: KPITransactionInput) {
archiveKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": KPITransactionInput}
Response
{
"data": {
"archiveKPI": {
"accountId": "xyz789",
"advancedSettings": AWSJSON,
"changeHistory": "abc123",
"client": Client,
"clientId": "abc123",
"clientName": "abc123",
"commentCount": 123,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"history": AWSJSON,
"id": "xyz789",
"isArchived": false,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "abc123",
"report": KPIReport,
"revisions": 987,
"schedEmail": "abc123",
"schedSlack": "abc123",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "xyz789",
"title": "xyz789",
"user": User,
"userId": "abc123",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
bulkEditNotifications
Example
Query
mutation bulkEditNotifications($input: BulkEditNotificationInput) {
bulkEditNotifications(input: $input) {
accountId
}
}
Variables
{"input": BulkEditNotificationInput}
mutation bulkEditNotifications($input: BulkEditNotificationInput) {
bulkEditNotifications(input: $input) {
accountId
}
}
{"input": BulkEditNotificationInput}
Response
{"data": {"bulkEditNotifications": {"accountId": "abc123"}}}
clientConnectionCreate
Example
Query
mutation clientConnectionCreate($input: ClientConnectionCreateInput) {
clientConnectionCreate(input: $input) {
accountId
clientList
facebookAds {
...FacebookAdsConnectionFragment
}
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
instagramAds {
...InstagramAdsFragment
}
linkedInAds {
...linkedInAdsFragment
}
microsoftAds {
...microsoftAdsFragment
}
sortKeyAuth
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": ClientConnectionCreateInput}
mutation clientConnectionCreate($input: ClientConnectionCreateInput) {
clientConnectionCreate(input: $input) {
accountId
clientList
facebookAds {
...FacebookAdsConnectionFragment
}
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
instagramAds {
...InstagramAdsFragment
}
linkedInAds {
...linkedInAdsFragment
}
microsoftAds {
...microsoftAdsFragment
}
sortKeyAuth
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": ClientConnectionCreateInput}
Response
{
"data": {
"clientConnectionCreate": {
"accountId": "abc123",
"clientList": ["xyz789"],
"facebookAds": FacebookAdsConnection,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"instagramAds": InstagramAds,
"linkedInAds": linkedInAds,
"microsoftAds": microsoftAds,
"sortKeyAuth": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
clientConnectionDelete
ClientConnectionDeleteResponse
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
service -
String!
|
|
sortKey -
String!
|
Example
Query
mutation clientConnectionDelete($accountId: String!, $cognitoUserId: String, $service: String!, $sortKey: String!) {
clientConnectionDelete(accountId: $accountId, cognitoUserId: $cognitoUserId, service: $service, sortKey: $sortKey) {
accountId
}
}
Variables
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"service": "abc123",
"sortKey": "abc123"
}
mutation clientConnectionDelete($accountId: String!, $cognitoUserId: String, $service: String!, $sortKey: String!) {
clientConnectionDelete(accountId: $accountId, cognitoUserId: $cognitoUserId, service: $service, sortKey: $sortKey) {
accountId
}
}
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"service": "abc123",
"sortKey": "abc123"
}
Response
{"data": {"clientConnectionDelete": {"accountId": "xyz789"}}}
clientConnectionUpdate
Example
Query
mutation clientConnectionUpdate($input: ClientConnectionCreateInput) {
clientConnectionUpdate(input: $input) {
accountId
clientList
facebookAds {
...FacebookAdsConnectionFragment
}
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
instagramAds {
...InstagramAdsFragment
}
linkedInAds {
...linkedInAdsFragment
}
microsoftAds {
...microsoftAdsFragment
}
sortKeyAuth
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": ClientConnectionCreateInput}
mutation clientConnectionUpdate($input: ClientConnectionCreateInput) {
clientConnectionUpdate(input: $input) {
accountId
clientList
facebookAds {
...FacebookAdsConnectionFragment
}
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
instagramAds {
...InstagramAdsFragment
}
linkedInAds {
...linkedInAdsFragment
}
microsoftAds {
...microsoftAdsFragment
}
sortKeyAuth
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": ClientConnectionCreateInput}
Response
{
"data": {
"clientConnectionUpdate": {
"accountId": "abc123",
"clientList": ["xyz789"],
"facebookAds": FacebookAdsConnection,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"instagramAds": InstagramAds,
"linkedInAds": linkedInAds,
"microsoftAds": microsoftAds,
"sortKeyAuth": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
clientUpload
Example
Query
mutation clientUpload($input: ClientUploadInput) {
clientUpload(input: $input) {
id
url
}
}
Variables
{"input": ClientUploadInput}
mutation clientUpload($input: ClientUploadInput) {
clientUpload(input: $input) {
id
url
}
}
{"input": ClientUploadInput}
Response
{"data": {"clientUpload": {"id": "abc123", "url": "xyz789"}}}
createAnomaly
Example
Query
mutation createAnomaly($input: AnomalyInput) {
createAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"input": AnomalyInput}
mutation createAnomaly($input: AnomalyInput) {
createAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"input": AnomalyInput}
Response
{
"data": {
"createAnomaly": {
"accountId": "abc123",
"authId": "xyz789",
"changeHistory": "abc123",
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 123,
"configuration": AnomalyConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "abc123",
"dateLastInsightCreated": "abc123",
"dateLastRun": "abc123",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": true,
"isDeleted": true,
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyWebhook": false,
"report": AnomalyReport,
"revisions": 123,
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"userId": "abc123",
"watchList": ["abc123"],
"webhookURL": "xyz789"
}
}
}
createAutomation
Example
Query
mutation createAutomation($input: AutomationInput) {
createAutomation(input: $input) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
Variables
{"input": AutomationInput}
mutation createAutomation($input: AutomationInput) {
createAutomation(input: $input) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
{"input": AutomationInput}
Response
{
"data": {
"createAutomation": {
"accountId": "xyz789",
"clientId": "abc123",
"clientName": "xyz789",
"cognitoUserId": "xyz789",
"configuration": AWSJSON,
"connectionStatus": "xyz789",
"dateLastInsightCreated": "abc123",
"dateLastRun": "xyz789",
"executionArn": "xyz789",
"gmbLocationId": "abc123",
"isArchived": true,
"isDeleted": false,
"jobId": "abc123",
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": false,
"notifyWebhook": true,
"revisions": 123,
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"webhookURL": "abc123"
}
}
}
createAutomationConnection
Example
Query
mutation createAutomationConnection($input: inputAutomationConnection) {
createAutomationConnection(input: $input) {
accountId
}
}
Variables
{"input": inputAutomationConnection}
mutation createAutomationConnection($input: inputAutomationConnection) {
createAutomationConnection(input: $input) {
accountId
}
}
{"input": inputAutomationConnection}
Response
{"data": {"createAutomationConnection": {"accountId": "abc123"}}}
createBudget
Example
Query
mutation createBudget($input: BudgetInput) {
createBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": BudgetInput}
mutation createBudget($input: BudgetInput) {
createBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": BudgetInput}
Response
{
"data": {
"createBudget": {
"accountId": "abc123",
"authEmail": "abc123",
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "abc123",
"commentCount": 123,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"history": AWSJSON,
"isArchived": false,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "abc123",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 987,
"schedEmail": "xyz789",
"schedSlack": "abc123",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "xyz789",
"title": "xyz789",
"user": User,
"userId": "abc123",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
createClient
Example
Query
mutation createClient($input: ClientInput) {
createClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": ClientInput}
mutation createClient($input: ClientInput) {
createClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": ClientInput}
Response
{
"data": {
"createClient": {
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "abc123",
"anomalyTotal": 123,
"automationTotal": 123,
"budgetTotal": 987,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"domain": "abc123",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 987,
"instagramAds": InstagramAds,
"isArchived": false,
"isDeleted": false,
"kpiTotal": 123,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "abc123",
"microsoftAds": microsoftAds,
"name": "xyz789",
"revisions": 123,
"sortKey": "abc123",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
createDataAccessControl
Example
Query
mutation createDataAccessControl($input: DataAccessControlInput) {
createDataAccessControl(input: $input) {
accessLevel
accessRole
accountId
authEmail
authId
dateCreated
dateUpdated
invitedUser
isDeleted
projectId
projectName
provider
revisions
service
sortKey
status
userId
}
}
Variables
{"input": DataAccessControlInput}
mutation createDataAccessControl($input: DataAccessControlInput) {
createDataAccessControl(input: $input) {
accessLevel
accessRole
accountId
authEmail
authId
dateCreated
dateUpdated
invitedUser
isDeleted
projectId
projectName
provider
revisions
service
sortKey
status
userId
}
}
{"input": DataAccessControlInput}
Response
{
"data": {
"createDataAccessControl": {
"accessLevel": "abc123",
"accessRole": ["abc123"],
"accountId": "abc123",
"authEmail": "abc123",
"authId": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"invitedUser": "xyz789",
"isDeleted": true,
"projectId": "xyz789",
"projectName": "abc123",
"provider": ACCESS_CONTROL_PROVIDER,
"revisions": 123,
"service": SERVICE,
"sortKey": "abc123",
"status": "xyz789",
"userId": "xyz789"
}
}
}
createDataPipeLine
Example
Query
mutation createDataPipeLine($input: DataPipeLineInput) {
createDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": DataPipeLineInput}
mutation createDataPipeLine($input: DataPipeLineInput) {
createDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": DataPipeLineInput}
Response
{
"data": {
"createDataPipeLine": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "xyz789",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "abc123",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "abc123",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": false,
"isArchived": false,
"isDeleted": true,
"isTitleAutoGenerated": true,
"jobType": "abc123",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyZapier": true,
"report": AWSJSON,
"revisions": 123,
"sortKey": "xyz789",
"source": DataSource,
"status": "xyz789",
"title": "xyz789",
"totalRowsLoaded": 123
}
}
}
createKPI
Example
Query
mutation createKPI($input: KPIInput) {
createKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": KPIInput}
mutation createKPI($input: KPIInput) {
createKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": KPIInput}
Response
{
"data": {
"createKPI": {
"accountId": "xyz789",
"advancedSettings": AWSJSON,
"changeHistory": "abc123",
"client": Client,
"clientId": "xyz789",
"clientName": "xyz789",
"commentCount": 987,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"history": AWSJSON,
"id": "abc123",
"isArchived": true,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "abc123",
"report": KPIReport,
"revisions": 123,
"schedEmail": "abc123",
"schedSlack": "xyz789",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"user": User,
"userId": "abc123",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
createLabel
Example
Query
mutation createLabel($accountId: String!, $cognitoUserId: String, $label: String!) {
createLabel(accountId: $accountId, cognitoUserId: $cognitoUserId, label: $label) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{"accountId": "abc123", "cognitoUserId": "abc123", "label": "abc123"}
mutation createLabel($accountId: String!, $cognitoUserId: String, $label: String!) {
createLabel(accountId: $accountId, cognitoUserId: $cognitoUserId, label: $label) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{"accountId": "abc123", "cognitoUserId": "abc123", "label": "abc123"}
Response
{
"data": {
"createLabel": {
"accountId": "abc123",
"clientList": ["xyz789"],
"label": "xyz789",
"revisions": 987,
"selected": false,
"sortKey": "xyz789"
}
}
}
createPassword
User
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
input -
CreatePasswordInput
|
|
userId -
String
|
Example
Query
mutation createPassword($accountId: String!, $cognitoUserId: String, $input: CreatePasswordInput, $userId: String) {
createPassword(accountId: $accountId, cognitoUserId: $cognitoUserId, input: $input, userId: $userId) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{
"accountId": "xyz789",
"cognitoUserId": "abc123",
"input": CreatePasswordInput,
"userId": "abc123"
}
mutation createPassword($accountId: String!, $cognitoUserId: String, $input: CreatePasswordInput, $userId: String) {
createPassword(accountId: $accountId, cognitoUserId: $cognitoUserId, input: $input, userId: $userId) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{
"accountId": "xyz789",
"cognitoUserId": "abc123",
"input": CreatePasswordInput,
"userId": "abc123"
}
Response
{
"data": {
"createPassword": {
"acceptedInvite": true,
"accountId": "abc123",
"dateCreated": "abc123",
"dateLastLogin": "abc123",
"dateUpdated": "xyz789",
"email": "abc123",
"firstName": "abc123",
"hash": "abc123",
"isDeleted": true,
"isPrimary": true,
"lastName": "xyz789",
"logo": "abc123",
"password": "xyz789",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "xyz789",
"status": "xyz789",
"userId": "xyz789"
}
}
}
createSpreadsheetConnection
Example
Query
mutation createSpreadsheetConnection($input: SpreadsheetConnectionInput) {
createSpreadsheetConnection(input: $input) {
accountId
clientId
driveId
email
spreadsheetId
spreadsheetLabel
timezone
validDates {
...SpreadsheetColumnFragment
}
validMetrics {
...SpreadsheetColumnFragment
}
worksheetId
worksheetLabel
}
}
Variables
{"input": SpreadsheetConnectionInput}
mutation createSpreadsheetConnection($input: SpreadsheetConnectionInput) {
createSpreadsheetConnection(input: $input) {
accountId
clientId
driveId
email
spreadsheetId
spreadsheetLabel
timezone
validDates {
...SpreadsheetColumnFragment
}
validMetrics {
...SpreadsheetColumnFragment
}
worksheetId
worksheetLabel
}
}
{"input": SpreadsheetConnectionInput}
Response
{
"data": {
"createSpreadsheetConnection": {
"accountId": "abc123",
"clientId": "xyz789",
"driveId": "xyz789",
"email": "xyz789",
"spreadsheetId": "abc123",
"spreadsheetLabel": "abc123",
"timezone": "abc123",
"validDates": [SpreadsheetColumn],
"validMetrics": [SpreadsheetColumn],
"worksheetId": "xyz789",
"worksheetLabel": "abc123"
}
}
}
createUser
Example
Query
mutation createUser($input: UserCreateInput) {
createUser(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": UserCreateInput}
mutation createUser($input: UserCreateInput) {
createUser(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": UserCreateInput}
Response
{
"data": {
"createUser": {
"acceptedInvite": true,
"accountId": "xyz789",
"dateCreated": "xyz789",
"dateLastLogin": "xyz789",
"dateUpdated": "xyz789",
"email": "xyz789",
"firstName": "abc123",
"hash": "xyz789",
"isDeleted": true,
"isPrimary": true,
"lastName": "xyz789",
"logo": "abc123",
"password": "abc123",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "abc123",
"status": "xyz789",
"userId": "xyz789"
}
}
}
deleteAnomaly
Example
Query
mutation deleteAnomaly($input: AnomalyTransactionInput) {
deleteAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"input": AnomalyTransactionInput}
mutation deleteAnomaly($input: AnomalyTransactionInput) {
deleteAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"input": AnomalyTransactionInput}
Response
{
"data": {
"deleteAnomaly": {
"accountId": "abc123",
"authId": "abc123",
"changeHistory": "abc123",
"clientId": "xyz789",
"clientName": "xyz789",
"commentCount": 987,
"configuration": AnomalyConfiguration,
"connectionStatus": "abc123",
"dateCreated": "xyz789",
"dateLastInsightCreated": "abc123",
"dateLastRun": "xyz789",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": false,
"isDeleted": true,
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyWebhook": false,
"report": AnomalyReport,
"revisions": 987,
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"userId": "xyz789",
"watchList": ["xyz789"],
"webhookURL": "xyz789"
}
}
}
deleteAutomation
Example
Query
mutation deleteAutomation($input: AutomationTransactionInput) {
deleteAutomation(input: $input) {
accountId
sortKey
}
}
Variables
{"input": AutomationTransactionInput}
mutation deleteAutomation($input: AutomationTransactionInput) {
deleteAutomation(input: $input) {
accountId
sortKey
}
}
{"input": AutomationTransactionInput}
Response
{"data": {"deleteAutomation": {"accountId": "abc123", "sortKey": "xyz789"}}}
deleteBudget
Example
Query
mutation deleteBudget($input: BudgetTransactionInput) {
deleteBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": BudgetTransactionInput}
mutation deleteBudget($input: BudgetTransactionInput) {
deleteBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": BudgetTransactionInput}
Response
{
"data": {
"deleteBudget": {
"accountId": "xyz789",
"authEmail": "xyz789",
"changeHistory": "abc123",
"client": Client,
"clientId": "abc123",
"clientName": "xyz789",
"commentCount": 123,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"history": AWSJSON,
"isArchived": true,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "abc123",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 987,
"schedEmail": "abc123",
"schedSlack": "abc123",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"user": User,
"userId": "abc123",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
deleteClient
Example
Query
mutation deleteClient($input: ClientTransactionInput) {
deleteClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": ClientTransactionInput}
mutation deleteClient($input: ClientTransactionInput) {
deleteClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": ClientTransactionInput}
Response
{
"data": {
"deleteClient": {
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "abc123",
"anomalyTotal": 123,
"automationTotal": 987,
"budgetTotal": 987,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"domain": "xyz789",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 987,
"instagramAds": InstagramAds,
"isArchived": false,
"isDeleted": false,
"kpiTotal": 123,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "xyz789",
"microsoftAds": microsoftAds,
"name": "abc123",
"revisions": 123,
"sortKey": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
deleteComment
Example
Query
mutation deleteComment($input: DeleteCommentInput) {
deleteComment(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
Variables
{"input": DeleteCommentInput}
mutation deleteComment($input: DeleteCommentInput) {
deleteComment(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
{"input": DeleteCommentInput}
Response
{
"data": {
"deleteComment": {
"accountId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"deletedBy": "xyz789",
"isDeleted": false,
"mentionedUsers": ["abc123"],
"message": "xyz789",
"revisions": 123,
"sortKey": "xyz789",
"type": CommentType,
"updatedBy": "xyz789",
"user": User,
"userId": "xyz789"
}
}
}
deleteDataAccessControl
Example
Query
mutation deleteDataAccessControl($input: DataDeleteAccessControlInput) {
deleteDataAccessControl(input: $input) {
accessLevel
accessRole
accountId
authEmail
authId
dateCreated
dateUpdated
invitedUser
isDeleted
projectId
projectName
provider
revisions
service
sortKey
status
userId
}
}
Variables
{"input": DataDeleteAccessControlInput}
mutation deleteDataAccessControl($input: DataDeleteAccessControlInput) {
deleteDataAccessControl(input: $input) {
accessLevel
accessRole
accountId
authEmail
authId
dateCreated
dateUpdated
invitedUser
isDeleted
projectId
projectName
provider
revisions
service
sortKey
status
userId
}
}
{"input": DataDeleteAccessControlInput}
Response
{
"data": {
"deleteDataAccessControl": {
"accessLevel": "abc123",
"accessRole": ["abc123"],
"accountId": "abc123",
"authEmail": "abc123",
"authId": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"invitedUser": "xyz789",
"isDeleted": false,
"projectId": "xyz789",
"projectName": "abc123",
"provider": ACCESS_CONTROL_PROVIDER,
"revisions": 987,
"service": SERVICE,
"sortKey": "abc123",
"status": "xyz789",
"userId": "abc123"
}
}
}
deleteDataPipeLine
Example
Query
mutation deleteDataPipeLine($input: DataPipeLineInput) {
deleteDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": DataPipeLineInput}
mutation deleteDataPipeLine($input: DataPipeLineInput) {
deleteDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": DataPipeLineInput}
Response
{
"data": {
"deleteDataPipeLine": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "xyz789",
"configuration": DataPipeLineConfiguration,
"creditUsed": 123,
"dateCreated": "abc123",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "abc123",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": true,
"isArchived": true,
"isDeleted": true,
"isTitleAutoGenerated": false,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyZapier": false,
"report": AWSJSON,
"revisions": 987,
"sortKey": "xyz789",
"source": DataSource,
"status": "xyz789",
"title": "xyz789",
"totalRowsLoaded": 123
}
}
}
deleteInsight
Example
Query
mutation deleteInsight($input: InsightTransactionInput) {
deleteInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
Variables
{"input": InsightTransactionInput}
mutation deleteInsight($input: InsightTransactionInput) {
deleteInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
{"input": InsightTransactionInput}
Response
{
"data": {
"deleteInsight": {
"accountId": "xyz789",
"acknowledgeDateTime": "xyz789",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "xyz789",
"clientId": "xyz789",
"commentCount": 987,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"description": "abc123",
"externalId": "abc123",
"fullReportUrl": "abc123",
"graphData": InsightsGraph,
"insightRelatedCount": 123,
"isAcknowledged": true,
"isArchived": true,
"isDeleted": false,
"isPartialReport": true,
"isResolved": false,
"jobIcon": "xyz789",
"jobId": "xyz789",
"jobStatus": "xyz789",
"jobTitle": "abc123",
"jobType": "xyz789",
"reference": 123,
"relatedCountOnCreation": 123,
"report": AWSJSON,
"resolveDateTime": "xyz789",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 987,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "xyz789",
"summary": AWSJSON,
"title": "abc123",
"trigger": "abc123",
"watchList": ["xyz789"]
}
}
}
deleteKPI
Example
Query
mutation deleteKPI($input: KPITransactionInput) {
deleteKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": KPITransactionInput}
mutation deleteKPI($input: KPITransactionInput) {
deleteKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": KPITransactionInput}
Response
{
"data": {
"deleteKPI": {
"accountId": "xyz789",
"advancedSettings": AWSJSON,
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "abc123",
"commentCount": 123,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"history": AWSJSON,
"id": "xyz789",
"isArchived": true,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"report": KPIReport,
"revisions": 987,
"schedEmail": "xyz789",
"schedSlack": "xyz789",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "xyz789",
"title": "xyz789",
"user": User,
"userId": "xyz789",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
deleteLabel
OutputLabel
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
revisions -
Int!
|
|
sortKey -
String!
|
Example
Query
mutation deleteLabel($accountId: String!, $cognitoUserId: String, $revisions: Int!, $sortKey: String!) {
deleteLabel(accountId: $accountId, cognitoUserId: $cognitoUserId, revisions: $revisions, sortKey: $sortKey) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"revisions": 123,
"sortKey": "xyz789"
}
mutation deleteLabel($accountId: String!, $cognitoUserId: String, $revisions: Int!, $sortKey: String!) {
deleteLabel(accountId: $accountId, cognitoUserId: $cognitoUserId, revisions: $revisions, sortKey: $sortKey) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"revisions": 123,
"sortKey": "xyz789"
}
Response
{
"data": {
"deleteLabel": {
"accountId": "abc123",
"clientList": ["abc123"],
"label": "xyz789",
"revisions": 123,
"selected": true,
"sortKey": "abc123"
}
}
}
deletePage
Example
Query
mutation deletePage($input: InputPage) {
deletePage(input: $input) {
pages
}
}
Variables
{"input": InputPage}
mutation deletePage($input: InputPage) {
deletePage(input: $input) {
pages
}
}
{"input": InputPage}
Response
{"data": {"deletePage": {"pages": AWSJSON}}}
deleteUser
Example
Query
mutation deleteUser($input: DeleteUserInput) {
deleteUser(input: $input) {
isDeleted
}
}
Variables
{"input": DeleteUserInput}
mutation deleteUser($input: DeleteUserInput) {
deleteUser(input: $input) {
isDeleted
}
}
{"input": DeleteUserInput}
Response
{"data": {"deleteUser": {"isDeleted": true}}}
editAccount
Example
Query
mutation editAccount($input: EditAccountInput) {
editAccount(input: $input) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
Variables
{"input": EditAccountInput}
mutation editAccount($input: EditAccountInput) {
editAccount(input: $input) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
{"input": EditAccountInput}
Response
{
"data": {
"editAccount": {
"accountId": "abc123",
"accountType": "abc123",
"betaAccess": true,
"clientId": "abc123",
"clientList": ["xyz789"],
"cubeToken": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"domain": "abc123",
"hasCard": true,
"inProgress": false,
"logo": "xyz789",
"name": "abc123",
"revisions": 123,
"sortKey": "abc123",
"status": "abc123",
"timezone": "xyz789",
"totalAnomalies": 987,
"totalBudgets": 123,
"totalClients": 987,
"totalKpis": 123,
"transactionStatus": "xyz789",
"weekStart": "abc123",
"zapierWebHook": AWSJSON
}
}
}
editPage
Example
Query
mutation editPage($input: InputPage) {
editPage(input: $input) {
pages
}
}
Variables
{"input": InputPage}
mutation editPage($input: InputPage) {
editPage(input: $input) {
pages
}
}
{"input": InputPage}
Response
{"data": {"editPage": {"pages": AWSJSON}}}
editUser
Example
Query
mutation editUser($input: UserInput) {
editUser(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": UserInput}
mutation editUser($input: UserInput) {
editUser(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": UserInput}
Response
{
"data": {
"editUser": {
"acceptedInvite": false,
"accountId": "abc123",
"dateCreated": "abc123",
"dateLastLogin": "abc123",
"dateUpdated": "xyz789",
"email": "xyz789",
"firstName": "abc123",
"hash": "xyz789",
"isDeleted": true,
"isPrimary": false,
"lastName": "xyz789",
"logo": "xyz789",
"password": "abc123",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "abc123",
"status": "abc123",
"userId": "xyz789"
}
}
}
errorHandler
Example
Query
mutation errorHandler($input: ErrorHandlerInput) {
errorHandler(input: $input) {
accountId
}
}
Variables
{"input": ErrorHandlerInput}
mutation errorHandler($input: ErrorHandlerInput) {
errorHandler(input: $input) {
accountId
}
}
{"input": ErrorHandlerInput}
Response
{"data": {"errorHandler": {"accountId": "xyz789"}}}
forgotPassword
Example
Query
mutation forgotPassword($email: String) {
forgotPassword(email: $email) {
statusCode
}
}
Variables
{"email": "xyz789"}
mutation forgotPassword($email: String) {
forgotPassword(email: $email) {
statusCode
}
}
{"email": "xyz789"}
Response
{"data": {"forgotPassword": {"statusCode": 123}}}
getPages
Example
Query
mutation getPages($input: InputGetPages) {
getPages(input: $input) {
pages
}
}
Variables
{"input": InputGetPages}
mutation getPages($input: InputGetPages) {
getPages(input: $input) {
pages
}
}
{"input": InputGetPages}
Response
{"data": {"getPages": {"pages": AWSJSON}}}
insightAction
insightActionOutput
| Name | Description |
|---|---|
accountId -
String!
|
|
action -
InsightAction!
|
|
cognitoUserId -
String
|
|
email -
String!
|
|
includeRelatedInsights -
Boolean
|
|
insightIds -
[String!]
|
Example
Query
mutation insightAction($accountId: String!, $action: InsightAction!, $cognitoUserId: String, $email: String!, $includeRelatedInsights: Boolean, $insightIds: [String!]) {
insightAction(accountId: $accountId, action: $action, cognitoUserId: $cognitoUserId, email: $email, includeRelatedInsights: $includeRelatedInsights, insightIds: $insightIds) {
id
}
}
Variables
{
"accountId": "xyz789",
"action": InsightAction,
"cognitoUserId": "xyz789",
"email": "xyz789",
"includeRelatedInsights": true,
"insightIds": ["xyz789"]
}
mutation insightAction($accountId: String!, $action: InsightAction!, $cognitoUserId: String, $email: String!, $includeRelatedInsights: Boolean, $insightIds: [String!]) {
insightAction(accountId: $accountId, action: $action, cognitoUserId: $cognitoUserId, email: $email, includeRelatedInsights: $includeRelatedInsights, insightIds: $insightIds) {
id
}
}
{
"accountId": "xyz789",
"action": InsightAction,
"cognitoUserId": "xyz789",
"email": "xyz789",
"includeRelatedInsights": true,
"insightIds": ["xyz789"]
}
Response
{"data": {"insightAction": {"id": "abc123"}}}
publishAction
Example
Query
mutation publishAction($input: PublishActionInput) {
publishAction(input: $input) {
action
id
item {
...InsightsFragment
}
itemType
}
}
Variables
{"input": PublishActionInput}
mutation publishAction($input: PublishActionInput) {
publishAction(input: $input) {
action
id
item {
...InsightsFragment
}
itemType
}
}
{"input": PublishActionInput}
Response
{
"data": {
"publishAction": {
"action": "abc123",
"id": "abc123",
"item": Insights,
"itemType": ActionItemType
}
}
}
publishAnomalyPreviewReport
Example
Query
mutation publishAnomalyPreviewReport($input: AnomalyPreviewReportResultInput) {
publishAnomalyPreviewReport(input: $input) {
errorMessage
executionArn
id
message
report {
...AnomalyReportFragment
}
stage
status
}
}
Variables
{"input": AnomalyPreviewReportResultInput}
mutation publishAnomalyPreviewReport($input: AnomalyPreviewReportResultInput) {
publishAnomalyPreviewReport(input: $input) {
errorMessage
executionArn
id
message
report {
...AnomalyReportFragment
}
stage
status
}
}
{"input": AnomalyPreviewReportResultInput}
Response
{
"data": {
"publishAnomalyPreviewReport": {
"errorMessage": AWSJSON,
"executionArn": "abc123",
"id": ID,
"message": "abc123",
"report": AnomalyReport,
"stage": AnomalyPreviewStage,
"status": AnomalyPreviewStatus
}
}
}
publishBudgetGSpreadsheetPreviewResult
BudgetGSpreadsheetPreviewResult
| Name | Description |
|---|---|
input -
BudgetGSpreadsheetPreviewReportResultInput
|
Example
Query
mutation publishBudgetGSpreadsheetPreviewResult($input: BudgetGSpreadsheetPreviewReportResultInput) {
publishBudgetGSpreadsheetPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGSpreadsheetReportFragment
}
stage
status
}
}
Variables
{"input": BudgetGSpreadsheetPreviewReportResultInput}
mutation publishBudgetGSpreadsheetPreviewResult($input: BudgetGSpreadsheetPreviewReportResultInput) {
publishBudgetGSpreadsheetPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGSpreadsheetReportFragment
}
stage
status
}
}
{"input": BudgetGSpreadsheetPreviewReportResultInput}
Response
{
"data": {
"publishBudgetGSpreadsheetPreviewResult": {
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGSpreadsheetReport,
"stage": PREVIEW_STAGE,
"status": BUDGET_PREVIEW_STATUS
}
}
}
publishBudgetPreviewResult
Example
Query
mutation publishBudgetPreviewResult($input: BudgetPreviewReportResultInput) {
publishBudgetPreviewResult(input: $input) {
errorMessage
executionArn
id
message
report {
...BudgetReportFragment
}
stage
status
}
}
Variables
{"input": BudgetPreviewReportResultInput}
mutation publishBudgetPreviewResult($input: BudgetPreviewReportResultInput) {
publishBudgetPreviewResult(input: $input) {
errorMessage
executionArn
id
message
report {
...BudgetReportFragment
}
stage
status
}
}
{"input": BudgetPreviewReportResultInput}
Response
{
"data": {
"publishBudgetPreviewResult": {
"errorMessage": AWSJSON,
"executionArn": "xyz789",
"id": ID,
"message": "abc123",
"report": BudgetReport,
"stage": PREVIEW_STAGE,
"status": BudgetPreviewStatus
}
}
}
publishComment
Example
Query
mutation publishComment($input: PublishCommentInput) {
publishComment(input: $input) {
action
id
item {
...CommentFragment
}
itemType
}
}
Variables
{"input": PublishCommentInput}
mutation publishComment($input: PublishCommentInput) {
publishComment(input: $input) {
action
id
item {
...CommentFragment
}
itemType
}
}
{"input": PublishCommentInput}
Response
{
"data": {
"publishComment": {
"action": "abc123",
"id": "abc123",
"item": Comment,
"itemType": ActionItemType
}
}
}
publishItemUpdate
Example
Query
mutation publishItemUpdate($input: PublishItemUpdateInput) {
publishItemUpdate(input: $input) {
action
id
item
itemType
}
}
Variables
{"input": PublishItemUpdateInput}
mutation publishItemUpdate($input: PublishItemUpdateInput) {
publishItemUpdate(input: $input) {
action
id
item
itemType
}
}
{"input": PublishItemUpdateInput}
Response
{
"data": {
"publishItemUpdate": {
"action": ItemAction,
"id": "xyz789",
"item": AWSJSON,
"itemType": ActionItemType
}
}
}
publishKPIGAdsPreviewResult
Example
Query
mutation publishKPIGAdsPreviewResult($input: KPIGAdsPreviewReportResultInput) {
publishKPIGAdsPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGAdsReportFragment
}
stage
status
}
}
Variables
{"input": KPIGAdsPreviewReportResultInput}
mutation publishKPIGAdsPreviewResult($input: KPIGAdsPreviewReportResultInput) {
publishKPIGAdsPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGAdsReportFragment
}
stage
status
}
}
{"input": KPIGAdsPreviewReportResultInput}
Response
{
"data": {
"publishKPIGAdsPreviewResult": {
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
publishKPIGSpreadsheetPreviewResult
KPIGSpreadsheetPreviewResult
| Name | Description |
|---|---|
input -
KPIGSpreadsheetPreviewReportResultInput
|
Example
Query
mutation publishKPIGSpreadsheetPreviewResult($input: KPIGSpreadsheetPreviewReportResultInput) {
publishKPIGSpreadsheetPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGSpreadsheetReportFragment
}
stage
status
}
}
Variables
{"input": KPIGSpreadsheetPreviewReportResultInput}
mutation publishKPIGSpreadsheetPreviewResult($input: KPIGSpreadsheetPreviewReportResultInput) {
publishKPIGSpreadsheetPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIGSpreadsheetReportFragment
}
stage
status
}
}
{"input": KPIGSpreadsheetPreviewReportResultInput}
Response
{
"data": {
"publishKPIGSpreadsheetPreviewResult": {
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGSpreadsheetReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
publishKPIMAdsPreviewResult
Example
Query
mutation publishKPIMAdsPreviewResult($input: KPIMAdsPreviewReportResultInput) {
publishKPIMAdsPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIMAdsReportFragment
}
stage
status
}
}
Variables
{"input": KPIMAdsPreviewReportResultInput}
mutation publishKPIMAdsPreviewResult($input: KPIMAdsPreviewReportResultInput) {
publishKPIMAdsPreviewResult(input: $input) {
executionArn
id
jobStatus
message
report {
...KPIMAdsReportFragment
}
stage
status
}
}
{"input": KPIMAdsPreviewReportResultInput}
Response
{
"data": {
"publishKPIMAdsPreviewResult": {
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIMAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
publishKPIPreviewResult
Example
Query
mutation publishKPIPreviewResult($input: KPIPreviewReportResultInput) {
publishKPIPreviewResult(input: $input) {
errorMessage
executionArn
id
jobStatus
message
report {
...KPIReportFragment
}
stage
status
}
}
Variables
{"input": KPIPreviewReportResultInput}
mutation publishKPIPreviewResult($input: KPIPreviewReportResultInput) {
publishKPIPreviewResult(input: $input) {
errorMessage
executionArn
id
jobStatus
message
report {
...KPIReportFragment
}
stage
status
}
}
{"input": KPIPreviewReportResultInput}
Response
{
"data": {
"publishKPIPreviewResult": {
"errorMessage": AWSJSON,
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "xyz789",
"report": KPIReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
}
}
publishUserAuthentication
Example
Query
mutation publishUserAuthentication($input: publishUserAuthenticationInput) {
publishUserAuthentication(input: $input) {
accountId
id
isAuthorise
}
}
Variables
{"input": publishUserAuthenticationInput}
mutation publishUserAuthentication($input: publishUserAuthenticationInput) {
publishUserAuthentication(input: $input) {
accountId
id
isAuthorise
}
}
{"input": publishUserAuthenticationInput}
Response
{
"data": {
"publishUserAuthentication": {
"accountId": "abc123",
"id": "abc123",
"isAuthorise": false
}
}
}
purchaseExtension
Example
Query
mutation purchaseExtension($input: PurchaseExtensionInput) {
purchaseExtension(input: $input) {
creditsApplied
description
details {
...AddOnPackFragment
}
immediateCharges
proratedCharge
renewalDate
tax
total
}
}
Variables
{"input": PurchaseExtensionInput}
mutation purchaseExtension($input: PurchaseExtensionInput) {
purchaseExtension(input: $input) {
creditsApplied
description
details {
...AddOnPackFragment
}
immediateCharges
proratedCharge
renewalDate
tax
total
}
}
{"input": PurchaseExtensionInput}
Response
{
"data": {
"purchaseExtension": {
"creditsApplied": 987.65,
"description": "abc123",
"details": [AddOnPack],
"immediateCharges": AWSJSON,
"proratedCharge": 987.65,
"renewalDate": "abc123",
"tax": 123.45,
"total": 987.65
}
}
}
purchaseExtensionAddOn
Example
Query
mutation purchaseExtensionAddOn($input: PurchaseExtensionAddOnInput) {
purchaseExtensionAddOn(input: $input) {
creditsApplied
description
details {
...AddOnPackFragment
}
immediateCharges
proratedCharge
renewalDate
tax
total
}
}
Variables
{"input": PurchaseExtensionAddOnInput}
mutation purchaseExtensionAddOn($input: PurchaseExtensionAddOnInput) {
purchaseExtensionAddOn(input: $input) {
creditsApplied
description
details {
...AddOnPackFragment
}
immediateCharges
proratedCharge
renewalDate
tax
total
}
}
{"input": PurchaseExtensionAddOnInput}
Response
{
"data": {
"purchaseExtensionAddOn": {
"creditsApplied": 987.65,
"description": "abc123",
"details": [AddOnPack],
"immediateCharges": AWSJSON,
"proratedCharge": 123.45,
"renewalDate": "xyz789",
"tax": 123.45,
"total": 123.45
}
}
}
purchaseExtensionEstimate
Example
Query
mutation purchaseExtensionEstimate($input: PurchaseExtensionInput) {
purchaseExtensionEstimate(input: $input) {
creditsApplied
description
details {
...AddOnPackFragment
}
immediateCharges
proratedCharge
renewalDate
tax
total
}
}
Variables
{"input": PurchaseExtensionInput}
mutation purchaseExtensionEstimate($input: PurchaseExtensionInput) {
purchaseExtensionEstimate(input: $input) {
creditsApplied
description
details {
...AddOnPackFragment
}
immediateCharges
proratedCharge
renewalDate
tax
total
}
}
{"input": PurchaseExtensionInput}
Response
{
"data": {
"purchaseExtensionEstimate": {
"creditsApplied": 123.45,
"description": "abc123",
"details": [AddOnPack],
"immediateCharges": AWSJSON,
"proratedCharge": 987.65,
"renewalDate": "abc123",
"tax": 987.65,
"total": 123.45
}
}
}
reactivatePipeline
Example
Query
mutation reactivatePipeline($input: DataPipeLineInput) {
reactivatePipeline(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": DataPipeLineInput}
mutation reactivatePipeline($input: DataPipeLineInput) {
reactivatePipeline(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": DataPipeLineInput}
Response
{
"data": {
"reactivatePipeline": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "xyz789",
"configuration": DataPipeLineConfiguration,
"creditUsed": 123,
"dateCreated": "xyz789",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "abc123",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": true,
"isArchived": false,
"isDeleted": true,
"isTitleAutoGenerated": false,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyZapier": false,
"report": AWSJSON,
"revisions": 987,
"sortKey": "xyz789",
"source": DataSource,
"status": "abc123",
"title": "abc123",
"totalRowsLoaded": 123
}
}
}
removeOwnership
Example
Query
mutation removeOwnership($input: RemoveOwnershipInput) {
removeOwnership(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": RemoveOwnershipInput}
mutation removeOwnership($input: RemoveOwnershipInput) {
removeOwnership(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": RemoveOwnershipInput}
Response
{
"data": {
"removeOwnership": {
"acceptedInvite": false,
"accountId": "abc123",
"dateCreated": "abc123",
"dateLastLogin": "xyz789",
"dateUpdated": "abc123",
"email": "xyz789",
"firstName": "xyz789",
"hash": "abc123",
"isDeleted": false,
"isPrimary": true,
"lastName": "abc123",
"logo": "xyz789",
"password": "xyz789",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "xyz789",
"status": "xyz789",
"userId": "abc123"
}
}
}
renameJobTitle
Example
Query
mutation renameJobTitle($input: RenameJobTitleInput) {
renameJobTitle(input: $input) {
sortKey
title
}
}
Variables
{"input": RenameJobTitleInput}
mutation renameJobTitle($input: RenameJobTitleInput) {
renameJobTitle(input: $input) {
sortKey
title
}
}
{"input": RenameJobTitleInput}
Response
{"data": {"renameJobTitle": {"sortKey": "abc123", "title": "xyz789"}}}
resendInvite
Example
Query
mutation resendInvite($input: ResendInviteInput) {
resendInvite(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": ResendInviteInput}
mutation resendInvite($input: ResendInviteInput) {
resendInvite(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": ResendInviteInput}
Response
{
"data": {
"resendInvite": {
"acceptedInvite": false,
"accountId": "xyz789",
"dateCreated": "xyz789",
"dateLastLogin": "xyz789",
"dateUpdated": "abc123",
"email": "xyz789",
"firstName": "xyz789",
"hash": "abc123",
"isDeleted": false,
"isPrimary": true,
"lastName": "xyz789",
"logo": "xyz789",
"password": "abc123",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "abc123",
"status": "xyz789",
"userId": "abc123"
}
}
}
resolveUnresolveInsight
Example
Query
mutation resolveUnresolveInsight($input: inputResolveUnresolveInsight) {
resolveUnresolveInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
Variables
{"input": inputResolveUnresolveInsight}
mutation resolveUnresolveInsight($input: inputResolveUnresolveInsight) {
resolveUnresolveInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
{"input": inputResolveUnresolveInsight}
Response
{
"data": {
"resolveUnresolveInsight": {
"accountId": "abc123",
"acknowledgeDateTime": "xyz789",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "abc123",
"clientId": "abc123",
"commentCount": 987,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"description": "xyz789",
"externalId": "xyz789",
"fullReportUrl": "xyz789",
"graphData": InsightsGraph,
"insightRelatedCount": 987,
"isAcknowledged": false,
"isArchived": true,
"isDeleted": false,
"isPartialReport": true,
"isResolved": true,
"jobIcon": "abc123",
"jobId": "abc123",
"jobStatus": "xyz789",
"jobTitle": "xyz789",
"jobType": "abc123",
"reference": 123,
"relatedCountOnCreation": 123,
"report": AWSJSON,
"resolveDateTime": "abc123",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 987,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "xyz789",
"summary": AWSJSON,
"title": "abc123",
"trigger": "xyz789",
"watchList": ["abc123"]
}
}
}
reSyncDataPipeLine
Example
Query
mutation reSyncDataPipeLine($input: ReSyncDataPipeLineInput) {
reSyncDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": ReSyncDataPipeLineInput}
mutation reSyncDataPipeLine($input: ReSyncDataPipeLineInput) {
reSyncDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": ReSyncDataPipeLineInput}
Response
{
"data": {
"reSyncDataPipeLine": {
"accountId": "abc123",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "xyz789",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "abc123",
"dateLastSyncCompleted": "xyz789",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "xyz789",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": false,
"isArchived": false,
"isDeleted": false,
"isTitleAutoGenerated": false,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyZapier": true,
"report": AWSJSON,
"revisions": 987,
"sortKey": "abc123",
"source": DataSource,
"status": "abc123",
"title": "xyz789",
"totalRowsLoaded": 987
}
}
}
reTryDataAnomaly
Example
Query
mutation reTryDataAnomaly($input: ReTryDataAnomalyInput) {
reTryDataAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"input": ReTryDataAnomalyInput}
mutation reTryDataAnomaly($input: ReTryDataAnomalyInput) {
reTryDataAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"input": ReTryDataAnomalyInput}
Response
{
"data": {
"reTryDataAnomaly": {
"accountId": "abc123",
"authId": "abc123",
"changeHistory": "abc123",
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 987,
"configuration": AnomalyConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "xyz789",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "abc123",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": true,
"isDeleted": false,
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyWebhook": false,
"report": AnomalyReport,
"revisions": 123,
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"userId": "abc123",
"watchList": ["abc123"],
"webhookURL": "abc123"
}
}
}
reTryDataPipeLine
Example
Query
mutation reTryDataPipeLine($input: ReTryDataPipeLineInput) {
reTryDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": ReTryDataPipeLineInput}
mutation reTryDataPipeLine($input: ReTryDataPipeLineInput) {
reTryDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": ReTryDataPipeLineInput}
Response
{
"data": {
"reTryDataPipeLine": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "xyz789",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "abc123",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "abc123",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": true,
"isArchived": false,
"isDeleted": false,
"isTitleAutoGenerated": false,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyZapier": false,
"report": AWSJSON,
"revisions": 123,
"sortKey": "abc123",
"source": DataSource,
"status": "xyz789",
"title": "abc123",
"totalRowsLoaded": 123
}
}
}
saveUserFilter
Example
Query
mutation saveUserFilter($input: SaveFilterInput) {
saveUserFilter(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": SaveFilterInput}
mutation saveUserFilter($input: SaveFilterInput) {
saveUserFilter(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": SaveFilterInput}
Response
{
"data": {
"saveUserFilter": {
"acceptedInvite": false,
"accountId": "abc123",
"dateCreated": "abc123",
"dateLastLogin": "abc123",
"dateUpdated": "abc123",
"email": "xyz789",
"firstName": "xyz789",
"hash": "abc123",
"isDeleted": false,
"isPrimary": false,
"lastName": "abc123",
"logo": "xyz789",
"password": "abc123",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "abc123",
"status": "xyz789",
"userId": "abc123"
}
}
}
saveUserPreferences
Example
Query
mutation saveUserPreferences($input: SaveUserPreferencesInput) {
saveUserPreferences(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": SaveUserPreferencesInput}
mutation saveUserPreferences($input: SaveUserPreferencesInput) {
saveUserPreferences(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": SaveUserPreferencesInput}
Response
{
"data": {
"saveUserPreferences": {
"acceptedInvite": true,
"accountId": "xyz789",
"dateCreated": "abc123",
"dateLastLogin": "xyz789",
"dateUpdated": "abc123",
"email": "abc123",
"firstName": "xyz789",
"hash": "abc123",
"isDeleted": false,
"isPrimary": true,
"lastName": "xyz789",
"logo": "abc123",
"password": "abc123",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "xyz789",
"status": "xyz789",
"userId": "abc123"
}
}
}
setDataSource
Example
Query
mutation setDataSource($input: DataSourceInput) {
setDataSource(input: $input) {
account
accountId
authId
config
sourceType
timezone
}
}
Variables
{"input": DataSourceInput}
mutation setDataSource($input: DataSourceInput) {
setDataSource(input: $input) {
account
accountId
authId
config
sourceType
timezone
}
}
{"input": DataSourceInput}
Response
{
"data": {
"setDataSource": {
"account": "xyz789",
"accountId": "abc123",
"authId": "xyz789",
"config": AWSJSON,
"sourceType": SOURCE_TYPE,
"timezone": "xyz789"
}
}
}
setDestination
Example
Query
mutation setDestination($input: DestinationInput) {
setDestination(input: $input) {
accountId
authId
config
destination
}
}
Variables
{"input": DestinationInput}
mutation setDestination($input: DestinationInput) {
setDestination(input: $input) {
accountId
authId
config
destination
}
}
{"input": DestinationInput}
Response
{
"data": {
"setDestination": {
"accountId": "xyz789",
"authId": "abc123",
"config": AWSJSON,
"destination": DESTINATION
}
}
}
startPipelineTrial
Example
Query
mutation startPipelineTrial($accountId: String!, $cognitoUserId: String) {
startPipelineTrial(accountId: $accountId, cognitoUserId: $cognitoUserId) {
endDate
isTrialEnded
isTrialStarted
startDate
}
}
Variables
{"accountId": "xyz789", "cognitoUserId": "xyz789"}
mutation startPipelineTrial($accountId: String!, $cognitoUserId: String) {
startPipelineTrial(accountId: $accountId, cognitoUserId: $cognitoUserId) {
endDate
isTrialEnded
isTrialStarted
startDate
}
}
{"accountId": "xyz789", "cognitoUserId": "xyz789"}
Response
{
"data": {
"startPipelineTrial": {
"endDate": "abc123",
"isTrialEnded": true,
"isTrialStarted": true,
"startDate": "xyz789"
}
}
}
testWebhook
Example
Query
mutation testWebhook($input: TestWebhookInput) {
testWebhook(input: $input) {
message
status
}
}
Variables
{"input": TestWebhookInput}
mutation testWebhook($input: TestWebhookInput) {
testWebhook(input: $input) {
message
status
}
}
{"input": TestWebhookInput}
Response
{
"data": {
"testWebhook": {"message": AWSJSON, "status": 123}
}
}
transferOwnership
Example
Query
mutation transferOwnership($input: TransferOwnershipInput) {
transferOwnership(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
Variables
{"input": TransferOwnershipInput}
mutation transferOwnership($input: TransferOwnershipInput) {
transferOwnership(input: $input) {
acceptedInvite
accountId
dateCreated
dateLastLogin
dateUpdated
email
firstName
hash
isDeleted
isPrimary
lastName
logo
password
preferences {
...UserPreferencesOutputFragment
}
savedFilters {
...LabelFragment
}
sortKey
status
userId
}
}
{"input": TransferOwnershipInput}
Response
{
"data": {
"transferOwnership": {
"acceptedInvite": true,
"accountId": "xyz789",
"dateCreated": "abc123",
"dateLastLogin": "xyz789",
"dateUpdated": "xyz789",
"email": "abc123",
"firstName": "abc123",
"hash": "xyz789",
"isDeleted": false,
"isPrimary": false,
"lastName": "xyz789",
"logo": "abc123",
"password": "abc123",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "abc123",
"status": "abc123",
"userId": "abc123"
}
}
}
unAcknowledgeInsight
Example
Query
mutation unAcknowledgeInsight($input: inputAcknowledgeInsight) {
unAcknowledgeInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
Variables
{"input": inputAcknowledgeInsight}
mutation unAcknowledgeInsight($input: inputAcknowledgeInsight) {
unAcknowledgeInsight(input: $input) {
accountId
acknowledgeDateTime
acknowledgedBy
acknowledgedMethod
chartImage
clientId
commentCount
comments {
...InsightsCommentFragment
}
configuration {
...insightsConfigurationFragment
}
createdBy
createdByJobType
dateCreated
dateUpdated
description
externalId
fullReportUrl
graphData {
...InsightsGraphFragment
}
insightRelatedCount
isAcknowledged
isArchived
isDeleted
isPartialReport
isResolved
jobIcon
jobId
jobStatus
jobTitle
jobType
reference
relatedCountOnCreation
report
resolveDateTime
resolvedBy
resolvedMethod
revisions
service
slackMessage {
...SlackMessageFragment
}
sortKey
summary
title
trigger
watchList
}
}
{"input": inputAcknowledgeInsight}
Response
{
"data": {
"unAcknowledgeInsight": {
"accountId": "xyz789",
"acknowledgeDateTime": "abc123",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "xyz789",
"clientId": "abc123",
"commentCount": 987,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"description": "xyz789",
"externalId": "xyz789",
"fullReportUrl": "abc123",
"graphData": InsightsGraph,
"insightRelatedCount": 123,
"isAcknowledged": true,
"isArchived": false,
"isDeleted": false,
"isPartialReport": true,
"isResolved": true,
"jobIcon": "abc123",
"jobId": "abc123",
"jobStatus": "xyz789",
"jobTitle": "xyz789",
"jobType": "xyz789",
"reference": 987,
"relatedCountOnCreation": 987,
"report": AWSJSON,
"resolveDateTime": "abc123",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 123,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "abc123",
"summary": AWSJSON,
"title": "xyz789",
"trigger": "xyz789",
"watchList": ["xyz789"]
}
}
}
unarchiveAnomaly
Example
Query
mutation unarchiveAnomaly($input: AnomalyTransactionInput) {
unarchiveAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"input": AnomalyTransactionInput}
mutation unarchiveAnomaly($input: AnomalyTransactionInput) {
unarchiveAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"input": AnomalyTransactionInput}
Response
{
"data": {
"unarchiveAnomaly": {
"accountId": "xyz789",
"authId": "xyz789",
"changeHistory": "abc123",
"clientId": "abc123",
"clientName": "abc123",
"commentCount": 987,
"configuration": AnomalyConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "abc123",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "xyz789",
"dateUpdated": "xyz789",
"errorDetails": PipelineErrorDetails,
"isArchived": false,
"isDeleted": false,
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyWebhook": false,
"report": AnomalyReport,
"revisions": 123,
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"userId": "xyz789",
"watchList": ["abc123"],
"webhookURL": "abc123"
}
}
}
unarchiveBudget
Example
Query
mutation unarchiveBudget($input: BudgetTransactionInput) {
unarchiveBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": BudgetTransactionInput}
mutation unarchiveBudget($input: BudgetTransactionInput) {
unarchiveBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": BudgetTransactionInput}
Response
{
"data": {
"unarchiveBudget": {
"accountId": "abc123",
"authEmail": "abc123",
"changeHistory": "abc123",
"client": Client,
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 987,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"history": AWSJSON,
"isArchived": true,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 123,
"schedEmail": "abc123",
"schedSlack": "abc123",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "xyz789",
"title": "abc123",
"user": User,
"userId": "xyz789",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "xyz789"
}
}
}
unarchiveClient
Example
Query
mutation unarchiveClient($input: ClientTransactionInput) {
unarchiveClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": ClientTransactionInput}
mutation unarchiveClient($input: ClientTransactionInput) {
unarchiveClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": ClientTransactionInput}
Response
{
"data": {
"unarchiveClient": {
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "xyz789",
"anomalyTotal": 123,
"automationTotal": 123,
"budgetTotal": 987,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"domain": "xyz789",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 987,
"instagramAds": InstagramAds,
"isArchived": false,
"isDeleted": false,
"kpiTotal": 987,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "abc123",
"microsoftAds": microsoftAds,
"name": "abc123",
"revisions": 123,
"sortKey": "abc123",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
unArchiveDataPipeline
Example
Query
mutation unArchiveDataPipeline($input: DataPipeLineInput) {
unArchiveDataPipeline(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": DataPipeLineInput}
mutation unArchiveDataPipeline($input: DataPipeLineInput) {
unArchiveDataPipeline(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": DataPipeLineInput}
Response
{
"data": {
"unArchiveDataPipeline": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "abc123",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "xyz789",
"dateLastSyncCompleted": "xyz789",
"dateUpdated": "xyz789",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "abc123",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": false,
"isArchived": false,
"isDeleted": true,
"isTitleAutoGenerated": true,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyZapier": false,
"report": AWSJSON,
"revisions": 123,
"sortKey": "abc123",
"source": DataSource,
"status": "xyz789",
"title": "xyz789",
"totalRowsLoaded": 987
}
}
}
unarchiveKPI
Example
Query
mutation unarchiveKPI($input: KPITransactionInput) {
unarchiveKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": KPITransactionInput}
mutation unarchiveKPI($input: KPITransactionInput) {
unarchiveKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": KPITransactionInput}
Response
{
"data": {
"unarchiveKPI": {
"accountId": "abc123",
"advancedSettings": AWSJSON,
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "xyz789",
"commentCount": 123,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"history": AWSJSON,
"id": "abc123",
"isArchived": false,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"report": KPIReport,
"revisions": 987,
"schedEmail": "abc123",
"schedSlack": "xyz789",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "xyz789",
"title": "abc123",
"user": User,
"userId": "abc123",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "xyz789"
}
}
}
updateAccountPreference
Example
Query
mutation updateAccountPreference($input: InputAccountPreference) {
updateAccountPreference(input: $input) {
budgets {
...BudgetPreferenceFragment
}
dataWarehouse {
...DataWarehouseFragment
}
insights {
...InsightPreferenceFragment
}
kpis {
...KpiPreferenceFragment
}
revision
}
}
Variables
{"input": InputAccountPreference}
mutation updateAccountPreference($input: InputAccountPreference) {
updateAccountPreference(input: $input) {
budgets {
...BudgetPreferenceFragment
}
dataWarehouse {
...DataWarehouseFragment
}
insights {
...InsightPreferenceFragment
}
kpis {
...KpiPreferenceFragment
}
revision
}
}
{"input": InputAccountPreference}
Response
{
"data": {
"updateAccountPreference": {
"budgets": BudgetPreference,
"dataWarehouse": DataWarehouse,
"insights": InsightPreference,
"kpis": KpiPreference,
"revision": 987
}
}
}
updateAnomaly
Example
Query
mutation updateAnomaly($input: AnomalyInput) {
updateAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
Variables
{"input": AnomalyInput}
mutation updateAnomaly($input: AnomalyInput) {
updateAnomaly(input: $input) {
accountId
authId
changeHistory
clientId
clientName
commentCount
configuration {
...AnomalyConfigurationFragment
}
connectionStatus
dateCreated
dateLastInsightCreated
dateLastRun
dateUpdated
errorDetails {
...PipelineErrorDetailsFragment
}
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
report {
...AnomalyReportFragment
}
revisions
schedWebhook
service
sortKey
title
userId
watchList
webhookURL
}
}
{"input": AnomalyInput}
Response
{
"data": {
"updateAnomaly": {
"accountId": "abc123",
"authId": "abc123",
"changeHistory": "xyz789",
"clientId": "xyz789",
"clientName": "xyz789",
"commentCount": 123,
"configuration": AnomalyConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "xyz789",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "abc123",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": true,
"isDeleted": false,
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyWebhook": true,
"report": AnomalyReport,
"revisions": 123,
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"userId": "abc123",
"watchList": ["xyz789"],
"webhookURL": "abc123"
}
}
}
updateAutomation
Example
Query
mutation updateAutomation($input: AutomationInput) {
updateAutomation(input: $input) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
Variables
{"input": AutomationInput}
mutation updateAutomation($input: AutomationInput) {
updateAutomation(input: $input) {
accountId
clientId
clientName
cognitoUserId
configuration
connectionStatus
dateLastInsightCreated
dateLastRun
executionArn
gmbLocationId
isArchived
isDeleted
jobId
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyWebhook
revisions
service
sortKey
title
webhookURL
}
}
{"input": AutomationInput}
Response
{
"data": {
"updateAutomation": {
"accountId": "abc123",
"clientId": "xyz789",
"clientName": "abc123",
"cognitoUserId": "abc123",
"configuration": AWSJSON,
"connectionStatus": "xyz789",
"dateLastInsightCreated": "abc123",
"dateLastRun": "abc123",
"executionArn": "abc123",
"gmbLocationId": "abc123",
"isArchived": false,
"isDeleted": false,
"jobId": "abc123",
"jobStatus": ANOMALY_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyWebhook": false,
"revisions": 123,
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"webhookURL": "abc123"
}
}
}
updateBudget
Example
Query
mutation updateBudget($input: UpdateBudgetInput) {
updateBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": UpdateBudgetInput}
mutation updateBudget($input: UpdateBudgetInput) {
updateBudget(input: $input) {
accountId
authEmail
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...BudgetConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
plannerData {
...plannerMapDetailsFragment
}
report {
...BudgetReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": UpdateBudgetInput}
Response
{
"data": {
"updateBudget": {
"accountId": "xyz789",
"authEmail": "abc123",
"changeHistory": "xyz789",
"client": Client,
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 987,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "xyz789",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"history": AWSJSON,
"isArchived": false,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 987,
"schedEmail": "xyz789",
"schedSlack": "xyz789",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"user": User,
"userId": "abc123",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
updateBudgetPlanner
Example
Query
mutation updateBudgetPlanner($input: UpdateBudgetPlannerInput) {
updateBudgetPlanner(input: $input) {
endDate
spend
startDate
target
}
}
Variables
{"input": UpdateBudgetPlannerInput}
mutation updateBudgetPlanner($input: UpdateBudgetPlannerInput) {
updateBudgetPlanner(input: $input) {
endDate
spend
startDate
target
}
}
{"input": UpdateBudgetPlannerInput}
Response
{
"data": {
"updateBudgetPlanner": [
{
"endDate": "xyz789",
"spend": "xyz789",
"startDate": "abc123",
"target": "abc123"
}
]
}
}
updateClient
Example
Query
mutation updateClient($input: UpdateClientInput) {
updateClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
Variables
{"input": UpdateClientInput}
mutation updateClient($input: UpdateClientInput) {
updateClient(input: $input) {
Anomaly(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AnomalyConnectionFragment
}
Automation(filters: $filters, isArchived: $isArchived, nextToken: $nextToken) {
...AutomationFragment
}
Budget(filters: $filters, isArchived: $isArchived) {
...BudgetConnectionFragment
}
Insight(exclude: $exclude, filters: $filters, isResolved: $isResolved, nextToken: $nextToken, type: $type) {
...InsightsConnectionFragment
}
KPI(filters: $filters, isArchived: $isArchived) {
...KPIConnectionFragment
}
accountConnectionStatus(authStatus: $authStatus, oauthType: $oauthType) {
...AccountConnectionFragment
}
accountId
anomalyTotal
automationTotal
budgetTotal
budgets {
...TotalBudgetStatusFragment
}
connectionStatus {
...ClientConnectionServicesStatusFragment
}
dateCreated
dateUpdated
domain
facebookAds {
...FacebookAdsConnectionFragment
}
globalConnectionStatus
googleAds {
...GoogleAdsFragment
}
googleAnalytics {
...GoogleAnalyticsFragment
}
googleAnalytics4 {
...googleAnalytics4Fragment
}
googleMyBusiness {
...GoogleMyBusinessFragment
}
googleSearchConsole {
...GoogleSearchConsoleFragment
}
id
insightTotal
instagramAds {
...InstagramAdsFragment
}
isArchived
isDeleted
kpiTotal
kpis {
...TotalKPIStatusFragment
}
labels {
...LabelFragment
}
linkedInAds {
...linkedInAdsFragment
}
logo
microsoftAds {
...microsoftAdsFragment
}
name
revisions
sortKey
tiktokAds {
...tiktokAdsFragment
}
twitterAds {
...twitterAdsFragment
}
}
}
{"input": UpdateClientInput}
Response
{
"data": {
"updateClient": {
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "abc123",
"anomalyTotal": 123,
"automationTotal": 123,
"budgetTotal": 123,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"domain": "abc123",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 123,
"instagramAds": InstagramAds,
"isArchived": true,
"isDeleted": true,
"kpiTotal": 987,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "abc123",
"microsoftAds": microsoftAds,
"name": "abc123",
"revisions": 123,
"sortKey": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
}
}
updateComment
Example
Query
mutation updateComment($input: UpdateCommentInput) {
updateComment(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
Variables
{"input": UpdateCommentInput}
mutation updateComment($input: UpdateCommentInput) {
updateComment(input: $input) {
accountId
commentMethod
commentTimestamp
commentTo
dateCreated
dateUpdated
deletedBy
isDeleted
mentionedUsers
message
revisions
sortKey
type
updatedBy
user {
...UserFragment
}
userId
}
}
{"input": UpdateCommentInput}
Response
{
"data": {
"updateComment": {
"accountId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "abc123",
"commentTo": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"deletedBy": "xyz789",
"isDeleted": false,
"mentionedUsers": ["xyz789"],
"message": "abc123",
"revisions": 123,
"sortKey": "xyz789",
"type": CommentType,
"updatedBy": "abc123",
"user": User,
"userId": "abc123"
}
}
}
updateDataPipeLine
Example
Query
mutation updateDataPipeLine($input: DataPipeLineInput) {
updateDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
Variables
{"input": DataPipeLineInput}
mutation updateDataPipeLine($input: DataPipeLineInput) {
updateDataPipeLine(input: $input) {
accountId
appliedExtensions {
...DataPipelineAppliedExtensionFragment
}
changeHistory
configuration {
...DataPipeLineConfigurationFragment
}
creditUsed
dateCreated
dateLastSyncCompleted
dateUpdated
destination {
...DestinationFragment
}
errorDetails {
...PipelineErrorDetailsFragment
}
executionName
extensionCount
funnelTerms
hasInitAnalysis
isArchived
isDeleted
isTitleAutoGenerated
jobType
log {
...DataPipeLineLogFragment
}
notifyConfig {
...NotifyConfigFragment
}
notifyEmail
notifySlack
notifyZapier
report
revisions
sortKey
source {
...DataSourceFragment
}
status
title
totalRowsLoaded
}
}
{"input": DataPipeLineInput}
Response
{
"data": {
"updateDataPipeLine": {
"accountId": "xyz789",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "xyz789",
"configuration": DataPipeLineConfiguration,
"creditUsed": 123,
"dateCreated": "xyz789",
"dateLastSyncCompleted": "abc123",
"dateUpdated": "abc123",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "xyz789",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": true,
"isArchived": true,
"isDeleted": false,
"isTitleAutoGenerated": true,
"jobType": "abc123",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyZapier": false,
"report": AWSJSON,
"revisions": 987,
"sortKey": "xyz789",
"source": DataSource,
"status": "xyz789",
"title": "abc123",
"totalRowsLoaded": 123
}
}
}
updateFirstPromoter
updateFirstPromoterResponse
| Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
email -
String!
|
|
tid -
String!
|
Example
Query
mutation updateFirstPromoter($accountId: String!, $cognitoUserId: String!, $email: String!, $tid: String!) {
updateFirstPromoter(accountId: $accountId, cognitoUserId: $cognitoUserId, email: $email, tid: $tid) {
success
}
}
Variables
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"email": "abc123",
"tid": "abc123"
}
mutation updateFirstPromoter($accountId: String!, $cognitoUserId: String!, $email: String!, $tid: String!) {
updateFirstPromoter(accountId: $accountId, cognitoUserId: $cognitoUserId, email: $email, tid: $tid) {
success
}
}
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"email": "abc123",
"tid": "abc123"
}
Response
{"data": {"updateFirstPromoter": {"success": false}}}
updateKPI
Example
Query
mutation updateKPI($input: UpdateKPIInput) {
updateKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
Variables
{"input": UpdateKPIInput}
mutation updateKPI($input: UpdateKPIInput) {
updateKPI(input: $input) {
accountId
advancedSettings
changeHistory
client {
...ClientFragment
}
clientId
clientName
commentCount
comments(lastCommentTimestamp: $lastCommentTimestamp, limit: $limit) {
...CommentFragment
}
configuration {
...KPIConfigurationFragment
}
connectionStatus
dateCreated
dateUpdated
history
id
isArchived
isDeleted
jobStatus
jobType
notifyConfig {
...NotifyConfigFragment
}
notifySchedEmail
notifySchedSlack
notifySchedWebhook
report {
...KPIReportFragment
}
revisions
schedEmail
schedSlack
schedWebhook
service
sortKey
title
user {
...UserFragment
}
userId
watchList
webhookEvents
webhookURL
}
}
{"input": UpdateKPIInput}
Response
{
"data": {
"updateKPI": {
"accountId": "abc123",
"advancedSettings": AWSJSON,
"changeHistory": "xyz789",
"client": Client,
"clientId": "xyz789",
"clientName": "abc123",
"commentCount": 987,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"history": AWSJSON,
"id": "abc123",
"isArchived": true,
"isDeleted": false,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "abc123",
"report": KPIReport,
"revisions": 123,
"schedEmail": "xyz789",
"schedSlack": "xyz789",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"user": User,
"userId": "xyz789",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
}
}
updateLabel
Example
Query
mutation updateLabel($input: UpdateLabelInput) {
updateLabel(input: $input) {
accountId
clientList
label
revisions
selected
sortKey
}
}
Variables
{"input": UpdateLabelInput}
mutation updateLabel($input: UpdateLabelInput) {
updateLabel(input: $input) {
accountId
clientList
label
revisions
selected
sortKey
}
}
{"input": UpdateLabelInput}
Response
{
"data": {
"updateLabel": {
"accountId": "xyz789",
"clientList": ["xyz789"],
"label": "xyz789",
"revisions": 123,
"selected": true,
"sortKey": "xyz789"
}
}
}
updatePipelineExtension
Example
Query
mutation updatePipelineExtension($input: PipelineExtensionInput) {
updatePipelineExtension(input: $input) {
accountId
extensionId
pipelineId
properties {
...PipelineExtensionPropertiesFragment
}
}
}
Variables
{"input": PipelineExtensionInput}
mutation updatePipelineExtension($input: PipelineExtensionInput) {
updatePipelineExtension(input: $input) {
accountId
extensionId
pipelineId
properties {
...PipelineExtensionPropertiesFragment
}
}
}
{"input": PipelineExtensionInput}
Response
{
"data": {
"updatePipelineExtension": {
"accountId": "xyz789",
"extensionId": "xyz789",
"pipelineId": "abc123",
"properties": [PipelineExtensionProperties]
}
}
}
userCreate
Example
Query
mutation userCreate($accountId: String, $email: String, $password: String) {
userCreate(accountId: $accountId, email: $email, password: $password) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
Variables
{"accountId": "abc123", "email": "xyz789", "password": "xyz789"}
mutation userCreate($accountId: String, $email: String, $password: String) {
userCreate(accountId: $accountId, email: $email, password: $password) {
accountId
accountType
betaAccess
clientId
clientList
cubeToken
dateCreated
dateUpdated
domain
hasCard
inProgress
logo
name
revisions
sortKey
status
timezone
totalAnomalies
totalBudgets
totalClients
totalKpis
transactionStatus
weekStart
zapierWebHook
}
}
{"accountId": "abc123", "email": "xyz789", "password": "xyz789"}
Response
{
"data": {
"userCreate": {
"accountId": "abc123",
"accountType": "xyz789",
"betaAccess": true,
"clientId": "abc123",
"clientList": ["abc123"],
"cubeToken": "xyz789",
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"domain": "xyz789",
"hasCard": true,
"inProgress": false,
"logo": "xyz789",
"name": "abc123",
"revisions": 123,
"sortKey": "abc123",
"status": "abc123",
"timezone": "xyz789",
"totalAnomalies": 123,
"totalBudgets": 123,
"totalClients": 987,
"totalKpis": 987,
"transactionStatus": "abc123",
"weekStart": "abc123",
"zapierWebHook": AWSJSON
}
}
}
userInvite
Example
Query
mutation userInvite($input: UserInviteInput) {
userInvite(input: $input) {
acceptedInvite
accountId
dateCreated
dateUpdated
email
firstName
isDeleted
isPrimary
lastName
logo
newPassword
sortKey
status
tempPassword
userId
}
}
Variables
{"input": UserInviteInput}
mutation userInvite($input: UserInviteInput) {
userInvite(input: $input) {
acceptedInvite
accountId
dateCreated
dateUpdated
email
firstName
isDeleted
isPrimary
lastName
logo
newPassword
sortKey
status
tempPassword
userId
}
}
{"input": UserInviteInput}
Response
{
"data": {
"userInvite": {
"acceptedInvite": false,
"accountId": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"email": "abc123",
"firstName": "xyz789",
"isDeleted": true,
"isPrimary": true,
"lastName": "xyz789",
"logo": "xyz789",
"newPassword": "abc123",
"sortKey": "abc123",
"status": "abc123",
"tempPassword": "xyz789",
"userId": "abc123"
}
}
}
userPasswordChange
Example
Query
mutation userPasswordChange($input: UserPasswordChangeInput) {
userPasswordChange(input: $input) {
accountId
}
}
Variables
{"input": UserPasswordChangeInput}
mutation userPasswordChange($input: UserPasswordChangeInput) {
userPasswordChange(input: $input) {
accountId
}
}
{"input": UserPasswordChangeInput}
Response
{"data": {"userPasswordChange": {"accountId": "abc123"}}}
userResendInvite
Example
Query
mutation userResendInvite($input: UserResendInviteInput) {
userResendInvite(input: $input) {
accountId
email
name
userId
}
}
Variables
{"input": UserResendInviteInput}
mutation userResendInvite($input: UserResendInviteInput) {
userResendInvite(input: $input) {
accountId
email
name
userId
}
}
{"input": UserResendInviteInput}
Response
{
"data": {
"userResendInvite": {
"accountId": "abc123",
"email": "xyz789",
"name": "xyz789",
"userId": "xyz789"
}
}
}
userUpload
Example
Query
mutation userUpload($input: UserUploadInput) {
userUpload(input: $input) {
id
url
}
}
Variables
{"input": UserUploadInput}
mutation userUpload($input: UserUploadInput) {
userUpload(input: $input) {
id
url
}
}
{"input": UserUploadInput}
Response
{"data": {"userUpload": {"id": "xyz789", "url": "abc123"}}}
watchList
Example
Query
mutation watchList($input: WatchListInput) {
watchList(input: $input) {
accountId
items
sortKey
}
}
Variables
{"input": WatchListInput}
mutation watchList($input: WatchListInput) {
watchList(input: $input) {
accountId
items
sortKey
}
}
{"input": WatchListInput}
Response
{
"data": {
"watchList": {
"accountId": "abc123",
"items": ["abc123"],
"sortKey": "xyz789"
}
}
}
zapierWebhookSubscribe
Example
Query
mutation zapierWebhookSubscribe($input: inputZapierWebhookSubscribe) {
zapierWebhookSubscribe(input: $input) {
accountId
successful
}
}
Variables
{"input": inputZapierWebhookSubscribe}
mutation zapierWebhookSubscribe($input: inputZapierWebhookSubscribe) {
zapierWebhookSubscribe(input: $input) {
accountId
successful
}
}
{"input": inputZapierWebhookSubscribe}
Response
{
"data": {
"zapierWebhookSubscribe": {"accountId": "xyz789", "successful": true}
}
}
zapierWebhookUnSubscribe
Example
Query
mutation zapierWebhookUnSubscribe($input: inputZapierWebhookUnSubscribe) {
zapierWebhookUnSubscribe(input: $input) {
accountId
isDeleted
}
}
Variables
{"input": inputZapierWebhookUnSubscribe}
mutation zapierWebhookUnSubscribe($input: inputZapierWebhookUnSubscribe) {
zapierWebhookUnSubscribe(input: $input) {
accountId
isDeleted
}
}
{"input": inputZapierWebhookUnSubscribe}
Response
{
"data": {
"zapierWebhookUnSubscribe": {"accountId": "abc123", "isDeleted": true}
}
}
Types
ACCESS_CONTROL_PROVIDER
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Account
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountType -
String
|
|
betaAccess -
Boolean
|
|
clientId -
String
|
|
clientList -
[String]
|
|
cubeToken -
String
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
domain -
String
|
|
hasCard -
Boolean
|
|
inProgress -
Boolean
|
|
logo -
String
|
|
name -
String
|
|
revisions -
Int
|
|
sortKey -
String
|
|
status -
String
|
|
timezone -
String
|
|
totalAnomalies -
Int
|
|
totalBudgets -
Int
|
|
totalClients -
Int
|
|
totalKpis -
Int
|
|
transactionStatus -
String
|
|
weekStart -
String
|
|
zapierWebHook -
AWSJSON
|
Example
{
"accountId": "abc123",
"accountType": "xyz789",
"betaAccess": false,
"clientId": "xyz789",
"clientList": ["xyz789"],
"cubeToken": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"domain": "xyz789",
"hasCard": false,
"inProgress": true,
"logo": "abc123",
"name": "xyz789",
"revisions": 123,
"sortKey": "xyz789",
"status": "abc123",
"timezone": "xyz789",
"totalAnomalies": 987,
"totalBudgets": 123,
"totalClients": 987,
"totalKpis": 987,
"transactionStatus": "abc123",
"weekStart": "xyz789",
"zapierWebHook": AWSJSON
}
AccountAddOns
| Field Name | Description |
|---|---|
accountId -
String
|
|
addOnId -
String
|
|
details -
[AddOnPack]
|
Example
{
"accountId": "abc123",
"addOnId": "abc123",
"details": [AddOnPack]
}
AccountConnection
| Field Name | Description |
|---|---|
accountId -
String
|
|
authStatus -
CONNECTION_STATUS
|
|
clientList -
[String]
|
|
domain -
String
|
|
email -
String
|
|
isClientConnected -
Boolean
|
|
isCompleted -
Boolean
|
|
oauthType -
String
|
|
scopes -
[String]
|
|
sortKey -
String
|
|
teamId -
String
|
|
teamName -
String
|
|
url -
String
|
|
userId -
String
|
|
username -
String
|
Example
{
"accountId": "abc123",
"authStatus": CONNECTION_STATUS,
"clientList": ["abc123"],
"domain": "xyz789",
"email": "xyz789",
"isClientConnected": false,
"isCompleted": true,
"oauthType": "xyz789",
"scopes": ["xyz789"],
"sortKey": "xyz789",
"teamId": "xyz789",
"teamName": "xyz789",
"url": "xyz789",
"userId": "xyz789",
"username": "abc123"
}
AccountConnectionCreateInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
oauthType -
OAUTH_TYPE!
|
|
scopes -
[String!]!
|
|
sortKey -
String
|
|
userId -
String
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"oauthType": OAUTH_TYPE,
"scopes": ["abc123"],
"sortKey": "abc123",
"userId": "abc123"
}
AccountConnectionItems
| Field Name | Description |
|---|---|
items -
[AccountConnection]
|
|
nextToken -
String
|
|
scannedCount -
Int
|
Example
{
"items": [AccountConnection],
"nextToken": "xyz789",
"scannedCount": 123
}
AccountInvoices
| Field Name | Description |
|---|---|
accountId -
String
|
|
invoices -
[AccountInvoice]
|
Example
{"accountId": "abc123", "invoices": [AccountInvoice]}
AccountPreference
| Field Name | Description |
|---|---|
budgets -
BudgetPreference
|
|
dataWarehouse -
DataWarehouse
|
|
insights -
InsightPreference
|
|
kpis -
KpiPreference
|
|
revision -
Int
|
Example
{
"budgets": BudgetPreference,
"dataWarehouse": DataWarehouse,
"insights": InsightPreference,
"kpis": KpiPreference,
"revision": 123
}
AccountSignUpInput
| Input Field | Description |
|---|---|
accountName -
String!
|
|
accountType -
ACCOUNT_TYPE!
|
|
email -
String!
|
|
fullName -
String!
|
|
password -
String!
|
Example
{
"accountName": "xyz789",
"accountType": ACCOUNT_TYPE,
"email": "xyz789",
"fullName": "xyz789",
"password": "abc123"
}
AccountUploadInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
logo -
LogoInput!
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"logo": LogoInput
}
AdsCampaignFilterInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
filters -
AdsCampaignLabelInput
|
|
source -
AdsCampaignSource
|
Example
{
"accountId": "abc123",
"clientId": "abc123",
"filters": AdsCampaignLabelInput,
"source": AdsCampaignSource
}
AdsCampaignLabelInput
| Input Field | Description |
|---|---|
campaign -
CampaignFilterInput
|
|
label -
LabelFilterInput
|
Example
{
"campaign": CampaignFilterInput,
"label": LabelFilterInput
}
AdsCampaignSource
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AdsCampaigns
| Field Name | Description |
|---|---|
advertisingChannelType -
String
|
|
baseCampaign -
String
|
|
campaignBudget -
String
|
|
endDate -
String
|
|
id -
String
|
|
name -
String
|
|
servingStatus -
String
|
|
startDate -
String
|
|
status -
String
|
Example
{
"advertisingChannelType": "abc123",
"baseCampaign": "abc123",
"campaignBudget": "xyz789",
"endDate": "xyz789",
"id": "xyz789",
"name": "abc123",
"servingStatus": "xyz789",
"startDate": "abc123",
"status": "abc123"
}
Anomaly
| Field Name | Description |
|---|---|
accountId -
String
|
|
authId -
String
|
|
changeHistory -
String
|
|
clientId -
String
|
|
clientName -
String
|
|
commentCount -
Int
|
|
configuration -
AnomalyConfiguration
|
|
connectionStatus -
String
|
|
dateCreated -
String
|
|
dateLastInsightCreated -
String
|
|
dateLastRun -
String
|
|
dateUpdated -
String
|
|
errorDetails -
PipelineErrorDetails
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
jobStatus -
ANOMALY_STATUS
|
|
jobType -
String
|
|
notifyConfig -
NotifyConfig
|
|
notifyEmail -
Boolean
|
|
notifySlack -
Boolean
|
|
notifyWebhook -
Boolean
|
|
report -
AnomalyReport
|
|
revisions -
Int
|
|
schedWebhook -
String
|
|
service -
SERVICE
|
|
sortKey -
String
|
|
title -
String
|
|
userId -
String
|
|
watchList -
[String]
|
|
webhookURL -
String
|
Example
{
"accountId": "abc123",
"authId": "abc123",
"changeHistory": "abc123",
"clientId": "xyz789",
"clientName": "xyz789",
"commentCount": 123,
"configuration": AnomalyConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateLastInsightCreated": "abc123",
"dateLastRun": "xyz789",
"dateUpdated": "abc123",
"errorDetails": PipelineErrorDetails,
"isArchived": false,
"isDeleted": false,
"jobStatus": ANOMALY_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifyEmail": true,
"notifySlack": true,
"notifyWebhook": false,
"report": AnomalyReport,
"revisions": 987,
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "xyz789",
"title": "xyz789",
"userId": "xyz789",
"watchList": ["abc123"],
"webhookURL": "abc123"
}
AnomalyAdvanceSettings
| Field Name | Description |
|---|---|
longTerm -
Boolean!
|
|
maxAnomRatio -
Float!
|
|
median -
Int!
|
|
scheduleTime -
String!
|
|
scheduleTimeZone -
String!
|
|
sensitivity -
String!
|
|
threshold -
ANOMALY_THRESHOLD!
|
Example
{
"longTerm": true,
"maxAnomRatio": 987.65,
"median": 987,
"scheduleTime": "abc123",
"scheduleTimeZone": "abc123",
"sensitivity": "xyz789",
"threshold": ANOMALY_THRESHOLD
}
AnomalyAdvanceSettingsInput
| Input Field | Description |
|---|---|
longTerm -
Boolean!
|
|
maxAnomRatio -
Float!
|
|
median -
Int!
|
|
scheduleTime -
String!
|
|
scheduleTimeZone -
String!
|
|
sensitivity -
String!
|
|
threshold -
ANOMALY_THRESHOLD!
|
Example
{
"longTerm": false,
"maxAnomRatio": 987.65,
"median": 123,
"scheduleTime": "abc123",
"scheduleTimeZone": "abc123",
"sensitivity": "xyz789",
"threshold": ANOMALY_THRESHOLD
}
AnomalyConfiguration
| Field Name | Description |
|---|---|
advancedSettings -
AnomalyAdvanceSettings
|
|
allCampaigns -
Boolean
|
|
campaignFilters -
AWSJSON
|
|
campaignIds -
[String]
|
|
isTitleAutoGenerated -
Boolean
|
|
spreadsheetDetails -
GoogleSpreadsheetOutput
|
|
targetDirection -
ANOMALY_DIRECTION!
|
|
targetFrequency -
TIME_PERIOD!
|
|
targetLongTerm -
Boolean!
|
|
targetMaxAnom -
Float!
|
|
targetMedian -
Int!
|
|
targetMetricId -
String!
|
|
targetMetricName -
String!
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetSensitivity -
Float!
|
|
targetThreshold -
ANOMALY_THRESHOLD!
|
|
targetTimeInterval -
String
|
|
targetTimePeriod -
TIME_PERIOD!
|
Example
{
"advancedSettings": AnomalyAdvanceSettings,
"allCampaigns": false,
"campaignFilters": AWSJSON,
"campaignIds": ["xyz789"],
"isTitleAutoGenerated": true,
"spreadsheetDetails": GoogleSpreadsheetOutput,
"targetDirection": ANOMALY_DIRECTION,
"targetFrequency": TIME_PERIOD,
"targetLongTerm": false,
"targetMaxAnom": 123.45,
"targetMedian": 123,
"targetMetricId": "abc123",
"targetMetricName": "abc123",
"targetSegmentId": "abc123",
"targetSegmentName": "abc123",
"targetSensitivity": 123.45,
"targetThreshold": ANOMALY_THRESHOLD,
"targetTimeInterval": "abc123",
"targetTimePeriod": TIME_PERIOD
}
AnomalyConfigurationInput
| Field Name | Description |
|---|---|
advancedSettings -
AnomalyAdvanceSettingsInput
|
|
allCampaigns -
Boolean
|
|
campaignFilters -
AWSJSON
|
|
campaignIds -
[String]
|
|
isTitleAutoGenerated -
Boolean
|
|
spreadsheetDetails -
GoogleSpreadsheetInput
|
|
targetDirection -
ANOMALY_DIRECTION!
|
|
targetFrequency -
TIME_PERIOD!
|
|
targetLongTerm -
Boolean
|
|
targetMaxAnom -
Float
|
|
targetMedian -
Int
|
|
targetMetricId -
String
|
|
targetMetricName -
String
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetSensitivity -
Float
|
|
targetThreshold -
ANOMALY_THRESHOLD
|
|
targetTimeInterval -
String
|
|
targetTimePeriod -
TIME_PERIOD!
|
|
title -
String
|
Example
{
"advancedSettings": AnomalyAdvanceSettingsInput,
"allCampaigns": true,
"campaignFilters": AWSJSON,
"campaignIds": ["abc123"],
"isTitleAutoGenerated": false,
"spreadsheetDetails": GoogleSpreadsheetInput,
"targetDirection": ANOMALY_DIRECTION,
"targetFrequency": TIME_PERIOD,
"targetLongTerm": false,
"targetMaxAnom": 123.45,
"targetMedian": 123,
"targetMetricId": "abc123",
"targetMetricName": "abc123",
"targetSegmentId": "xyz789",
"targetSegmentName": "xyz789",
"targetSensitivity": 987.65,
"targetThreshold": ANOMALY_THRESHOLD,
"targetTimeInterval": "xyz789",
"targetTimePeriod": TIME_PERIOD,
"title": "abc123"
}
AnomalyConnection
| Field Name | Description |
|---|---|
count -
Int
|
|
currentAccountSubscriptionValue -
Int
|
|
isNearSubscriptionLimit -
Boolean
|
|
items -
[Anomaly]
|
|
nextToken -
String
|
|
scannedCount -
Int
|
|
totalSubscription -
Int
|
Example
{
"count": 987,
"currentAccountSubscriptionValue": 123,
"isNearSubscriptionLimit": true,
"items": [Anomaly],
"nextToken": "xyz789",
"scannedCount": 123,
"totalSubscription": 123
}
AnomalyInput
| Input Field | Description |
|---|---|
accountId -
String
|
|
anomalySortKey -
String
|
|
authEmail -
String
|
|
authId -
String
|
|
clientId -
String
|
|
cognitoUserId -
String!
|
|
configuration -
AnomalyConfigurationInput!
|
|
notifyConfig -
notifyConfigInput
|
|
notifyEmail -
Boolean
|
|
notifySlack -
Boolean
|
|
notifyWebhook -
Boolean
|
|
revisions -
Int
|
|
schedWebhook -
String
|
|
service -
SERVICE!
|
|
title -
String!
|
|
utcTimeInterval -
String
|
|
webhookURL -
String
|
Example
{
"accountId": "abc123",
"anomalySortKey": "xyz789",
"authEmail": "abc123",
"authId": "abc123",
"clientId": "abc123",
"cognitoUserId": "abc123",
"configuration": AnomalyConfigurationInput,
"notifyConfig": notifyConfigInput,
"notifyEmail": false,
"notifySlack": true,
"notifyWebhook": false,
"revisions": 987,
"schedWebhook": "xyz789",
"service": SERVICE,
"title": "abc123",
"utcTimeInterval": "abc123",
"webhookURL": "abc123"
}
AnomalyPreviewConfigurationInput
| Input Field | Description |
|---|---|
accountId -
ID!
|
|
appEnv -
APP_ENV
|
|
authEmail -
String
|
|
authId -
String!
|
|
clientId -
ID!
|
|
configuration -
AnomalyConfigurationInput!
|
|
service -
SERVICE!
|
Example
{
"accountId": ID,
"appEnv": APP_ENV,
"authEmail": "abc123",
"authId": "xyz789",
"clientId": ID,
"configuration": AnomalyConfigurationInput,
"service": SERVICE
}
AnomalyPreviewReportInput
| Field Name | Description |
|---|---|
anomalies -
[AnomalyInputTable]!
|
|
graphData -
AnomalyGraphDataReportInput
|
Example
{
"anomalies": [AnomalyInputTable],
"graphData": AnomalyGraphDataReportInput
}
AnomalyPreviewReportResultInput
| Input Field | Description |
|---|---|
errorMessage -
AWSJSON
|
|
id -
ID!
|
|
message -
String
|
|
report -
AnomalyPreviewReportInput
|
|
stage -
AnomalyPreviewStage!
|
|
status -
AnomalyPreviewStatus!
|
Example
{
"errorMessage": AWSJSON,
"id": ID,
"message": "abc123",
"report": AnomalyPreviewReportInput,
"stage": AnomalyPreviewStage,
"status": AnomalyPreviewStatus
}
AnomalyPreviewResponse
| Field Name | Description |
|---|---|
errorMessage -
AWSJSON
|
|
executionArn -
String
|
|
id -
ID!
|
|
message -
String
|
|
report -
AnomalyReport
|
|
stage -
AnomalyPreviewStage!
|
|
status -
AnomalyPreviewStatus!
|
Example
{
"errorMessage": AWSJSON,
"executionArn": "abc123",
"id": ID,
"message": "xyz789",
"report": AnomalyReport,
"stage": AnomalyPreviewStage,
"status": AnomalyPreviewStatus
}
AnomalyPreviewStatus
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AnomalyReport
| Field Name | Description |
|---|---|
anomalies -
[AnomalyTable]
|
|
graphData -
AnomalyGraphDataReport
|
Example
{
"anomalies": [AnomalyTable],
"graphData": AnomalyGraphDataReport
}
Automation
| Field Name | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
clientName -
String
|
|
cognitoUserId -
String!
|
|
configuration -
AWSJSON
|
|
connectionStatus -
String
|
|
dateLastInsightCreated -
String
|
|
dateLastRun -
String
|
|
executionArn -
String
|
|
gmbLocationId -
String
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
jobId -
String
|
|
jobStatus -
ANOMALY_STATUS
|
|
jobType -
String
|
|
notifyConfig -
NotifyConfig
|
|
notifyEmail -
Boolean
|
|
notifySlack -
Boolean
|
|
notifyWebhook -
Boolean
|
|
revisions -
Int
|
|
service -
SERVICE
|
|
sortKey -
String
|
|
title -
String
|
|
webhookURL -
String
|
Example
{
"accountId": "xyz789",
"clientId": "abc123",
"clientName": "xyz789",
"cognitoUserId": "abc123",
"configuration": AWSJSON,
"connectionStatus": "xyz789",
"dateLastInsightCreated": "xyz789",
"dateLastRun": "abc123",
"executionArn": "abc123",
"gmbLocationId": "abc123",
"isArchived": false,
"isDeleted": true,
"jobId": "xyz789",
"jobStatus": ANOMALY_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": false,
"notifyWebhook": false,
"revisions": 123,
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"webhookURL": "xyz789"
}
AutomationInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
appEnv -
APP_ENV
|
|
clientId -
String!
|
|
cognitoUserId -
String!
|
|
configuration -
AWSJSON
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
jobId -
String
|
|
jobStatus -
String
|
|
jobType -
String
|
|
notifyConfig -
notifyConfigInput
|
|
notifyEmail -
Boolean
|
|
notifySlack -
Boolean
|
|
notifyWebhook -
Boolean
|
|
notifyZapier -
Boolean
|
|
revisions -
Int
|
|
schedWebhook -
String
|
|
service -
String!
|
|
sortKey -
String
|
|
title -
String
|
|
webhookURL -
String
|
Example
{
"accountId": "abc123",
"appEnv": APP_ENV,
"clientId": "xyz789",
"cognitoUserId": "xyz789",
"configuration": AWSJSON,
"isArchived": true,
"isDeleted": true,
"jobId": "xyz789",
"jobStatus": "xyz789",
"jobType": "xyz789",
"notifyConfig": notifyConfigInput,
"notifyEmail": true,
"notifySlack": false,
"notifyWebhook": false,
"notifyZapier": false,
"revisions": 123,
"schedWebhook": "xyz789",
"service": "xyz789",
"sortKey": "xyz789",
"title": "abc123",
"webhookURL": "xyz789"
}
BUDGET_PREVIEW_STATUS
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Budget
| Field Name | Description |
|---|---|
accountId -
String
|
|
authEmail -
String
|
|
changeHistory -
String
|
|
client -
Client
|
|
clientId -
String
|
|
clientName -
String
|
|
commentCount -
Int
|
|
comments -
[Comment]
|
|
configuration -
BudgetConfiguration
|
|
connectionStatus -
String
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
history -
AWSJSON
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
jobStatus -
REPORT_STATUS
|
|
jobType -
String
|
|
notifyConfig -
NotifyConfig
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
plannerData -
[plannerMapDetails]
|
|
report -
BudgetReport
|
|
revisions -
Int
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
service -
SERVICE
|
|
sortKey -
String
|
|
title -
String
|
|
user -
User
|
|
userId -
String
|
|
watchList -
[String]
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
|
Example
{
"accountId": "xyz789",
"authEmail": "xyz789",
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "xyz789",
"commentCount": 987,
"comments": [Comment],
"configuration": BudgetConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"history": AWSJSON,
"isArchived": false,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "abc123",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "abc123",
"plannerData": [plannerMapDetails],
"report": BudgetReport,
"revisions": 987,
"schedEmail": "abc123",
"schedSlack": "xyz789",
"schedWebhook": "xyz789",
"service": SERVICE,
"sortKey": "abc123",
"title": "abc123",
"user": User,
"userId": "xyz789",
"watchList": ["xyz789"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
BudgetConfiguration
| Field Name | Description |
|---|---|
allCampaigns -
Boolean
|
|
campaignIds -
[String]
|
|
duration -
Int
|
|
excludeBudgetSummary -
Boolean
|
|
filters -
GAdsFilter
|
|
graphType -
GRAPH_TYPE!
|
|
isTitleAutoGenerated -
Boolean
|
|
missingValueHandling -
String
|
|
period -
BUDGET_PERIOD!
|
|
rollOverAmount -
Float
|
|
rollOverStatus -
Boolean
|
|
spreadsheetDetails -
BudgetSpreadSheetDetails
|
|
startDate -
String
|
|
target -
Float!
|
Example
{
"allCampaigns": true,
"campaignIds": ["abc123"],
"duration": 123,
"excludeBudgetSummary": false,
"filters": GAdsFilter,
"graphType": GRAPH_TYPE,
"isTitleAutoGenerated": true,
"missingValueHandling": "abc123",
"period": BUDGET_PERIOD,
"rollOverAmount": 987.65,
"rollOverStatus": false,
"spreadsheetDetails": BudgetSpreadSheetDetails,
"startDate": "abc123",
"target": 987.65
}
BudgetConfigurationInput
| Field Name | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
allCampaigns -
Boolean
|
|
campaignIds -
[String]
|
|
currency -
String
|
|
duration -
Int
|
|
excludeBudgetSummary -
Boolean
|
|
filters -
GAdsFilterInput
|
|
graphType -
GRAPH_TYPE!
|
|
isTitleAutoGenerated -
Boolean
|
|
missingValueHandling -
MISSING_VALUE_HANDLING_OPTIONS
|
|
period -
BUDGET_PERIOD!
|
|
rollOverAmount -
Float
|
|
rollOverStatus -
Boolean
|
|
spreadsheetDetails -
BudgetGoogleSpreadsheetInput
|
|
startDate -
String
|
|
target -
Float!
|
Example
{
"advancedSettings": AWSJSON,
"allCampaigns": true,
"campaignIds": ["xyz789"],
"currency": "xyz789",
"duration": 987,
"excludeBudgetSummary": true,
"filters": GAdsFilterInput,
"graphType": GRAPH_TYPE,
"isTitleAutoGenerated": true,
"missingValueHandling": MISSING_VALUE_HANDLING_OPTIONS,
"period": BUDGET_PERIOD,
"rollOverAmount": 123.45,
"rollOverStatus": false,
"spreadsheetDetails": BudgetGoogleSpreadsheetInput,
"startDate": "abc123",
"target": 123.45
}
BudgetConnection
| Field Name | Description |
|---|---|
count -
Int
|
|
currentAccountSubscriptionValue -
Int
|
|
isNearSubscriptionLimit -
Boolean
|
|
items -
[Budget]
|
|
nextToken -
String
|
|
scannedCount -
Int
|
|
totalSubscription -
Int
|
Example
{
"count": 123,
"currentAccountSubscriptionValue": 987,
"isNearSubscriptionLimit": true,
"items": [Budget],
"nextToken": "xyz789",
"scannedCount": 123,
"totalSubscription": 123
}
BudgetGSpreadsheetPreviewReportResultInput
| Input Field | Description |
|---|---|
id -
ID!
|
|
message -
String
|
|
report -
KPIGSpreadsheetReportInput
|
|
stage -
PREVIEW_STAGE!
|
|
status -
BUDGET_PREVIEW_STATUS!
|
Example
{
"id": ID,
"message": "xyz789",
"report": KPIGSpreadsheetReportInput,
"stage": PREVIEW_STAGE,
"status": BUDGET_PREVIEW_STATUS
}
BudgetGSpreadsheetPreviewResult
| Field Name | Description |
|---|---|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
KPIGSpreadsheetReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
BUDGET_PREVIEW_STATUS
|
Example
{
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGSpreadsheetReport,
"stage": PREVIEW_STAGE,
"status": BUDGET_PREVIEW_STATUS
}
BudgetGoogleSpreadsheetInput
| Field Name | Description |
|---|---|
budgetColumn -
String
|
|
dateColumn -
String
|
|
driveId -
String
|
|
driveLabel -
String
|
|
email -
String
|
|
spreadsheetId -
String
|
|
spreadsheetLabel -
String
|
|
validDates -
[SpreadsheetColumnInput]
|
|
validMetrics -
[SpreadsheetColumnInput]
|
|
worksheetId -
String
|
|
worksheetLabel -
String
|
Example
{
"budgetColumn": "xyz789",
"dateColumn": "xyz789",
"driveId": "xyz789",
"driveLabel": "xyz789",
"email": "abc123",
"spreadsheetId": "abc123",
"spreadsheetLabel": "xyz789",
"validDates": [SpreadsheetColumnInput],
"validMetrics": [SpreadsheetColumnInput],
"worksheetId": "abc123",
"worksheetLabel": "abc123"
}
BudgetInput
| Field Name | Description |
|---|---|
accountId -
String
|
|
authEmail -
String
|
|
budgetSortKey -
String
|
|
clientId -
String
|
|
cognitoUserId -
String!
|
|
configuration -
BudgetConfigurationInput!
|
|
executionArn -
String!
|
|
isTitleAutoGenerated -
Boolean!
|
|
notifyConfig -
notifyConfigInput
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
service -
SERVICE!
|
|
title -
String!
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
Example
{
"accountId": "xyz789",
"authEmail": "xyz789",
"budgetSortKey": "abc123",
"clientId": "abc123",
"cognitoUserId": "xyz789",
"configuration": BudgetConfigurationInput,
"executionArn": "xyz789",
"isTitleAutoGenerated": false,
"notifyConfig": notifyConfigInput,
"notifySchedEmail": "abc123",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"schedEmail": "xyz789",
"schedSlack": "abc123",
"schedWebhook": "abc123",
"service": SERVICE,
"title": "abc123",
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "xyz789"
}
BudgetPreviewConfigurationInput
| Field Name | Description |
|---|---|
accessToken -
String
|
|
accountId -
String!
|
|
allCampaigns -
Boolean
|
|
appEnv -
APP_ENV
|
|
authEmail -
String!
|
|
authId -
String
|
|
campaignIds -
[String]
|
|
clientId -
String!
|
|
configuration -
BudgetConfigurationInput
|
|
duration -
Int
|
|
graphType -
GRAPH_TYPE!
|
|
isPreview -
Boolean!
|
|
isTitleAutoGenerated -
Boolean
|
|
period -
BUDGET_PERIOD!
|
|
postMutation -
Boolean
|
|
rollOverAmount -
Float
|
|
rollOverStatus -
Boolean
|
|
service -
SERVICE!
|
|
startDate -
String
|
|
status -
String
|
|
target -
String!
|
Example
{
"accessToken": "abc123",
"accountId": "abc123",
"allCampaigns": false,
"appEnv": APP_ENV,
"authEmail": "abc123",
"authId": "abc123",
"campaignIds": ["abc123"],
"clientId": "xyz789",
"configuration": BudgetConfigurationInput,
"duration": 987,
"graphType": GRAPH_TYPE,
"isPreview": false,
"isTitleAutoGenerated": true,
"period": BUDGET_PERIOD,
"postMutation": false,
"rollOverAmount": 123.45,
"rollOverStatus": false,
"service": SERVICE,
"startDate": "xyz789",
"status": "xyz789",
"target": "xyz789"
}
BudgetPreviewInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
authEmail -
String!
|
|
authId -
String
|
|
clientId -
String!
|
|
configuration -
BudgetConfigurationInput
|
|
isPreview -
Boolean!
|
|
isTitleAutoGenerated -
Boolean
|
|
postMutation -
Boolean
|
|
service -
SERVICE!
|
|
status -
String
|
Example
{
"accountId": "abc123",
"authEmail": "abc123",
"authId": "abc123",
"clientId": "abc123",
"configuration": BudgetConfigurationInput,
"isPreview": false,
"isTitleAutoGenerated": true,
"postMutation": true,
"service": SERVICE,
"status": "xyz789"
}
BudgetPreviewReportInput
| Input Field | Description |
|---|---|
clicks -
Int
|
|
conversions -
Int
|
|
currency -
String
|
|
dailyTargetAverage -
String
|
|
dateEnd -
String
|
|
dateStart -
String
|
|
daysElapsed -
Int
|
|
daysRemaining -
Int
|
|
estimated -
Float
|
|
estimatedPercent -
Float
|
|
graphDataCumulative -
BudgetGraphDataCumulativeInput
|
|
graphDataSeries -
BudgetGraphDataSeriesInput
|
|
impressions -
Int
|
|
pacing -
Float
|
|
pacingDirection -
BUDGET_PACING
|
|
periodAverageSpend -
Float
|
|
spend -
Float
|
|
spendPercent -
Float
|
|
status -
String
|
Example
{
"clicks": 987,
"conversions": 123,
"currency": "xyz789",
"dailyTargetAverage": "abc123",
"dateEnd": "abc123",
"dateStart": "abc123",
"daysElapsed": 987,
"daysRemaining": 987,
"estimated": 123.45,
"estimatedPercent": 123.45,
"graphDataCumulative": BudgetGraphDataCumulativeInput,
"graphDataSeries": BudgetGraphDataSeriesInput,
"impressions": 987,
"pacing": 987.65,
"pacingDirection": BUDGET_PACING,
"periodAverageSpend": 123.45,
"spend": 987.65,
"spendPercent": 123.45,
"status": "xyz789"
}
BudgetPreviewReportResultInput
| Input Field | Description |
|---|---|
errorMessage -
AWSJSON
|
|
id -
ID!
|
|
message -
String
|
|
report -
BudgetPreviewReportInput
|
|
stage -
PREVIEW_STAGE!
|
|
status -
BudgetPreviewStatus!
|
Example
{
"errorMessage": AWSJSON,
"id": ID,
"message": "abc123",
"report": BudgetPreviewReportInput,
"stage": PREVIEW_STAGE,
"status": BudgetPreviewStatus
}
BudgetPreviewResponse
| Field Name | Description |
|---|---|
errorMessage -
AWSJSON
|
|
executionArn -
String
|
|
id -
ID!
|
|
message -
String
|
|
report -
BudgetReport
|
|
stage -
PREVIEW_STAGE
|
|
status -
BudgetPreviewStatus!
|
Example
{
"errorMessage": AWSJSON,
"executionArn": "abc123",
"id": ID,
"message": "xyz789",
"report": BudgetReport,
"stage": PREVIEW_STAGE,
"status": BudgetPreviewStatus
}
BudgetReport
| Field Name | Description |
|---|---|
adNetworkType -
String
|
|
allConversions -
Float
|
|
chartImage -
String
|
|
clicks -
Int
|
|
conversions -
Int
|
|
currency -
String
|
|
dailyTargetAverage -
String
|
|
dateCreated -
String
|
|
dateEnd -
String
|
|
dateStart -
String
|
|
dateUpdated -
String
|
|
daysElapsed -
Int
|
|
daysRemaining -
Int
|
|
device -
[String]
|
|
estimated -
Float
|
|
estimatedPercent -
Float
|
|
graphDataCumulative -
BudgetGraphCumulative
|
|
graphDataSeries -
BudgetGraphDataSeries
|
|
impressions -
Int
|
|
pacing -
Float
|
|
pacingDirection -
BUDGET_PACING
|
|
periodAverageSpend -
Float
|
|
spend -
Float
|
|
spendPercent -
Float
|
|
status -
String
|
Example
{
"adNetworkType": "xyz789",
"allConversions": 987.65,
"chartImage": "abc123",
"clicks": 987,
"conversions": 123,
"currency": "abc123",
"dailyTargetAverage": "abc123",
"dateCreated": "xyz789",
"dateEnd": "xyz789",
"dateStart": "abc123",
"dateUpdated": "abc123",
"daysElapsed": 123,
"daysRemaining": 987,
"device": ["abc123"],
"estimated": 987.65,
"estimatedPercent": 123.45,
"graphDataCumulative": BudgetGraphCumulative,
"graphDataSeries": BudgetGraphDataSeries,
"impressions": 123,
"pacing": 123.45,
"pacingDirection": BUDGET_PACING,
"periodAverageSpend": 987.65,
"spend": 987.65,
"spendPercent": 987.65,
"status": "xyz789"
}
BudgetSpreadSheetDetails
| Field Name | Description |
|---|---|
budgetColumn -
String
|
|
dateColumn -
String
|
|
driveId -
String
|
|
driveLabel -
String
|
|
email -
String
|
|
spreadsheetId -
String
|
|
spreadsheetLabel -
String
|
|
validDates -
[SpreadsheetColumn]
|
|
validMetrics -
[SpreadsheetColumn]
|
|
worksheetId -
String
|
|
worksheetLabel -
String
|
Example
{
"budgetColumn": "xyz789",
"dateColumn": "xyz789",
"driveId": "abc123",
"driveLabel": "abc123",
"email": "xyz789",
"spreadsheetId": "xyz789",
"spreadsheetLabel": "xyz789",
"validDates": [SpreadsheetColumn],
"validMetrics": [SpreadsheetColumn],
"worksheetId": "abc123",
"worksheetLabel": "xyz789"
}
BudgetSpreadhseetPreviewResponse
| Field Name | Description |
|---|---|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
BudgetReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
BUDGET_PREVIEW_STATUS
|
Example
{
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "xyz789",
"report": BudgetReport,
"stage": PREVIEW_STAGE,
"status": BUDGET_PREVIEW_STATUS
}
BudgetSpreadsheetConfigurationInput
| Input Field | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
currency -
String
|
|
duration -
Int
|
|
graphType -
GRAPH_TYPE!
|
|
missingValueHandling -
MISSING_VALUE_HANDLING_OPTIONS
|
|
period -
BUDGET_PERIOD
|
|
rollOverAmount -
String
|
|
rollOverStatus -
Boolean
|
|
spreadsheetDetails -
BudgetGoogleSpreadsheetInput
|
|
startDate -
String
|
|
target -
Int
|
Example
{
"advancedSettings": AWSJSON,
"currency": "abc123",
"duration": 987,
"graphType": GRAPH_TYPE,
"missingValueHandling": MISSING_VALUE_HANDLING_OPTIONS,
"period": BUDGET_PERIOD,
"rollOverAmount": "abc123",
"rollOverStatus": false,
"spreadsheetDetails": BudgetGoogleSpreadsheetInput,
"startDate": "xyz789",
"target": 123
}
BudgetSpreadsheetPreviewConfigurationInput
| Input Field | Description |
|---|---|
accountId -
ID!
|
|
authEmail -
String!
|
|
clientId -
ID!
|
|
configuration -
BudgetSpreadsheetConfigurationInput
|
|
googleSheets -
String
|
|
isPreview -
Boolean!
|
|
isTitleAutoGenerated -
Boolean
|
|
postMutation -
Boolean
|
|
service -
SERVICE!
|
|
sortKey -
String
|
Example
{
"accountId": ID,
"authEmail": "abc123",
"clientId": ID,
"configuration": BudgetSpreadsheetConfigurationInput,
"googleSheets": "abc123",
"isPreview": false,
"isTitleAutoGenerated": true,
"postMutation": true,
"service": SERVICE,
"sortKey": "xyz789"
}
BulkEditNotificationInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
notifyConfig -
notifyConfigInput
|
|
notifyEmail -
Boolean
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
notifySlack -
Boolean
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
sortKeys -
[String!]
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
Example
{
"accountId": "abc123",
"notifyConfig": notifyConfigInput,
"notifyEmail": true,
"notifySchedEmail": "abc123",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"notifySlack": true,
"schedEmail": "xyz789",
"schedSlack": "xyz789",
"schedWebhook": "xyz789",
"sortKeys": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "xyz789"
}
BulkEditNotificationOutput
| Field Name | Description |
|---|---|
accountId -
String
|
Example
{"accountId": "xyz789"}
Client
| Field Name | Description |
|---|---|
Anomaly -
AnomalyConnection
|
|
Automation -
[Automation]
|
|
Budget -
BudgetConnection!
|
|
Insight -
InsightsConnection
|
|
|
Arguments
|
|
KPI -
KPIConnection
|
|
accountConnectionStatus -
[AccountConnection]
|
|
accountId -
String
|
|
anomalyTotal -
Int
|
|
automationTotal -
Int
|
|
budgetTotal -
Int
|
|
budgets -
TotalBudgetStatus
|
|
connectionStatus -
ClientConnectionServicesStatus
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
domain -
String
|
|
facebookAds -
FacebookAdsConnection
|
|
globalConnectionStatus -
GlobalConnectionStatusENUM
|
|
googleAds -
GoogleAds
|
|
googleAnalytics -
GoogleAnalytics
|
|
googleAnalytics4 -
googleAnalytics4
|
|
googleMyBusiness -
GoogleMyBusiness
|
|
googleSearchConsole -
GoogleSearchConsole
|
|
id -
ID
|
|
insightTotal -
Int
|
|
instagramAds -
InstagramAds
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
kpiTotal -
Int
|
|
kpis -
TotalKPIStatus
|
|
labels -
[Label]
|
|
linkedInAds -
linkedInAds
|
|
logo -
String
|
|
microsoftAds -
microsoftAds
|
|
name -
String
|
|
revisions -
Int
|
|
sortKey -
String
|
|
tiktokAds -
tiktokAds
|
|
twitterAds -
twitterAds
|
|
Example
{
"Anomaly": AnomalyConnection,
"Automation": [Automation],
"Budget": BudgetConnection,
"Insight": InsightsConnection,
"KPI": KPIConnection,
"accountConnectionStatus": [AccountConnection],
"accountId": "abc123",
"anomalyTotal": 123,
"automationTotal": 123,
"budgetTotal": 123,
"budgets": TotalBudgetStatus,
"connectionStatus": ClientConnectionServicesStatus,
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"domain": "xyz789",
"facebookAds": FacebookAdsConnection,
"globalConnectionStatus": GlobalConnectionStatusENUM,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"id": ID,
"insightTotal": 123,
"instagramAds": InstagramAds,
"isArchived": false,
"isDeleted": true,
"kpiTotal": 123,
"kpis": TotalKPIStatus,
"labels": [Label],
"linkedInAds": linkedInAds,
"logo": "xyz789",
"microsoftAds": microsoftAds,
"name": "abc123",
"revisions": 123,
"sortKey": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
ClientConnectionCreateInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
authId -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
facebookAds -
FacebookAdsInput
|
|
googleAds -
GoogleAdsInput
|
|
googleAnalytics -
GoogleAnalyticsInput
|
|
googleAnalytics4 -
GoogleAnalytics4Input
|
|
googleMyBusiness -
GoogleMyBusinessInput
|
|
googleSearchConsole -
GoogleSearchConsoleInput
|
|
instagramAds -
InstagramAdsInput
|
|
linkedInAds -
LinkedInAdsInput
|
|
microsoftAds -
microsoftAdsInput
|
|
tiktokAds -
TiktokAdsInput
|
|
twitterAds -
TwitterAdsInput
|
Example
{
"accountId": "xyz789",
"authId": "xyz789",
"clientId": "abc123",
"cognitoUserId": "abc123",
"facebookAds": FacebookAdsInput,
"googleAds": GoogleAdsInput,
"googleAnalytics": GoogleAnalyticsInput,
"googleAnalytics4": GoogleAnalytics4Input,
"googleMyBusiness": GoogleMyBusinessInput,
"googleSearchConsole": GoogleSearchConsoleInput,
"instagramAds": InstagramAdsInput,
"linkedInAds": LinkedInAdsInput,
"microsoftAds": microsoftAdsInput,
"tiktokAds": TiktokAdsInput,
"twitterAds": TwitterAdsInput
}
ClientConnectionCreateResponse
| Field Name | Description |
|---|---|
accountId -
String
|
|
clientList -
[String]
|
|
facebookAds -
FacebookAdsConnection
|
|
googleAds -
GoogleAds
|
|
googleAnalytics -
GoogleAnalytics
|
|
googleAnalytics4 -
googleAnalytics4
|
|
googleMyBusiness -
GoogleMyBusiness
|
|
googleSearchConsole -
GoogleSearchConsole
|
|
instagramAds -
InstagramAds
|
|
linkedInAds -
linkedInAds
|
|
microsoftAds -
microsoftAds
|
|
sortKeyAuth -
String
|
|
tiktokAds -
tiktokAds
|
|
twitterAds -
twitterAds
|
Example
{
"accountId": "abc123",
"clientList": ["xyz789"],
"facebookAds": FacebookAdsConnection,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"instagramAds": InstagramAds,
"linkedInAds": linkedInAds,
"microsoftAds": microsoftAds,
"sortKeyAuth": "xyz789",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
ClientConnectionDeleteResponse
| Field Name | Description |
|---|---|
accountId -
String
|
Example
{"accountId": "abc123"}
ClientConnectionResponse
| Field Name | Description |
|---|---|
accountId -
String
|
|
connectionStatus -
ClientConnectionServicesStatus
|
|
facebookAds -
FacebookAdsConnection
|
|
googleAds -
GoogleAds
|
|
googleAnalytics -
GoogleAnalytics
|
|
googleAnalytics4 -
googleAnalytics4
|
|
googleMyBusiness -
GoogleMyBusiness
|
|
googleSearchConsole -
GoogleSearchConsole
|
|
instagramAds -
InstagramAds
|
|
linkedInAds -
linkedInAds
|
|
microsoftAds -
microsoftAds
|
|
sortKey -
String
|
|
tiktokAds -
tiktokAds
|
|
twitterAds -
twitterAds
|
Example
{
"accountId": "xyz789",
"connectionStatus": ClientConnectionServicesStatus,
"facebookAds": FacebookAdsConnection,
"googleAds": GoogleAds,
"googleAnalytics": GoogleAnalytics,
"googleAnalytics4": googleAnalytics4,
"googleMyBusiness": GoogleMyBusiness,
"googleSearchConsole": GoogleSearchConsole,
"instagramAds": InstagramAds,
"linkedInAds": linkedInAds,
"microsoftAds": microsoftAds,
"sortKey": "abc123",
"tiktokAds": tiktokAds,
"twitterAds": twitterAds
}
ClientConnectionServiceStatus
| Field Name | Description |
|---|---|
status -
CLIENT_STATUS
|
Example
{"status": CLIENT_STATUS}
ClientConnectionServicesStatus
| Field Name | Description |
|---|---|
facebookAds -
ClientConnectionServiceStatus
|
|
googleAds -
ClientConnectionServiceStatus
|
|
googleAnalytics -
ClientConnectionServiceStatus
|
|
googleAnalytics4 -
ClientConnectionServiceStatus
|
|
googleAuthConnectionError -
Boolean
|
|
googleMyBusiness -
ClientConnectionServiceStatus
|
|
googleSearchConsole -
ClientConnectionServiceStatus
|
|
instagramAds -
ClientConnectionServiceStatus
|
|
linkedInAds -
ClientConnectionServiceStatus
|
|
microsoftAds -
ClientConnectionServiceStatus
|
|
multipleServiceError -
Boolean
|
|
newClientConnectionStatus -
Boolean
|
|
tiktokAds -
ClientConnectionServiceStatus
|
|
twitterAds -
ClientConnectionServiceStatus
|
Example
{
"facebookAds": ClientConnectionServiceStatus,
"googleAds": ClientConnectionServiceStatus,
"googleAnalytics": ClientConnectionServiceStatus,
"googleAnalytics4": ClientConnectionServiceStatus,
"googleAuthConnectionError": true,
"googleMyBusiness": ClientConnectionServiceStatus,
"googleSearchConsole": ClientConnectionServiceStatus,
"instagramAds": ClientConnectionServiceStatus,
"linkedInAds": ClientConnectionServiceStatus,
"microsoftAds": ClientConnectionServiceStatus,
"multipleServiceError": false,
"newClientConnectionStatus": false,
"tiktokAds": ClientConnectionServiceStatus,
"twitterAds": ClientConnectionServiceStatus
}
ClientUploadInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
logo -
LogoInput!
|
Example
{
"accountId": "xyz789",
"clientId": "xyz789",
"cognitoUserId": "abc123",
"logo": LogoInput
}
Clients
| Field Name | Description |
|---|---|
count -
Int
|
|
isClientSubscriptionValid -
Boolean
|
|
isNearSubscriptionLimit -
Boolean
|
|
items -
[Client]
|
|
nextToken -
String
|
|
totalAnomaliesUnderAccount -
Int
|
|
totalBudgetsUnderAccount -
Int
|
|
totalKPISUnderAccount -
Int
|
Example
{
"count": 123,
"isClientSubscriptionValid": true,
"isNearSubscriptionLimit": true,
"items": [Client],
"nextToken": "xyz789",
"totalAnomaliesUnderAccount": 987,
"totalBudgetsUnderAccount": 123,
"totalKPISUnderAccount": 987
}
Comment
Comment details
| Field Name | Description |
|---|---|
accountId -
String
|
Jepto Account Id |
commentMethod -
CommentMethod
|
|
commentTimestamp -
String
|
|
commentTo -
String
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
deletedBy -
String
|
|
isDeleted -
Boolean
|
|
mentionedUsers -
[String]
|
|
message -
String
|
|
revisions -
Int
|
|
sortKey -
String
|
|
type -
CommentType
|
|
updatedBy -
String
|
|
user -
User
|
|
userId -
String
|
Example
{
"accountId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"deletedBy": "xyz789",
"isDeleted": false,
"mentionedUsers": ["xyz789"],
"message": "xyz789",
"revisions": 123,
"sortKey": "abc123",
"type": CommentType,
"updatedBy": "xyz789",
"user": User,
"userId": "abc123"
}
CommentInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
commentMethod -
CommentMethod!
|
|
commentTimestamp -
String
|
|
commentTo -
String!
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
deletedBy -
String
|
|
isDeleted -
Boolean
|
|
mentionedUsers -
[String]
|
|
message -
String!
|
|
revisions -
Int
|
|
sortKey -
String
|
|
type -
CommentType!
|
|
updatedBy -
String
|
|
userId -
String!
|
Example
{
"accountId": "abc123",
"cognitoUserId": "abc123",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "abc123",
"dateCreated": "abc123",
"dateUpdated": "abc123",
"deletedBy": "abc123",
"isDeleted": true,
"mentionedUsers": ["xyz789"],
"message": "abc123",
"revisions": 987,
"sortKey": "abc123",
"type": CommentType,
"updatedBy": "xyz789",
"userId": "xyz789"
}
DataAccessControl
| Field Name | Description |
|---|---|
accessLevel -
String
|
|
accessRole -
[String]
|
|
accountId -
String
|
|
authEmail -
String
|
|
authId -
String
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
invitedUser -
String
|
|
isDeleted -
Boolean
|
|
projectId -
String
|
|
projectName -
String
|
|
provider -
ACCESS_CONTROL_PROVIDER
|
|
revisions -
Int
|
|
service -
SERVICE
|
|
sortKey -
String
|
|
status -
String
|
|
userId -
String
|
Example
{
"accessLevel": "xyz789",
"accessRole": ["abc123"],
"accountId": "abc123",
"authEmail": "abc123",
"authId": "xyz789",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"invitedUser": "abc123",
"isDeleted": true,
"projectId": "abc123",
"projectName": "abc123",
"provider": ACCESS_CONTROL_PROVIDER,
"revisions": 123,
"service": SERVICE,
"sortKey": "abc123",
"status": "xyz789",
"userId": "abc123"
}
DataAccessControlInput
| Field Name | Description |
|---|---|
accessLevel -
String!
|
|
accessRole -
[String]!
|
|
accountId -
String!
|
|
authEmail -
String
|
|
authId -
String
|
|
cognitoUserId -
String!
|
|
invitedUser -
String!
|
|
projectId -
String!
|
|
projectName -
String!
|
|
provider -
ACCESS_CONTROL_PROVIDER!
|
|
revisions -
Int
|
|
service -
SERVICE!
|
|
userId -
String!
|
Example
{
"accessLevel": "abc123",
"accessRole": ["abc123"],
"accountId": "abc123",
"authEmail": "xyz789",
"authId": "xyz789",
"cognitoUserId": "xyz789",
"invitedUser": "abc123",
"projectId": "abc123",
"projectName": "xyz789",
"provider": ACCESS_CONTROL_PROVIDER,
"revisions": 987,
"service": SERVICE,
"userId": "xyz789"
}
DataAccessControls
| Field Name | Description |
|---|---|
items -
[DataAccessControl]
|
|
nextToken -
String
|
Example
{"items": [DataAccessControl], "nextToken": "abc123"}
DataDeleteAccessControlInput
| Field Name | Description |
|---|---|
accessRole -
[String]!
|
|
accountId -
String!
|
|
authId -
String
|
|
cognitoUserId -
String!
|
|
invitedUser -
String!
|
|
projectId -
String!
|
|
projectName -
String!
|
|
provider -
String!
|
|
revisions -
Int!
|
|
sortKey -
String!
|
Example
{
"accessRole": ["xyz789"],
"accountId": "xyz789",
"authId": "xyz789",
"cognitoUserId": "xyz789",
"invitedUser": "abc123",
"projectId": "abc123",
"projectName": "abc123",
"provider": "xyz789",
"revisions": 987,
"sortKey": "abc123"
}
DataPipeLine
| Field Name | Description |
|---|---|
accountId -
String
|
|
appliedExtensions -
[DataPipelineAppliedExtension]
|
|
changeHistory -
String
|
|
configuration -
DataPipeLineConfiguration
|
|
creditUsed -
Int
|
|
dateCreated -
String
|
|
dateLastSyncCompleted -
String
|
|
dateUpdated -
String
|
|
destination -
Destination
|
|
errorDetails -
PipelineErrorDetails
|
|
executionName -
String
|
|
extensionCount -
Int
|
|
funnelTerms -
AWSJSON
|
|
hasInitAnalysis -
Boolean
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
isTitleAutoGenerated -
Boolean
|
|
jobType -
String
|
|
log -
[DataPipeLineLog]
|
|
notifyConfig -
NotifyConfig
|
|
notifyEmail -
Boolean
|
|
notifySlack -
Boolean
|
|
notifyZapier -
Boolean
|
|
report -
AWSJSON
|
|
revisions -
Int
|
|
sortKey -
String
|
|
source -
DataSource
|
|
status -
String
|
|
title -
String
|
|
totalRowsLoaded -
Int
|
Example
{
"accountId": "abc123",
"appliedExtensions": [DataPipelineAppliedExtension],
"changeHistory": "abc123",
"configuration": DataPipeLineConfiguration,
"creditUsed": 987,
"dateCreated": "abc123",
"dateLastSyncCompleted": "xyz789",
"dateUpdated": "abc123",
"destination": Destination,
"errorDetails": PipelineErrorDetails,
"executionName": "xyz789",
"extensionCount": 987,
"funnelTerms": AWSJSON,
"hasInitAnalysis": false,
"isArchived": true,
"isDeleted": true,
"isTitleAutoGenerated": false,
"jobType": "xyz789",
"log": [DataPipeLineLog],
"notifyConfig": NotifyConfig,
"notifyEmail": false,
"notifySlack": true,
"notifyZapier": true,
"report": AWSJSON,
"revisions": 987,
"sortKey": "xyz789",
"source": DataSource,
"status": "xyz789",
"title": "xyz789",
"totalRowsLoaded": 123
}
DataPipeLineInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
configuration -
DataPipeLineConfigurationInput
|
|
destination -
DestinationInput
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
isTitleAutoGenerated -
Boolean
|
|
jobType -
String
|
|
notifyConfig -
notifyConfigInput
|
|
notifyEmail -
Boolean
|
|
notifySlack -
Boolean
|
|
notifyZapier -
Boolean
|
|
revisions -
Int
|
|
sortKey -
String
|
|
source -
DataSourceInput
|
|
title -
String
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "abc123",
"configuration": DataPipeLineConfigurationInput,
"destination": DestinationInput,
"isArchived": true,
"isDeleted": false,
"isTitleAutoGenerated": true,
"jobType": "xyz789",
"notifyConfig": notifyConfigInput,
"notifyEmail": false,
"notifySlack": false,
"notifyZapier": true,
"revisions": 123,
"sortKey": "xyz789",
"source": DataSourceInput,
"title": "xyz789"
}
DataPipeLineLog
| Field Name | Description |
|---|---|
exception -
[DataPipeLineLogException]
|
|
extract -
DataPipeLineLogStatus
|
|
load -
DataPipeLineLogStatus
|
|
report -
DataPipeLineReportStatus
|
|
scheduleRun -
String
|
Example
{
"exception": [DataPipeLineLogException],
"extract": DataPipeLineLogStatus,
"load": DataPipeLineLogStatus,
"report": DataPipeLineReportStatus,
"scheduleRun": "xyz789"
}
DataPipeLines
| Field Name | Description |
|---|---|
items -
[DataPipeLine]
|
|
nextToken -
String
|
Example
{"items": [DataPipeLine], "nextToken": "abc123"}
DataPipelineAppliedExtension
| Field Name | Description |
|---|---|
config -
[DataPipelineAppliedExtensionConfig]
|
|
count -
Int
|
|
id -
String
|
Example
{
"config": [DataPipelineAppliedExtensionConfig],
"count": 987,
"id": "abc123"
}
DataPipelineAppliedExtensionConfig
| Field Name | Description |
|---|---|
property -
String
|
Example
{"property": "abc123"}
DataPipelineProjects
| Field Name | Description |
|---|---|
items -
[DataPipelineProject]
|
|
nextToken -
String
|
Example
{"items": [DataPipelineProject], "nextToken": "abc123"}
DataSourceInput
| Input Field | Description |
|---|---|
account -
String
|
|
accountId -
String
|
|
authId -
String
|
|
config -
AWSJSON
|
|
sortKey -
String
|
|
sourceType -
SOURCE_TYPE
|
|
timezone -
String
|
Example
{
"account": "xyz789",
"accountId": "abc123",
"authId": "xyz789",
"config": AWSJSON,
"sortKey": "abc123",
"sourceType": SOURCE_TYPE,
"timezone": "xyz789"
}
DataWarehouse
| Field Name | Description |
|---|---|
facebook -
DataWarehouseSettings
|
|
gmb -
DataWarehouseSettings
|
|
gsc -
DataWarehouseSettings
|
Example
{
"facebook": DataWarehouseSettings,
"gmb": DataWarehouseSettings,
"gsc": DataWarehouseSettings
}
Destination
| Field Name | Description |
|---|---|
accountId -
String
|
|
authId -
String
|
|
config -
AWSJSON
|
|
destination -
DESTINATION
|
Example
{
"accountId": "abc123",
"authId": "xyz789",
"config": AWSJSON,
"destination": DESTINATION
}
DestinationInput
| Input Field | Description |
|---|---|
accountId -
String
|
|
authId -
String
|
|
cognitoUserId -
String
|
|
config -
AWSJSON
|
|
destination -
DESTINATION
|
Example
{
"accountId": "xyz789",
"authId": "abc123",
"cognitoUserId": "abc123",
"config": AWSJSON,
"destination": DESTINATION
}
DrivesByAccount
| Field Name | Description |
|---|---|
accountId -
String
|
|
authId -
String
|
|
email -
String
|
|
items -
[ItemDrivesByAccount]
|
Example
{
"accountId": "abc123",
"authId": "xyz789",
"email": "xyz789",
"items": [ItemDrivesByAccount]
}
EditAccountInput
| Input Field | Description |
|---|---|
accountId -
String
|
|
cognitoUserId -
String!
|
|
domain -
String
|
|
logo -
String
|
|
name -
String
|
|
revisions -
Int!
|
|
sortKey -
String
|
|
timezone -
String
|
|
weekStart -
String
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"domain": "abc123",
"logo": "xyz789",
"name": "xyz789",
"revisions": 123,
"sortKey": "abc123",
"timezone": "xyz789",
"weekStart": "xyz789"
}
ErrorHandlerInput
| Input Field | Description |
|---|---|
accountId -
String
|
|
cognitoUserId -
String
|
|
error -
ErrorDetailsInput
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"error": ErrorDetailsInput
}
Extension
| Field Name | Description |
|---|---|
addOnId -
String
|
|
authorImage -
String
|
|
authorLink -
String
|
|
content -
String
|
|
extensionAuthor -
String
|
|
extensionImage -
String
|
|
extensionName -
String
|
|
funnelTerms -
AWSJSON
|
|
id -
String
|
|
learnMore -
String
|
|
primaryImage -
String
|
|
service -
SERVICE
|
|
summary -
String
|
|
termsConditionLink -
String
|
Example
{
"addOnId": "xyz789",
"authorImage": "xyz789",
"authorLink": "xyz789",
"content": "xyz789",
"extensionAuthor": "abc123",
"extensionImage": "abc123",
"extensionName": "xyz789",
"funnelTerms": AWSJSON,
"id": "xyz789",
"learnMore": "abc123",
"primaryImage": "abc123",
"service": SERVICE,
"summary": "abc123",
"termsConditionLink": "xyz789"
}
ExtensionProperty
| Field Name | Description |
|---|---|
pipelineId -
String!
|
|
selectedProperties -
[selectedPropertyExtensionInput]
|
Example
{
"pipelineId": "abc123",
"selectedProperties": [selectedPropertyExtensionInput]
}
FacebookAds
| Field Name | Description |
|---|---|
accounts -
[FacebookAccount]
|
|
businessId -
String
|
|
businessName -
String
|
|
currency -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
timezone -
String
|
Example
{
"accounts": [FacebookAccount],
"businessId": "abc123",
"businessName": "abc123",
"currency": "xyz789",
"hasActiveJob": false,
"jobIds": ["xyz789"],
"timezone": "xyz789"
}
FacebookAdsConnection
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
businessId -
String
|
|
businessName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
timezone -
String
|
Example
{
"accountId": "abc123",
"accountName": "xyz789",
"businessId": "abc123",
"businessName": "abc123",
"currency": "abc123",
"email": "xyz789",
"hasActiveJob": false,
"jobIds": ["xyz789"],
"timezone": "abc123"
}
Float
The Float scalar type represents signed double-precision fractional values as specified by
IEEE 754.
Example
123.45
GA4Properties
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
properties -
[GA4Property]
|
Example
{
"accountId": "abc123",
"accountName": "abc123",
"properties": [GA4Property]
}
GASegments
| Field Name | Description |
|---|---|
items -
[Segments]
|
|
status -
String
|
|
statusCode -
Int
|
Example
{
"items": [Segments],
"status": "abc123",
"statusCode": 987
}
GAdsFilter
| Field Name | Description |
|---|---|
campaign -
GAdsCampaign
|
|
label -
GAdsLabel
|
Example
{
"campaign": GAdsCampaign,
"label": GAdsLabel
}
GAdsFilterInput
| Input Field | Description |
|---|---|
campaign -
GAdsCampaignInput
|
|
label -
GAdsLabelInput
|
Example
{
"campaign": GAdsCampaignInput,
"label": GAdsLabelInput
}
GmbAccounts
| Field Name | Description |
|---|---|
accountId -
String
|
|
items -
[GmbAccount]
|
Example
{"accountId": "xyz789", "items": [GmbAccount]}
GmbEmails
| Field Name | Description |
|---|---|
accountId -
String
|
|
items -
[GmbEmail]
|
Example
{"accountId": "abc123", "items": [GmbEmail]}
GmbLocations
| Field Name | Description |
|---|---|
accountId -
String
|
|
gmbAccountId -
String
|
|
items -
[GmbLocation]
|
Example
{
"accountId": "abc123",
"gmbAccountId": "xyz789",
"items": [GmbLocation]
}
GoogleAds
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
mcc -
String
|
|
mccName -
String
|
|
timezone -
String
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"currency": "abc123",
"email": "abc123",
"hasActiveJob": false,
"jobIds": ["abc123"],
"mcc": "xyz789",
"mccName": "abc123",
"timezone": "abc123"
}
GoogleAdsAccounts
| Field Name | Description |
|---|---|
items -
[GoogleAdsMccAccount]
|
Example
{"items": [GoogleAdsMccAccount]}
GoogleAdsMccAccount
| Field Name | Description |
|---|---|
clients -
[GoogleAdsClient]
|
|
mccId -
String
|
|
mccName -
String
|
Example
{
"clients": [GoogleAdsClient],
"mccId": "abc123",
"mccName": "xyz789"
}
GoogleAdsMccAccountParent
| Field Name | Description |
|---|---|
accountLabels -
[String]
|
|
canManageClients -
String
|
|
currencyCode -
String
|
|
customerId -
String
|
|
dateTimeZone -
String
|
|
excludeHiddenAccounts -
String
|
|
name -
String
|
|
testAccount -
String
|
Example
{
"accountLabels": ["xyz789"],
"canManageClients": "abc123",
"currencyCode": "abc123",
"customerId": "abc123",
"dateTimeZone": "xyz789",
"excludeHiddenAccounts": "xyz789",
"name": "abc123",
"testAccount": "abc123"
}
GoogleAnalytics
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
propertyId -
String
|
|
propertyName -
String
|
|
timezone -
String
|
|
viewId -
String
|
|
viewName -
String
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"currency": "xyz789",
"email": "abc123",
"hasActiveJob": false,
"jobIds": ["abc123"],
"propertyId": "abc123",
"propertyName": "abc123",
"timezone": "abc123",
"viewId": "xyz789",
"viewName": "xyz789"
}
GoogleAnalyticsInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
accountName -
String!
|
|
email -
String!
|
|
propertyId -
String!
|
|
propertyName -
String!
|
|
viewId -
String!
|
|
viewName -
String!
|
Example
{
"accountId": "abc123",
"accountName": "xyz789",
"email": "abc123",
"propertyId": "xyz789",
"propertyName": "xyz789",
"viewId": "xyz789",
"viewName": "abc123"
}
GoogleAnalyticsProperties
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
properties -
[GoogleAnalyticsProperty]
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"properties": [GoogleAnalyticsProperty]
}
GoogleAnalyticsProperty
| Field Name | Description |
|---|---|
profiles -
[GoogleAnalyticsPropertyProfiles]
|
|
propertyId -
String
|
|
propertyName -
String
|
Example
{
"profiles": [GoogleAnalyticsPropertyProfiles],
"propertyId": "xyz789",
"propertyName": "abc123"
}
GoogleMyBusiness
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
locationId -
String
|
|
locationName -
String
|
|
timezone -
String
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"currency": "abc123",
"email": "abc123",
"hasActiveJob": true,
"jobIds": ["abc123"],
"locationId": "abc123",
"locationName": "xyz789",
"timezone": "xyz789"
}
GoogleSearchConsole
| Field Name | Description |
|---|---|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
propertyType -
String
|
|
propertyUrl -
String
|
|
timezone -
String
|
Example
{
"currency": "xyz789",
"email": "xyz789",
"hasActiveJob": false,
"jobIds": ["xyz789"],
"propertyType": "abc123",
"propertyUrl": "abc123",
"timezone": "xyz789"
}
GoogleSearchConsoleProperties
| Field Name | Description |
|---|---|
domain -
[GoogleSearchConsoleProperty]
|
|
urlPrefix -
[GoogleSearchConsoleProperty]
|
Example
{
"domain": [GoogleSearchConsoleProperty],
"urlPrefix": [GoogleSearchConsoleProperty]
}
GoogleSpreadsheetInput
| Field Name | Description |
|---|---|
calculation -
String
|
|
dateColumn -
String
|
|
driveId -
String
|
|
driveLabel -
String
|
|
email -
String
|
|
metricColumn -
String
|
|
spreadsheetId -
String
|
|
spreadsheetLabel -
String
|
|
timezone -
String
|
|
validDates -
[SpreadsheetColumnInput]
|
|
validMetrics -
[SpreadsheetColumnInput]
|
|
worksheetId -
String
|
|
worksheetLabel -
String
|
Example
{
"calculation": "xyz789",
"dateColumn": "abc123",
"driveId": "xyz789",
"driveLabel": "abc123",
"email": "abc123",
"metricColumn": "abc123",
"spreadsheetId": "xyz789",
"spreadsheetLabel": "abc123",
"timezone": "xyz789",
"validDates": [SpreadsheetColumnInput],
"validMetrics": [SpreadsheetColumnInput],
"worksheetId": "abc123",
"worksheetLabel": "abc123"
}
GoogleSpreadsheetOutput
| Field Name | Description |
|---|---|
calculation -
String
|
|
dateColumn -
String
|
|
driveId -
String
|
|
driveLabel -
String
|
|
email -
String
|
|
metricColumn -
String
|
|
spreadsheetId -
String
|
|
spreadsheetLabel -
String
|
|
timezone -
String
|
|
validDates -
[SpreadsheetColumnOutput]
|
|
validMetrics -
[SpreadsheetColumnOutput]
|
|
worksheetId -
String
|
|
worksheetLabel -
String
|
Example
{
"calculation": "xyz789",
"dateColumn": "abc123",
"driveId": "abc123",
"driveLabel": "abc123",
"email": "abc123",
"metricColumn": "xyz789",
"spreadsheetId": "xyz789",
"spreadsheetLabel": "xyz789",
"timezone": "xyz789",
"validDates": [SpreadsheetColumnOutput],
"validMetrics": [SpreadsheetColumnOutput],
"worksheetId": "abc123",
"worksheetLabel": "xyz789"
}
ID
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
object
InputAccountPreference
| Input Field | Description |
|---|---|
accountId -
String!
|
|
budgets -
InputBudgetPreference
|
|
cognitoUserId -
String
|
|
dataWarehouse -
InputDataWarehouse
|
|
insights -
InputInsightsPreference
|
|
kpis -
InputKpiPreference
|
|
revision -
Int!
|
Example
{
"accountId": "xyz789",
"budgets": InputBudgetPreference,
"cognitoUserId": "xyz789",
"dataWarehouse": InputDataWarehouse,
"insights": InputInsightsPreference,
"kpis": InputKpiPreference,
"revision": 987
}
InputDataWarehouse
| Input Field | Description |
|---|---|
facebook -
InputDataWarehouseSubSettings
|
|
gmb -
InputDataWarehouseSubSettings
|
|
gsc -
InputDataWarehouseSubSettings
|
Example
{
"facebook": InputDataWarehouseSubSettings,
"gmb": InputDataWarehouseSubSettings,
"gsc": InputDataWarehouseSubSettings
}
InputKpiPreference
| Input Field | Description |
|---|---|
facebookAdsRollingAvg -
Float
|
|
googleAdsRollingAvg -
Float
|
|
googleAnalytics4RollingAvg -
Float
|
|
googleMyBusinessRollingAvg -
Float
|
|
googleSheetsRollingAvg -
Float
|
|
instagramAdsRollingAvg -
Float
|
|
linkedInAdsRollingAvg -
Float
|
|
microsoftAdsRollingAvg -
Float
|
|
tiktokAdsRollingAvg -
Float
|
|
twitterAdsRollingAvg -
Float
|
Example
{
"facebookAdsRollingAvg": 123.45,
"googleAdsRollingAvg": 123.45,
"googleAnalytics4RollingAvg": 123.45,
"googleMyBusinessRollingAvg": 123.45,
"googleSheetsRollingAvg": 987.65,
"instagramAdsRollingAvg": 123.45,
"linkedInAdsRollingAvg": 987.65,
"microsoftAdsRollingAvg": 123.45,
"tiktokAdsRollingAvg": 123.45,
"twitterAdsRollingAvg": 123.45
}
InsightUpdateSubscriptionInput
| Field Name | Description |
|---|---|
count -
Int
|
|
id -
String
|
|
items -
[InsightsInput]
|
Example
{"count": 123, "id": "xyz789", "items": [InsightsInput]}
Insights
| Field Name | Description |
|---|---|
accountId -
String
|
|
acknowledgeDateTime -
String
|
|
acknowledgedBy -
ID
|
|
acknowledgedMethod -
INSIGHTS_METHOD
|
|
chartImage -
String
|
|
clientId -
String
|
|
commentCount -
Int
|
|
comments -
InsightsComment
|
|
configuration -
insightsConfiguration
|
|
createdBy -
String
|
|
createdByJobType -
INSIGHTS_JOBTYPE
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
description -
String
|
|
externalId -
String
|
|
fullReportUrl -
String
|
|
graphData -
InsightsGraph
|
|
insightRelatedCount -
Int
|
|
isAcknowledged -
Boolean
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
isPartialReport -
Boolean
|
|
isResolved -
Boolean
|
|
jobIcon -
String
|
|
jobId -
String
|
|
jobStatus -
String
|
|
jobTitle -
String
|
|
jobType -
String
|
|
reference -
Int
|
|
relatedCountOnCreation -
Int
|
|
report -
AWSJSON
|
|
resolveDateTime -
String
|
|
resolvedBy -
ID
|
|
resolvedMethod -
INSIGHTS_METHOD
|
|
revisions -
Int
|
|
service -
SERVICE
|
|
slackMessage -
SlackMessage
|
|
sortKey -
String
|
|
summary -
AWSJSON
|
|
title -
String
|
|
trigger -
String
|
|
watchList -
[String]
|
Example
{
"accountId": "xyz789",
"acknowledgeDateTime": "abc123",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "abc123",
"clientId": "abc123",
"commentCount": 123,
"comments": InsightsComment,
"configuration": insightsConfiguration,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"description": "abc123",
"externalId": "xyz789",
"fullReportUrl": "abc123",
"graphData": InsightsGraph,
"insightRelatedCount": 987,
"isAcknowledged": true,
"isArchived": true,
"isDeleted": false,
"isPartialReport": true,
"isResolved": true,
"jobIcon": "xyz789",
"jobId": "xyz789",
"jobStatus": "abc123",
"jobTitle": "xyz789",
"jobType": "abc123",
"reference": 123,
"relatedCountOnCreation": 123,
"report": AWSJSON,
"resolveDateTime": "abc123",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"revisions": 987,
"service": SERVICE,
"slackMessage": SlackMessage,
"sortKey": "xyz789",
"summary": AWSJSON,
"title": "xyz789",
"trigger": "abc123",
"watchList": ["abc123"]
}
InsightsConnection
| Field Name | Description |
|---|---|
count -
Int
|
|
id -
String
|
|
items -
[Insights]
|
|
nextToken -
String
|
|
scannedCount -
Int
|
Example
{
"count": 987,
"id": "abc123",
"items": [Insights],
"nextToken": "xyz789",
"scannedCount": 123
}
InsightsGraph
| Field Name | Description |
|---|---|
anomalyGraphData -
AnomalyGraphData
|
|
automationGraphData -
AutomationGraphData
|
Example
{
"anomalyGraphData": AnomalyGraphData,
"automationGraphData": AutomationGraphData
}
InsightsGraphInput
| Input Field | Description |
|---|---|
anomalyGraphData -
AnomalyGraphDataInput
|
|
automationGraphData -
AutomationGraphDataInput
|
Example
{
"anomalyGraphData": AnomalyGraphDataInput,
"automationGraphData": AutomationGraphDataInput
}
InsightsInput
| Field Name | Description |
|---|---|
accountId -
String
|
|
acknowledgeDateTime -
String
|
|
acknowledgedBy -
ID
|
|
acknowledgedMethod -
INSIGHTS_METHOD
|
|
chartImage -
String
|
|
clientId -
String
|
|
comments -
InsightsCommentInput
|
|
configuration -
insightsConfigurationInput
|
|
createdBy -
String
|
|
createdByJobType -
INSIGHTS_JOBTYPE
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
description -
String
|
|
executionName -
String
|
|
externalId -
String
|
|
graphData -
InsightsGraphInput
|
|
insightRelatedCount -
Int
|
|
insightTimestamp -
String
|
|
isAcknowledged -
Boolean
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
isResolved -
Boolean
|
|
jobIcon -
String
|
|
jobId -
String
|
|
jobStatus -
String
|
|
jobTitle -
String
|
|
jobType -
String
|
|
reference -
Int
|
|
relatedCountOnCreation -
Int
|
|
report -
AWSJSON
|
|
resolveDateTime -
String
|
|
resolvedBy -
ID
|
|
resolvedMethod -
INSIGHTS_METHOD
|
|
service -
SERVICE
|
|
slackMessage -
SlackMessageInput
|
|
sortKey -
String
|
|
summary -
AWSJSON
|
|
title -
String
|
|
trigger -
String
|
|
watchList -
[String]
|
Example
{
"accountId": "abc123",
"acknowledgeDateTime": "xyz789",
"acknowledgedBy": ID,
"acknowledgedMethod": INSIGHTS_METHOD,
"chartImage": "xyz789",
"clientId": "xyz789",
"comments": InsightsCommentInput,
"configuration": insightsConfigurationInput,
"createdBy": "abc123",
"createdByJobType": INSIGHTS_JOBTYPE,
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"description": "abc123",
"executionName": "abc123",
"externalId": "abc123",
"graphData": InsightsGraphInput,
"insightRelatedCount": 123,
"insightTimestamp": "xyz789",
"isAcknowledged": true,
"isArchived": true,
"isDeleted": true,
"isResolved": true,
"jobIcon": "xyz789",
"jobId": "abc123",
"jobStatus": "xyz789",
"jobTitle": "xyz789",
"jobType": "abc123",
"reference": 987,
"relatedCountOnCreation": 987,
"report": AWSJSON,
"resolveDateTime": "abc123",
"resolvedBy": ID,
"resolvedMethod": INSIGHTS_METHOD,
"service": SERVICE,
"slackMessage": SlackMessageInput,
"sortKey": "abc123",
"summary": AWSJSON,
"title": "xyz789",
"trigger": "xyz789",
"watchList": ["xyz789"]
}
InstagramAds
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
businessId -
String
|
|
businessName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
timezone -
String
|
Example
{
"accountId": "xyz789",
"accountName": "abc123",
"businessId": "abc123",
"businessName": "xyz789",
"currency": "abc123",
"email": "xyz789",
"hasActiveJob": false,
"jobIds": ["abc123"],
"timezone": "abc123"
}
Int
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
123
KPI
| Field Name | Description |
|---|---|
accountId -
String
|
|
advancedSettings -
AWSJSON
|
|
changeHistory -
String
|
|
client -
Client
|
|
clientId -
String
|
|
clientName -
String
|
|
commentCount -
Int
|
|
comments -
[Comment]
|
|
configuration -
KPIConfiguration
|
|
connectionStatus -
String
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
history -
AWSJSON
|
|
id -
String
|
|
isArchived -
Boolean
|
|
isDeleted -
Boolean
|
|
jobStatus -
REPORT_STATUS
|
|
jobType -
String
|
|
notifyConfig -
NotifyConfig
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
report -
KPIReport
|
|
revisions -
Int
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
service -
SERVICE
|
|
sortKey -
String
|
|
title -
String
|
|
user -
User
|
|
userId -
String
|
|
watchList -
[String]
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
|
Example
{
"accountId": "xyz789",
"advancedSettings": AWSJSON,
"changeHistory": "xyz789",
"client": Client,
"clientId": "abc123",
"clientName": "xyz789",
"commentCount": 123,
"comments": [Comment],
"configuration": KPIConfiguration,
"connectionStatus": "abc123",
"dateCreated": "abc123",
"dateUpdated": "xyz789",
"history": AWSJSON,
"id": "abc123",
"isArchived": false,
"isDeleted": true,
"jobStatus": REPORT_STATUS,
"jobType": "xyz789",
"notifyConfig": NotifyConfig,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "xyz789",
"notifySchedWebhook": "xyz789",
"report": KPIReport,
"revisions": 123,
"schedEmail": "abc123",
"schedSlack": "abc123",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "xyz789",
"title": "xyz789",
"user": User,
"userId": "xyz789",
"watchList": ["abc123"],
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
KPIConfiguration
| Field Name | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
allCampaigns -
Boolean
|
|
campaignIds -
[String]
|
|
changepoints -
String
|
|
comparisonPeriod -
COMPARISON_PERIOD
|
|
currency -
String
|
|
duration -
Int
|
|
filters -
GAdsFilter
|
|
googleSpreadsheet -
GoogleSpreadsheetOutput
|
|
graphType -
GRAPH_TYPE
|
|
holidays -
KPIHolidayTreatmentOutput
|
|
isReversed -
Boolean
|
|
isTitleAutoGenerated -
Boolean
|
|
metricId -
String
|
|
metricName -
String
|
|
missingValueHandling -
String
|
|
period -
KPI_PERIOD
|
|
seasonalities -
SeasonalitiesOutput
|
|
segmentId -
String
|
|
segmentName -
String
|
|
startDate -
String
|
|
targetComparisonPeriod -
COMPARISON_PERIOD
|
|
targetCustomPeriod -
String
|
|
targetMetricId -
String
|
|
targetMetricName -
String
|
|
targetPeriod -
KPI_PERIOD
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetType -
KPI_TARGET_TYPE
|
|
targetValue -
Float
|
|
type -
String
|
|
value -
Float
|
Example
{
"advancedSettings": AWSJSON,
"allCampaigns": false,
"campaignIds": ["xyz789"],
"changepoints": "abc123",
"comparisonPeriod": COMPARISON_PERIOD,
"currency": "abc123",
"duration": 987,
"filters": GAdsFilter,
"googleSpreadsheet": GoogleSpreadsheetOutput,
"graphType": GRAPH_TYPE,
"holidays": KPIHolidayTreatmentOutput,
"isReversed": true,
"isTitleAutoGenerated": false,
"metricId": "abc123",
"metricName": "xyz789",
"missingValueHandling": "abc123",
"period": KPI_PERIOD,
"seasonalities": SeasonalitiesOutput,
"segmentId": "abc123",
"segmentName": "xyz789",
"startDate": "abc123",
"targetComparisonPeriod": COMPARISON_PERIOD,
"targetCustomPeriod": "xyz789",
"targetMetricId": "xyz789",
"targetMetricName": "xyz789",
"targetPeriod": KPI_PERIOD,
"targetSegmentId": "xyz789",
"targetSegmentName": "abc123",
"targetType": KPI_TARGET_TYPE,
"targetValue": 123.45,
"type": "xyz789",
"value": 123.45
}
KPIConfigurationInput
| Field Name | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
allCampaigns -
Boolean
|
|
campaignIds -
[String]
|
|
changepoints -
String
|
|
comparisonPeriod -
COMPARISON_PERIOD
|
|
currency -
String
|
|
duration -
Int
|
|
filters -
GAdsFilterInput
|
|
googleSpreadsheet -
GoogleSpreadsheetInput
|
|
graphType -
GRAPH_TYPE
|
|
holidays -
KPIHolidayTreatmentInput
|
|
isReversed -
Boolean
|
|
isTitleAutoGenerated -
Boolean
|
|
metricId -
String
|
|
metricName -
String
|
|
missingValueHandling -
String
|
|
period -
String
|
|
seasonalities -
SeasonalitiesInput
|
|
segmentId -
String
|
|
segmentName -
String
|
|
startDate -
String
|
|
targetComparisonPeriod -
COMPARISON_PERIOD
|
|
targetCustomPeriod -
String
|
|
targetMetricId -
String
|
|
targetMetricName -
String
|
|
targetPeriod -
KPI_PERIOD
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetType -
KPI_TARGET_TYPE
|
|
targetValue -
Float
|
|
type -
String
|
|
value -
Float
|
Example
{
"advancedSettings": AWSJSON,
"allCampaigns": false,
"campaignIds": ["abc123"],
"changepoints": "abc123",
"comparisonPeriod": COMPARISON_PERIOD,
"currency": "abc123",
"duration": 987,
"filters": GAdsFilterInput,
"googleSpreadsheet": GoogleSpreadsheetInput,
"graphType": GRAPH_TYPE,
"holidays": KPIHolidayTreatmentInput,
"isReversed": false,
"isTitleAutoGenerated": false,
"metricId": "xyz789",
"metricName": "abc123",
"missingValueHandling": "xyz789",
"period": "xyz789",
"seasonalities": SeasonalitiesInput,
"segmentId": "xyz789",
"segmentName": "xyz789",
"startDate": "abc123",
"targetComparisonPeriod": COMPARISON_PERIOD,
"targetCustomPeriod": "xyz789",
"targetMetricId": "xyz789",
"targetMetricName": "xyz789",
"targetPeriod": KPI_PERIOD,
"targetSegmentId": "abc123",
"targetSegmentName": "abc123",
"targetType": KPI_TARGET_TYPE,
"targetValue": 123.45,
"type": "abc123",
"value": 123.45
}
KPIGAdsConfigInput
| Input Field | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
allCampaigns -
Boolean!
|
|
campaignIds -
[String!]
|
|
filters -
GAdsFilterInput
|
|
graphType -
GRAPH_TYPE
|
|
isTitleAutoGenerated -
Boolean!
|
|
targetComparisonPeriod -
COMPARISON_PERIOD
|
|
targetMetricId -
String!
|
|
targetMetricName -
String
|
|
targetPeriod -
KPI_PERIOD!
|
|
targetType -
KPI_TARGET_TYPE!
|
|
targetValue -
Float!
|
Example
{
"advancedSettings": AWSJSON,
"allCampaigns": true,
"campaignIds": ["xyz789"],
"filters": GAdsFilterInput,
"graphType": GRAPH_TYPE,
"isTitleAutoGenerated": true,
"targetComparisonPeriod": COMPARISON_PERIOD,
"targetMetricId": "abc123",
"targetMetricName": "xyz789",
"targetPeriod": KPI_PERIOD,
"targetType": KPI_TARGET_TYPE,
"targetValue": 987.65
}
KPIGAdsInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
authEmail -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String!
|
|
configuration -
KPIGAdsConfigInput
|
|
isPreview -
Boolean!
|
|
notifyConfig -
notifyConfigInput
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
service -
SERVICE!
|
|
title -
String
|
Example
{
"accountId": "xyz789",
"authEmail": "xyz789",
"clientId": "xyz789",
"cognitoUserId": "abc123",
"configuration": KPIGAdsConfigInput,
"isPreview": false,
"notifyConfig": notifyConfigInput,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "abc123",
"schedEmail": "abc123",
"schedSlack": "xyz789",
"service": SERVICE,
"title": "xyz789"
}
KPIGAdsPreviewConfigurationInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
authEmail -
String!
|
|
clientId -
String!
|
|
configuration -
KPIGAdsConfigInput
|
|
isPreview -
Boolean!
|
|
service -
SERVICE!
|
Example
{
"accountId": "abc123",
"authEmail": "xyz789",
"clientId": "abc123",
"configuration": KPIGAdsConfigInput,
"isPreview": true,
"service": SERVICE
}
KPIGAdsPreviewReportInput
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
currency -
String
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
endDate -
String
|
|
graphData -
AWSJSON
|
|
hasSampling -
Boolean
|
|
history -
[KPIPreviewReportHistory]
|
|
period -
String
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
KPIGAdsSymbol
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": true,
"currency": "abc123",
"currentDateEnd": "xyz789",
"currentDateStart": "abc123",
"currentDaysElapsed": 123,
"currentDaysRemaining": 123,
"currentPacing": 987.65,
"currentPacingDirection": "xyz789",
"currentPercentage": 987.65,
"currentValue": 987.65,
"currentValueAverage": 123.45,
"endDate": "abc123",
"graphData": AWSJSON,
"hasSampling": false,
"history": [KPIPreviewReportHistory],
"period": "abc123",
"predictionDateEnd": "xyz789",
"predictionDateStart": "xyz789",
"predictionPercentage": 123.45,
"predictionValue": 123.45,
"predictionValueAverage": 123.45,
"previousDateEnd": "xyz789",
"previousDateStart": "abc123",
"previousValue": 987.65,
"rollingAverage": 987.65,
"rollingAveragePercentage": 987.65,
"samplingPercent": 123,
"seasonalComponents": AWSJSON,
"startDate": "xyz789",
"status": "abc123",
"symbol": KPIGAdsSymbol,
"targetDate": "abc123",
"targetMet": false,
"targetValue": 123.45,
"unit": "xyz789"
}
KPIGAdsPreviewReportResultInput
| Input Field | Description |
|---|---|
id -
ID!
|
|
message -
String
|
|
report -
KPIGAdsPreviewReportInput
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus!
|
Example
{
"id": ID,
"message": "xyz789",
"report": KPIGAdsPreviewReportInput,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIGAdsPreviewResponse
| Field Name | Description |
|---|---|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
KPIGAdsReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus
|
Example
{
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "xyz789",
"report": KPIGAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIGAdsReport
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
currency -
String
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
endDate -
String
|
|
graphData -
graphDataReport
|
|
hasSampling -
Boolean
|
|
history -
[KPIHistory]
|
|
isReversed -
Boolean
|
|
period -
String
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
KPIGAdsSymbol
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": false,
"currency": "abc123",
"currentDateEnd": "xyz789",
"currentDateStart": "xyz789",
"currentDaysElapsed": 987,
"currentDaysRemaining": 123,
"currentPacing": 123.45,
"currentPacingDirection": "abc123",
"currentPercentage": 123.45,
"currentValue": 123.45,
"currentValueAverage": 987.65,
"endDate": "xyz789",
"graphData": graphDataReport,
"hasSampling": true,
"history": [KPIHistory],
"isReversed": false,
"period": "xyz789",
"predictionDateEnd": "xyz789",
"predictionDateStart": "xyz789",
"predictionPercentage": 123.45,
"predictionValue": 987.65,
"predictionValueAverage": 123.45,
"previousDateEnd": "xyz789",
"previousDateStart": "abc123",
"previousValue": 123.45,
"rollingAverage": 987.65,
"rollingAveragePercentage": 987.65,
"samplingPercent": 987,
"seasonalComponents": AWSJSON,
"startDate": "xyz789",
"status": "abc123",
"symbol": KPIGAdsSymbol,
"targetDate": "abc123",
"targetMet": true,
"targetValue": 123.45,
"unit": "xyz789"
}
KPIGSpreadsheetPreviewReportResultInput
| Input Field | Description |
|---|---|
id -
ID!
|
|
message -
String
|
|
report -
KPIGSpreadsheetReportInput
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus!
|
Example
{
"id": ID,
"message": "xyz789",
"report": KPIGSpreadsheetReportInput,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIGSpreadsheetPreviewResult
| Field Name | Description |
|---|---|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
KPIGSpreadsheetReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus
|
Example
{
"executionArn": "xyz789",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGSpreadsheetReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIGSpreadsheetReport
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
currency -
String
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
endDate -
String
|
|
graphData -
AWSJSON
|
|
hasSampling -
Boolean
|
|
history -
[KPIHistory]
|
|
isReversed -
Boolean
|
|
period -
String
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
KPIGAdsSymbol
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": true,
"currency": "xyz789",
"currentDateEnd": "abc123",
"currentDateStart": "abc123",
"currentDaysElapsed": 987,
"currentDaysRemaining": 123,
"currentPacing": 987.65,
"currentPacingDirection": "abc123",
"currentPercentage": 987.65,
"currentValue": 987.65,
"currentValueAverage": 123.45,
"endDate": "abc123",
"graphData": AWSJSON,
"hasSampling": true,
"history": [KPIHistory],
"isReversed": true,
"period": "abc123",
"predictionDateEnd": "abc123",
"predictionDateStart": "xyz789",
"predictionPercentage": 987.65,
"predictionValue": 987.65,
"predictionValueAverage": 987.65,
"previousDateEnd": "xyz789",
"previousDateStart": "abc123",
"previousValue": 987.65,
"rollingAverage": 123.45,
"rollingAveragePercentage": 123.45,
"samplingPercent": 987,
"seasonalComponents": AWSJSON,
"startDate": "abc123",
"status": "xyz789",
"symbol": KPIGAdsSymbol,
"targetDate": "xyz789",
"targetMet": false,
"targetValue": 123.45,
"unit": "xyz789"
}
KPIGSpreadsheetReportInput
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
chartImage -
String
|
|
currency -
String
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentDaysRemainingPercentage -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
endDate -
String
|
|
graphData -
AWSJSON
|
|
hasSampling -
Boolean
|
|
history -
[KPIPreviewReportHistory]
|
|
isReversed -
Boolean
|
|
period -
String
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
String
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": false,
"chartImage": "abc123",
"currency": "xyz789",
"currentDateEnd": "abc123",
"currentDateStart": "abc123",
"currentDaysElapsed": 123,
"currentDaysRemaining": 987,
"currentDaysRemainingPercentage": 123,
"currentPacing": 123.45,
"currentPacingDirection": "abc123",
"currentPercentage": 987.65,
"currentValue": 123.45,
"currentValueAverage": 987.65,
"endDate": "xyz789",
"graphData": AWSJSON,
"hasSampling": true,
"history": [KPIPreviewReportHistory],
"isReversed": true,
"period": "xyz789",
"predictionDateEnd": "xyz789",
"predictionDateStart": "xyz789",
"predictionPercentage": 123.45,
"predictionValue": 987.65,
"predictionValueAverage": 123.45,
"previousDateEnd": "abc123",
"previousDateStart": "abc123",
"previousValue": 987.65,
"rollingAverage": 123.45,
"rollingAveragePercentage": 987.65,
"samplingPercent": 987,
"seasonalComponents": AWSJSON,
"startDate": "xyz789",
"status": "abc123",
"symbol": "abc123",
"targetDate": "abc123",
"targetMet": false,
"targetValue": 987.65,
"unit": "abc123"
}
KPIInput
| Field Name | Description |
|---|---|
accountId -
String
|
|
authEmail -
String
|
|
clientId -
String
|
|
cognitoUserId -
String
|
|
configuration -
KPIConfigurationInput
|
|
executionArn -
String
|
|
isTitleAutoGenerated -
Boolean
|
|
kpiSortKey -
String
|
|
notifyConfig -
notifyConfigInput
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
revisions -
Int
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
service -
SERVICE
|
|
sortKey -
String
|
|
title -
String
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
Example
{
"accountId": "abc123",
"authEmail": "xyz789",
"clientId": "xyz789",
"cognitoUserId": "xyz789",
"configuration": KPIConfigurationInput,
"executionArn": "abc123",
"isTitleAutoGenerated": false,
"kpiSortKey": "abc123",
"notifyConfig": notifyConfigInput,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"revisions": 123,
"schedEmail": "abc123",
"schedSlack": "xyz789",
"schedWebhook": "abc123",
"service": SERVICE,
"sortKey": "abc123",
"title": "xyz789",
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
KPIMAdsPreviewReportInput
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
currency -
String
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
endDate -
String
|
|
graphData -
AWSJSON
|
|
hasSampling -
Boolean
|
|
history -
[KPIPreviewReportHistory]
|
|
period -
String
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
KPIGAdsSymbol
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": true,
"currency": "xyz789",
"currentDateEnd": "xyz789",
"currentDateStart": "xyz789",
"currentDaysElapsed": 987,
"currentDaysRemaining": 123,
"currentPacing": 987.65,
"currentPacingDirection": "xyz789",
"currentPercentage": 987.65,
"currentValue": 987.65,
"currentValueAverage": 123.45,
"endDate": "xyz789",
"graphData": AWSJSON,
"hasSampling": false,
"history": [KPIPreviewReportHistory],
"period": "abc123",
"predictionDateEnd": "abc123",
"predictionDateStart": "xyz789",
"predictionPercentage": 123.45,
"predictionValue": 987.65,
"predictionValueAverage": 987.65,
"previousDateEnd": "abc123",
"previousDateStart": "abc123",
"previousValue": 987.65,
"rollingAverage": 987.65,
"rollingAveragePercentage": 123.45,
"samplingPercent": 987,
"seasonalComponents": AWSJSON,
"startDate": "xyz789",
"status": "xyz789",
"symbol": KPIGAdsSymbol,
"targetDate": "abc123",
"targetMet": false,
"targetValue": 123.45,
"unit": "abc123"
}
KPIMAdsPreviewReportResultInput
| Input Field | Description |
|---|---|
id -
ID!
|
|
message -
String
|
|
report -
KPIMAdsPreviewReportInput
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus!
|
Example
{
"id": ID,
"message": "xyz789",
"report": KPIMAdsPreviewReportInput,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIMAdsPreviewResponse
| Field Name | Description |
|---|---|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
KPIMAdsReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus
|
Example
{
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIMAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIMAdsReport
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
currency -
String
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
endDate -
String
|
|
graphData -
graphDataReport
|
|
hasSampling -
Boolean
|
|
history -
[KPIHistory]
|
|
isReversed -
Boolean
|
|
period -
String
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
KPIGAdsSymbol
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": true,
"currency": "xyz789",
"currentDateEnd": "abc123",
"currentDateStart": "abc123",
"currentDaysElapsed": 123,
"currentDaysRemaining": 123,
"currentPacing": 123.45,
"currentPacingDirection": "abc123",
"currentPercentage": 987.65,
"currentValue": 987.65,
"currentValueAverage": 987.65,
"endDate": "abc123",
"graphData": graphDataReport,
"hasSampling": false,
"history": [KPIHistory],
"isReversed": true,
"period": "xyz789",
"predictionDateEnd": "abc123",
"predictionDateStart": "abc123",
"predictionPercentage": 987.65,
"predictionValue": 123.45,
"predictionValueAverage": 987.65,
"previousDateEnd": "xyz789",
"previousDateStart": "abc123",
"previousValue": 123.45,
"rollingAverage": 123.45,
"rollingAveragePercentage": 123.45,
"samplingPercent": 123,
"seasonalComponents": AWSJSON,
"startDate": "abc123",
"status": "abc123",
"symbol": KPIGAdsSymbol,
"targetDate": "xyz789",
"targetMet": true,
"targetValue": 123.45,
"unit": "abc123"
}
KPIMetrics
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
chartOptions -
[String]
|
|
formula -
KPIMetricsFormula
|
|
group -
String
|
|
id -
String
|
|
isReversed -
Boolean
|
|
key -
String
|
|
name -
String
|
|
requiredMetrics -
[String]
|
|
symbol -
String
|
|
timeResolutions -
[String]
|
|
value -
String
|
Example
{
"calculated": false,
"chartOptions": ["abc123"],
"formula": KPIMetricsFormula,
"group": "xyz789",
"id": "xyz789",
"isReversed": true,
"key": "abc123",
"name": "xyz789",
"requiredMetrics": ["xyz789"],
"symbol": "abc123",
"timeResolutions": ["xyz789"],
"value": "abc123"
}
KPIPreviewConfigurationInput
| Input Field | Description |
|---|---|
accessToken -
String
|
|
accountId -
ID!
|
|
appEnv -
APP_ENV
|
|
authEmail -
String!
|
|
clientId -
ID!
|
|
configuration -
KPITargetConfigInput!
|
|
isPreview -
Boolean!
|
|
service -
SERVICE!
|
Example
{
"accessToken": "xyz789",
"accountId": ID,
"appEnv": APP_ENV,
"authEmail": "abc123",
"clientId": ID,
"configuration": KPITargetConfigInput,
"isPreview": false,
"service": SERVICE
}
KPIPreviewReportInput
| Field Name | Description |
|---|---|
currency -
String
|
|
currentBreakdown -
[String]
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
currentValueRemaining -
Float
|
|
endDate -
String
|
|
graphDataCumulative -
KPIReportDataCumulativeInput
|
|
graphDataSeries -
KPIReportDataSeriesInput
|
|
graphType -
String
|
|
hasSampling -
Boolean
|
|
history -
[KPIHistoryDetailsInput]
|
|
period -
String
|
|
predictionBreakdown -
[String]
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousBreakdown -
[String]
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousPercentage -
Float
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Int
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
String
|
|
targetBreakdown -
[String]
|
|
targetDate -
String
|
|
targetType -
String
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"currency": "abc123",
"currentBreakdown": ["abc123"],
"currentDateEnd": "xyz789",
"currentDateStart": "xyz789",
"currentDaysElapsed": 987,
"currentDaysRemaining": 123,
"currentPacing": 123.45,
"currentPacingDirection": "xyz789",
"currentPercentage": 987.65,
"currentValue": 987.65,
"currentValueAverage": 123.45,
"currentValueRemaining": 987.65,
"endDate": "xyz789",
"graphDataCumulative": KPIReportDataCumulativeInput,
"graphDataSeries": KPIReportDataSeriesInput,
"graphType": "abc123",
"hasSampling": true,
"history": [KPIHistoryDetailsInput],
"period": "abc123",
"predictionBreakdown": ["abc123"],
"predictionDateEnd": "xyz789",
"predictionDateStart": "abc123",
"predictionPercentage": 987.65,
"predictionValue": 987.65,
"predictionValueAverage": 987.65,
"previousBreakdown": ["abc123"],
"previousDateEnd": "abc123",
"previousDateStart": "abc123",
"previousPercentage": 987.65,
"previousValue": 123.45,
"rollingAverage": 987.65,
"rollingAveragePercentage": 123.45,
"samplingPercent": 987,
"seasonalComponents": AWSJSON,
"startDate": "abc123",
"status": "xyz789",
"symbol": "xyz789",
"targetBreakdown": ["xyz789"],
"targetDate": "xyz789",
"targetType": "abc123",
"targetValue": 987.65,
"unit": "xyz789"
}
KPIPreviewReportResultInput
| Input Field | Description |
|---|---|
errorMessage -
AWSJSON
|
|
id -
ID!
|
|
message -
String
|
|
report -
KPIPreviewReportInput
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus!
|
Example
{
"errorMessage": AWSJSON,
"id": ID,
"message": "xyz789",
"report": KPIPreviewReportInput,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIPreviewResponse
| Field Name | Description |
|---|---|
errorMessage -
AWSJSON
|
|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
KPIReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus!
|
Example
{
"errorMessage": AWSJSON,
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPIReport
| Field Name | Description |
|---|---|
calculated -
Boolean
|
|
chartImage -
String
|
|
currency -
String
|
|
currentBreakdown -
[String]
|
|
currentDateEnd -
String
|
|
currentDateStart -
String
|
|
currentDaysElapsed -
Int
|
|
currentDaysRemaining -
Int
|
|
currentDaysRemainingPercentage -
Float
|
|
currentPacing -
Float
|
|
currentPacingDirection -
String
|
|
currentPercentage -
Float
|
|
currentValue -
Float
|
|
currentValueAverage -
Float
|
|
currentValueRemaining -
Float
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
endDate -
String
|
|
graphData -
graphDataReport
|
|
graphDataCumulative -
KPIReportDataCumulative
|
|
graphDataImage -
String
|
|
graphDataSeries -
KPIReportDataSeries
|
|
graphType -
String
|
|
hasSampling -
Boolean
|
|
history -
[KPIHistoryDetails]
|
|
period -
String
|
|
predictionBreakdown -
[String]
|
|
predictionDateEnd -
String
|
|
predictionDateStart -
String
|
|
predictionPercentage -
Float
|
|
predictionValue -
Float
|
|
predictionValueAverage -
Float
|
|
previousBreakdown -
[String]
|
|
previousDateEnd -
String
|
|
previousDateStart -
String
|
|
previousPercentage -
Float
|
|
previousValue -
Float
|
|
rollingAverage -
Float
|
|
rollingAveragePercentage -
Float
|
|
samplingPercent -
Float
|
|
seasonalComponents -
AWSJSON
|
|
startDate -
String
|
|
status -
String
|
|
symbol -
String
|
|
targetBreakdown -
[String]
|
|
targetDate -
String
|
|
targetMet -
Boolean
|
|
targetType -
String
|
|
targetValue -
Float
|
|
unit -
String
|
Example
{
"calculated": false,
"chartImage": "xyz789",
"currency": "xyz789",
"currentBreakdown": ["abc123"],
"currentDateEnd": "xyz789",
"currentDateStart": "xyz789",
"currentDaysElapsed": 987,
"currentDaysRemaining": 987,
"currentDaysRemainingPercentage": 987.65,
"currentPacing": 987.65,
"currentPacingDirection": "xyz789",
"currentPercentage": 987.65,
"currentValue": 987.65,
"currentValueAverage": 987.65,
"currentValueRemaining": 123.45,
"dateCreated": "abc123",
"dateUpdated": "abc123",
"endDate": "abc123",
"graphData": graphDataReport,
"graphDataCumulative": KPIReportDataCumulative,
"graphDataImage": "abc123",
"graphDataSeries": KPIReportDataSeries,
"graphType": "xyz789",
"hasSampling": true,
"history": [KPIHistoryDetails],
"period": "xyz789",
"predictionBreakdown": ["abc123"],
"predictionDateEnd": "xyz789",
"predictionDateStart": "abc123",
"predictionPercentage": 987.65,
"predictionValue": 123.45,
"predictionValueAverage": 123.45,
"previousBreakdown": ["abc123"],
"previousDateEnd": "xyz789",
"previousDateStart": "abc123",
"previousPercentage": 987.65,
"previousValue": 987.65,
"rollingAverage": 987.65,
"rollingAveragePercentage": 123.45,
"samplingPercent": 987.65,
"seasonalComponents": AWSJSON,
"startDate": "xyz789",
"status": "abc123",
"symbol": "abc123",
"targetBreakdown": ["xyz789"],
"targetDate": "abc123",
"targetMet": true,
"targetType": "abc123",
"targetValue": 987.65,
"unit": "xyz789"
}
KPIReportDataSeriesInput
| Input Field | Description |
|---|---|
rollingAveragePercentage -
Float
|
Example
{"rollingAveragePercentage": 987.65}
KPISpreadhseetPreviewResponse
| Field Name | Description |
|---|---|
executionArn -
String
|
|
id -
ID!
|
|
jobStatus -
REPORT_STATUS
|
|
message -
String
|
|
report -
KPIGAdsReport
|
|
stage -
PREVIEW_STAGE!
|
|
status -
KPIPreviewStatus
|
Example
{
"executionArn": "abc123",
"id": ID,
"jobStatus": REPORT_STATUS,
"message": "abc123",
"report": KPIGAdsReport,
"stage": PREVIEW_STAGE,
"status": KPIPreviewStatus
}
KPISpreadsheetConfigInput
| Input Field | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
changepoints -
String
|
|
currency -
String
|
|
duration -
Int
|
|
googleSpreadsheet -
GoogleSpreadsheetInput
|
|
graphType -
GRAPH_TYPE!
|
|
holidays -
KPIHolidayTreatmentInput
|
|
isReversed -
Boolean
|
|
missingValueHandling -
String
|
|
seasonalities -
SeasonalitiesInput
|
|
startDate -
String
|
|
targetComparisonPeriod -
COMPARISON_PERIOD
|
|
targetPeriod -
KPI_PERIOD
|
|
targetType -
KPI_TARGET_TYPE
|
|
targetValue -
Int
|
Example
{
"advancedSettings": AWSJSON,
"changepoints": "xyz789",
"currency": "xyz789",
"duration": 123,
"googleSpreadsheet": GoogleSpreadsheetInput,
"graphType": GRAPH_TYPE,
"holidays": KPIHolidayTreatmentInput,
"isReversed": true,
"missingValueHandling": "xyz789",
"seasonalities": SeasonalitiesInput,
"startDate": "abc123",
"targetComparisonPeriod": COMPARISON_PERIOD,
"targetPeriod": KPI_PERIOD,
"targetType": KPI_TARGET_TYPE,
"targetValue": 123
}
KPISpreadsheetPreviewConfigurationInput
| Input Field | Description |
|---|---|
accountId -
ID!
|
|
authEmail -
String!
|
|
clientId -
ID!
|
|
configuration -
KPISpreadsheetConfigInput
|
|
isPreview -
Boolean!
|
|
service -
SERVICE!
|
Example
{
"accountId": ID,
"authEmail": "xyz789",
"clientId": ID,
"configuration": KPISpreadsheetConfigInput,
"isPreview": false,
"service": SERVICE
}
KPITargetConfigInput
| Input Field | Description |
|---|---|
advancedSettings -
AWSJSON
|
|
allCampaigns -
Boolean
|
|
campaignIds -
[String!]
|
|
filters -
AWSJSON
|
|
graphType -
GRAPH_TYPE
|
|
isTitleAutoGenerated -
Boolean!
|
|
targetComparisonPeriod -
COMPARISON_PERIOD!
|
|
targetMetricId -
String!
|
|
targetMetricName -
String!
|
|
targetPeriod -
KPI_PERIOD!
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetType -
KPI_TARGET_TYPE!
|
|
targetValue -
Float!
|
Example
{
"advancedSettings": AWSJSON,
"allCampaigns": false,
"campaignIds": ["xyz789"],
"filters": AWSJSON,
"graphType": GRAPH_TYPE,
"isTitleAutoGenerated": false,
"targetComparisonPeriod": COMPARISON_PERIOD,
"targetMetricId": "xyz789",
"targetMetricName": "abc123",
"targetPeriod": KPI_PERIOD,
"targetSegmentId": "xyz789",
"targetSegmentName": "abc123",
"targetType": KPI_TARGET_TYPE,
"targetValue": 987.65
}
KpiPreference
| Field Name | Description |
|---|---|
facebookAdsRollingAvg -
Float
|
|
googleAdsRollingAvg -
Float
|
|
googleAnalytics4RollingAvg -
Float
|
|
googleMyBusinessRollingAvg -
Float
|
|
googleSheetsRollingAvg -
Float
|
|
instagramAdsRollingAvg -
Float
|
|
linkedInAdsRollingAvg -
Float
|
|
microsoftAdsRollingAvg -
Float
|
|
tiktokAdsRollingAvg -
Float
|
|
twitterAdsRollingAvg -
Float
|
Example
{
"facebookAdsRollingAvg": 123.45,
"googleAdsRollingAvg": 123.45,
"googleAnalytics4RollingAvg": 987.65,
"googleMyBusinessRollingAvg": 123.45,
"googleSheetsRollingAvg": 123.45,
"instagramAdsRollingAvg": 987.65,
"linkedInAdsRollingAvg": 987.65,
"microsoftAdsRollingAvg": 123.45,
"tiktokAdsRollingAvg": 987.65,
"twitterAdsRollingAvg": 123.45
}
LinkedInAdsAccounts
| Field Name | Description |
|---|---|
items -
[GenericAdsAccount]
|
Example
{"items": [GenericAdsAccount]}
ListCommentInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
commentTo -
String!
|
|
pagination -
CommentPagination
|
Example
{
"accountId": "abc123",
"commentTo": "abc123",
"pagination": CommentPagination
}
LocationGroup
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
locations -
[Location]
|
Example
{
"accountId": "abc123",
"accountName": "abc123",
"locations": [Location]
}
MicrosoftAdsAccount
| Field Name | Description |
|---|---|
accounts -
[MicrosoftAdsCustomerAccount]
|
|
customerId -
String
|
|
customerName -
String
|
Example
{
"accounts": [MicrosoftAdsCustomerAccount],
"customerId": "xyz789",
"customerName": "xyz789"
}
MicrosoftAdsAccounts
| Field Name | Description |
|---|---|
items -
[MicrosoftAdsAccount]
|
Example
{"items": [MicrosoftAdsAccount]}
OAUTH_TYPE
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OutputInclusion
| Field Name | Description |
|---|---|
adjustment -
String
|
|
currentAddons -
Int
|
|
currentPlan -
Int
|
|
error -
Boolean
|
|
isIncluded -
Boolean
|
|
newPlan -
Int
|
|
title -
String
|
|
used -
Int
|
Example
{
"adjustment": "xyz789",
"currentAddons": 987,
"currentPlan": 987,
"error": true,
"isIncluded": true,
"newPlan": 987,
"title": "xyz789",
"used": 123
}
PREVIEW_STAGE
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PipelineErrorDetails
| Field Name | Description |
|---|---|
allowedAction -
PIPELINE_ALLOWED_ACTION
|
|
errorDate -
String
|
|
errorLevel -
PIPELINE_ERROR_LEVEL
|
|
errorMessage -
String
|
|
errorType -
PIPELINE_ERROR_TYPE
|
|
helpLink -
String
|
Example
{
"allowedAction": PIPELINE_ALLOWED_ACTION,
"errorDate": "abc123",
"errorLevel": PIPELINE_ERROR_LEVEL,
"errorMessage": "abc123",
"errorType": PIPELINE_ERROR_TYPE,
"helpLink": "xyz789"
}
PipelineExtension
| Field Name | Description |
|---|---|
accountId -
String
|
|
extensionId -
String
|
|
pipelineId -
String
|
|
properties -
[PipelineExtensionProperties]
|
Example
{
"accountId": "abc123",
"extensionId": "xyz789",
"pipelineId": "xyz789",
"properties": [PipelineExtensionProperties]
}
PipelineExtensionInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
addOnId -
String!
|
|
cognitoUserId -
String!
|
|
extensionId -
String!
|
|
extensionProperties -
ExtensionProperty
|
|
funnelTerms -
AWSJSON
|
Example
{
"accountId": "xyz789",
"addOnId": "abc123",
"cognitoUserId": "abc123",
"extensionId": "abc123",
"extensionProperties": ExtensionProperty,
"funnelTerms": AWSJSON
}
PublishActionInput
| Input Field | Description |
|---|---|
action -
String
|
|
id -
String
|
|
item -
InsightsInput
|
|
itemType -
ActionItemType
|
Example
{
"action": "abc123",
"id": "abc123",
"item": InsightsInput,
"itemType": ActionItemType
}
PublishActionResponse
| Field Name | Description |
|---|---|
action -
String
|
|
id -
String
|
|
item -
Insights
|
|
itemType -
ActionItemType
|
Example
{
"action": "xyz789",
"id": "xyz789",
"item": Insights,
"itemType": ActionItemType
}
PublishCommentInput
| Input Field | Description |
|---|---|
action -
String
|
|
id -
String
|
|
item -
CommentInput
|
|
itemType -
ActionItemType
|
Example
{
"action": "xyz789",
"id": "xyz789",
"item": CommentInput,
"itemType": ActionItemType
}
PublishCommentResponse
| Field Name | Description |
|---|---|
action -
String
|
|
id -
String
|
|
item -
Comment
|
|
itemType -
ActionItemType
|
Example
{
"action": "xyz789",
"id": "xyz789",
"item": Comment,
"itemType": ActionItemType
}
PublishItemUpdateInput
| Input Field | Description |
|---|---|
action -
ItemAction
|
|
id -
String
|
|
item -
AWSJSON
|
|
itemType -
ActionItemType
|
Example
{
"action": ItemAction,
"id": "xyz789",
"item": AWSJSON,
"itemType": ActionItemType
}
PurchaseExtensionAddOnInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
addOnId -
String!
|
|
cognitoUserId -
String!
|
|
extensionId -
String
|
|
invoiceImmediately -
Boolean
|
|
quantity -
Int!
|
Example
{
"accountId": "xyz789",
"addOnId": "abc123",
"cognitoUserId": "xyz789",
"extensionId": "xyz789",
"invoiceImmediately": true,
"quantity": 987
}
PurchaseExtensionInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
addOnId -
String!
|
|
cognitoUserId -
String
|
|
extensionId -
String!
|
|
extensionProperties -
ExtensionProperty
|
|
invoiceImmediately -
Boolean
|
|
quantity -
Int
|
Example
{
"accountId": "abc123",
"addOnId": "xyz789",
"cognitoUserId": "xyz789",
"extensionId": "abc123",
"extensionProperties": ExtensionProperty,
"invoiceImmediately": false,
"quantity": 987
}
PurchaseExtensionOutput
| Field Name | Description |
|---|---|
creditsApplied -
Float
|
|
description -
String
|
|
details -
[AddOnPack]
|
|
immediateCharges -
AWSJSON
|
|
proratedCharge -
Float
|
|
renewalDate -
String
|
|
tax -
Float
|
|
total -
Float
|
Example
{
"creditsApplied": 123.45,
"description": "abc123",
"details": [AddOnPack],
"immediateCharges": AWSJSON,
"proratedCharge": 123.45,
"renewalDate": "abc123",
"tax": 123.45,
"total": 987.65
}
ReSyncDataPipeLineInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
pipelineType -
PIPELINE_TYPES
|
|
sortKey -
String!
|
Example
{
"accountId": "abc123",
"cognitoUserId": "xyz789",
"pipelineType": PIPELINE_TYPES,
"sortKey": "xyz789"
}
ReTryDataPipeLineInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
pipelineType -
PIPELINE_TYPES
|
|
sortKey -
String!
|
Example
{
"accountId": "abc123",
"cognitoUserId": "abc123",
"pipelineType": PIPELINE_TYPES,
"sortKey": "abc123"
}
SERVICE
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SaveFilterInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
savedFilters -
[labelInput]
|
Example
{
"accountId": "abc123",
"cognitoUserId": "xyz789",
"savedFilters": [labelInput]
}
SaveUserPreferencesInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
preferences -
inputPreferences
|
Example
{
"accountId": "abc123",
"cognitoUserId": "xyz789",
"preferences": inputPreferences
}
SearchInsights
| Field Name | Description |
|---|---|
active -
Int
|
|
items -
[Insights]
|
|
nextToken -
String
|
|
resolved -
Int
|
Example
{
"active": 987,
"items": [Insights],
"nextToken": "xyz789",
"resolved": 123
}
SpreadsheetByDriveId
| Field Name | Description |
|---|---|
accountId -
String
|
|
driveId -
String
|
|
items -
[Spreadsheets]
|
Example
{
"accountId": "xyz789",
"driveId": "xyz789",
"items": [Spreadsheets]
}
SpreadsheetConnection
| Field Name | Description |
|---|---|
accountId -
String
|
|
clientId -
String
|
|
driveId -
String
|
|
email -
String
|
|
spreadsheetId -
String
|
|
spreadsheetLabel -
String
|
|
timezone -
String
|
|
validDates -
[SpreadsheetColumn]
|
|
validMetrics -
[SpreadsheetColumn]
|
|
worksheetId -
String
|
|
worksheetLabel -
String
|
Example
{
"accountId": "xyz789",
"clientId": "abc123",
"driveId": "xyz789",
"email": "xyz789",
"spreadsheetId": "abc123",
"spreadsheetLabel": "abc123",
"timezone": "xyz789",
"validDates": [SpreadsheetColumn],
"validMetrics": [SpreadsheetColumn],
"worksheetId": "abc123",
"worksheetLabel": "xyz789"
}
SpreadsheetConnectionInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
authId -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
driveId -
String!
|
|
email -
String!
|
|
spreadsheetId -
String
|
|
validDates -
[SpreadsheetColumnInput]
|
|
validMetrics -
[SpreadsheetColumnInput]
|
|
worksheetId -
String!
|
|
worksheetLabel -
String!
|
Example
{
"accountId": "abc123",
"authId": "abc123",
"clientId": "xyz789",
"cognitoUserId": "xyz789",
"driveId": "xyz789",
"email": "xyz789",
"spreadsheetId": "abc123",
"validDates": [SpreadsheetColumnInput],
"validMetrics": [SpreadsheetColumnInput],
"worksheetId": "abc123",
"worksheetLabel": "abc123"
}
String
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Subscription
| Field Name | Description |
|---|---|
onArchiveClient -
Client
|
|
|
Arguments
|
|
onCreateClient -
Client
|
|
|
Arguments
|
|
onDeleteClient -
Client
|
|
|
Arguments
|
|
onGetBudgetSpreadsheetPreviewResult -
BudgetPreviewResponse
|
|
|
Arguments
|
|
onUnArchiveClient -
Client
|
|
|
Arguments
|
|
Example
{
"onArchiveClient": Client,
"onCreateClient": Client,
"onDeleteClient": Client,
"onGetBudgetSpreadsheetPreviewResult": BudgetPreviewResponse,
"onUnArchiveClient": Client
}
SubscriptionInvoiceEstimate
| Field Name | Description |
|---|---|
currency -
String
|
|
description -
String
|
|
inclusion -
[OutputInclusion]
|
|
lineItems -
[SubscriptionInvoiceEstimateItem]
|
|
total -
String
|
Example
{
"currency": "xyz789",
"description": "xyz789",
"inclusion": [OutputInclusion],
"lineItems": [SubscriptionInvoiceEstimateItem],
"total": "abc123"
}
SubscriptionInvoiceEstimateItem
| Field Name | Description |
|---|---|
amount -
String
|
|
currency -
String
|
|
description -
String
|
|
entityType -
String
|
|
isDiscount -
Boolean
|
|
quantity -
Float
|
|
unitAmount -
String
|
Example
{
"amount": "xyz789",
"currency": "abc123",
"description": "xyz789",
"entityType": "xyz789",
"isDiscount": true,
"quantity": 987.65,
"unitAmount": "abc123"
}
TestWebhookInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
source -
WebhookSource!
|
|
sourceType -
WebhookSourceType!
|
|
webhookURL -
String!
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "xyz789",
"source": WebhookSource,
"sourceType": WebhookSourceType,
"webhookURL": "xyz789"
}
TiktokAdsAccounts
| Field Name | Description |
|---|---|
items -
[GenericAdsAccount]
|
Example
{"items": [GenericAdsAccount]}
TwitterAccounts
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
fundingInstruments -
[FundingInstrument]
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"fundingInstruments": [FundingInstrument]
}
TwitterAdsAccounts
| Field Name | Description |
|---|---|
items -
[TwitterAccounts]
|
Example
{"items": [TwitterAccounts]}
UpdateBudgetInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
authEmail -
String
|
|
budgetSortKey -
String
|
|
clientId -
String!
|
|
cognitoUserId -
String!
|
|
configuration -
BudgetConfigurationInput!
|
|
executionArn -
String
|
|
isTitleAutoGenerated -
Boolean!
|
|
notifyConfig -
notifyConfigInput
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
revisions -
Int!
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
service -
SERVICE!
|
|
title -
String!
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
Example
{
"accountId": "xyz789",
"authEmail": "abc123",
"budgetSortKey": "abc123",
"clientId": "xyz789",
"cognitoUserId": "abc123",
"configuration": BudgetConfigurationInput,
"executionArn": "abc123",
"isTitleAutoGenerated": false,
"notifyConfig": notifyConfigInput,
"notifySchedEmail": "xyz789",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"revisions": 123,
"schedEmail": "xyz789",
"schedSlack": "xyz789",
"schedWebhook": "xyz789",
"service": SERVICE,
"title": "xyz789",
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
UpdateBudgetPlannerInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
plannerData -
[InputPlannerMapDetails]
|
|
sortKey -
String!
|
Example
{
"accountId": "abc123",
"cognitoUserId": "abc123",
"plannerData": [InputPlannerMapDetails],
"sortKey": "abc123"
}
UpdateClientInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String!
|
|
domain -
String!
|
|
isLoadingSample -
Boolean
|
|
labels -
[labelInput]
|
|
name -
String!
|
|
revisions -
Int!
|
|
sortKey -
String!
|
Example
{
"accountId": "xyz789",
"cognitoUserId": "abc123",
"domain": "xyz789",
"isLoadingSample": true,
"labels": [labelInput],
"name": "abc123",
"revisions": 987,
"sortKey": "abc123"
}
UpdateCommentInput
| Field Name | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
commentMethod -
CommentMethod!
|
|
commentTimestamp -
String
|
|
commentTo -
String!
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
isDeleted -
Boolean
|
|
mentionedUsers -
[String]
|
|
message -
String!
|
|
revisions -
Int!
|
|
sortKey -
String!
|
|
type -
CommentType!
|
|
userId -
String!
|
Example
{
"accountId": "abc123",
"cognitoUserId": "xyz789",
"commentMethod": CommentMethod,
"commentTimestamp": "xyz789",
"commentTo": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "xyz789",
"isDeleted": true,
"mentionedUsers": ["abc123"],
"message": "xyz789",
"revisions": 123,
"sortKey": "xyz789",
"type": CommentType,
"userId": "abc123"
}
UpdateKPIInput
| Field Name | Description |
|---|---|
accountId -
String
|
|
authEmail -
String
|
|
clientId -
String
|
|
cognitoUserId -
String
|
|
configuration -
KPIConfigurationInput
|
|
executionArn -
String
|
|
isTitleAutoGenerated -
Boolean
|
|
kpiSortKey -
String
|
|
notifyConfig -
notifyConfigInput
|
|
notifySchedEmail -
String
|
|
notifySchedSlack -
String
|
|
notifySchedWebhook -
String
|
|
revisions -
Int
|
|
schedEmail -
String
|
|
schedSlack -
String
|
|
schedWebhook -
String
|
|
service -
SERVICE
|
|
title -
String
|
|
webhookEvents -
[WEBHOOK_ENUM]
|
|
webhookURL -
String
|
Example
{
"accountId": "xyz789",
"authEmail": "abc123",
"clientId": "abc123",
"cognitoUserId": "abc123",
"configuration": KPIConfigurationInput,
"executionArn": "abc123",
"isTitleAutoGenerated": false,
"kpiSortKey": "abc123",
"notifyConfig": notifyConfigInput,
"notifySchedEmail": "abc123",
"notifySchedSlack": "abc123",
"notifySchedWebhook": "xyz789",
"revisions": 987,
"schedEmail": "abc123",
"schedSlack": "abc123",
"schedWebhook": "xyz789",
"service": SERVICE,
"title": "abc123",
"webhookEvents": [WEBHOOK_ENUM],
"webhookURL": "abc123"
}
User
| Field Name | Description |
|---|---|
acceptedInvite -
Boolean
|
|
accountId -
String!
|
|
dateCreated -
String
|
|
dateLastLogin -
String
|
|
dateUpdated -
String
|
|
email -
String
|
|
firstName -
String
|
|
hash -
String
|
|
isDeleted -
Boolean
|
|
isPrimary -
Boolean
|
|
lastName -
String
|
|
logo -
String
|
|
password -
String
|
|
preferences -
UserPreferencesOutput
|
|
savedFilters -
[Label]
|
|
sortKey -
String
|
|
status -
String
|
|
userId -
String!
|
Example
{
"acceptedInvite": false,
"accountId": "xyz789",
"dateCreated": "abc123",
"dateLastLogin": "xyz789",
"dateUpdated": "xyz789",
"email": "xyz789",
"firstName": "abc123",
"hash": "xyz789",
"isDeleted": false,
"isPrimary": true,
"lastName": "xyz789",
"logo": "xyz789",
"password": "xyz789",
"preferences": UserPreferencesOutput,
"savedFilters": [Label],
"sortKey": "abc123",
"status": "xyz789",
"userId": "abc123"
}
UserInviteOutput
| Field Name | Description |
|---|---|
acceptedInvite -
Boolean
|
|
accountId -
String!
|
|
dateCreated -
String
|
|
dateUpdated -
String
|
|
email -
String
|
|
firstName -
String
|
|
isDeleted -
Boolean
|
|
isPrimary -
Boolean
|
|
lastName -
String
|
|
logo -
String
|
|
newPassword -
String
|
|
sortKey -
String
|
|
status -
String
|
|
tempPassword -
String
|
|
userId -
String!
|
Example
{
"acceptedInvite": true,
"accountId": "abc123",
"dateCreated": "xyz789",
"dateUpdated": "abc123",
"email": "xyz789",
"firstName": "abc123",
"isDeleted": true,
"isPrimary": false,
"lastName": "abc123",
"logo": "abc123",
"newPassword": "abc123",
"sortKey": "abc123",
"status": "xyz789",
"tempPassword": "xyz789",
"userId": "abc123"
}
UserPreferences
| Field Name | Description |
|---|---|
accountId -
String
|
|
preferences -
UserPreferencesOutput
|
|
sortKey -
String
|
Example
{
"accountId": "abc123",
"preferences": UserPreferencesOutput,
"sortKey": "xyz789"
}
UserPreferencesOutput
| Field Name | Description |
|---|---|
commentNotifications -
commentNotificationsPreference
|
|
emailNotifications -
EmailNotificationPreference
|
Example
{
"commentNotifications": commentNotificationsPreference,
"emailNotifications": EmailNotificationPreference
}
UserUploadInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
cognitoUserId -
String
|
|
logo -
LogoInput!
|
|
userId -
String!
|
Example
{
"accountId": "abc123",
"cognitoUserId": "abc123",
"logo": LogoInput,
"userId": "xyz789"
}
WebhookSourceType
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WorksheetsBySpreadsheetId
| Field Name | Description |
|---|---|
accountId -
String
|
|
items -
[Worksheets]
|
|
spreadsheetId -
String
|
Example
{
"accountId": "xyz789",
"items": [Worksheets],
"spreadsheetId": "abc123"
}
googleAnalytics4
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
propertyId -
String
|
|
propertyName -
String
|
|
timezone -
String
|
Example
{
"accountId": "abc123",
"accountName": "xyz789",
"currency": "xyz789",
"email": "abc123",
"hasActiveJob": true,
"propertyId": "abc123",
"propertyName": "abc123",
"timezone": "xyz789"
}
inputAcknowledgeInsight
| Input Field | Description |
|---|---|
accountId -
String!
|
|
acknowledgeMethod -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
email -
String!
|
|
feature -
String!
|
|
insightId -
String!
|
|
isLoadingSample -
Boolean
|
Example
{
"accountId": "abc123",
"acknowledgeMethod": "xyz789",
"clientId": "abc123",
"cognitoUserId": "abc123",
"email": "abc123",
"feature": "xyz789",
"insightId": "xyz789",
"isLoadingSample": false
}
inputAddInsightExternalId
| Input Field | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
externalId -
String!
|
|
insightId -
String!
|
|
isLoadingSample -
Boolean
|
|
jobType -
INSIGHTS_JOBTYPE!
|
Example
{
"accountId": "xyz789",
"clientId": "abc123",
"cognitoUserId": "xyz789",
"externalId": "xyz789",
"insightId": "abc123",
"isLoadingSample": true,
"jobType": INSIGHTS_JOBTYPE
}
inputAutomationConnection
| Input Field | Description |
|---|---|
accountId -
String!
|
|
appEnv -
String
|
|
authId -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
googleMyBusiness -
inputGoogleMyBusiness
|
Example
{
"accountId": "abc123",
"appEnv": "xyz789",
"authId": "xyz789",
"clientId": "abc123",
"cognitoUserId": "xyz789",
"googleMyBusiness": inputGoogleMyBusiness
}
inputPreferences
| Input Field | Description |
|---|---|
commentNotifications -
InputCommentNotificationPreference
|
|
emailNotifications -
summaryReportInput
|
Example
{
"commentNotifications": InputCommentNotificationPreference,
"emailNotifications": summaryReportInput
}
inputResolveUnresolveInsight
| Input Field | Description |
|---|---|
accountId -
String!
|
|
clientId -
String!
|
|
cognitoUserId -
String
|
|
email -
String!
|
|
feature -
String!
|
|
insightId -
String!
|
|
isLoadingSample -
Boolean
|
|
isResolved -
Boolean!
|
|
resolvedMethod -
String!
|
Example
{
"accountId": "abc123",
"clientId": "abc123",
"cognitoUserId": "xyz789",
"email": "abc123",
"feature": "abc123",
"insightId": "xyz789",
"isLoadingSample": false,
"isResolved": false,
"resolvedMethod": "abc123"
}
inputZapierWebhookSubscribe
| Input Field | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
cognitoUserId -
String
|
|
event -
String!
|
|
item -
String!
|
|
itemId -
String
|
|
type -
String!
|
|
url -
String!
|
Example
{
"accountId": "xyz789",
"clientId": "xyz789",
"cognitoUserId": "xyz789",
"event": "xyz789",
"item": "abc123",
"itemId": "xyz789",
"type": "abc123",
"url": "abc123"
}
inputZapierWebhookUnSubscribe
| Input Field | Description |
|---|---|
accountId -
String!
|
|
clientId -
String
|
|
cognitoUserId -
String
|
|
event -
String!
|
|
item -
String!
|
|
itemId -
String
|
|
type -
String!
|
|
url -
String!
|
Example
{
"accountId": "xyz789",
"clientId": "abc123",
"cognitoUserId": "xyz789",
"event": "abc123",
"item": "abc123",
"itemId": "xyz789",
"type": "abc123",
"url": "xyz789"
}
insightsConfiguration
| Field Name | Description |
|---|---|
advancedSettings -
advancedSettings
|
|
comparisonWindow -
Int
|
|
country -
String
|
|
device -
String
|
|
dimension -
String
|
|
filters -
Boolean
|
|
firstOccurrence -
Boolean
|
|
goals -
Boolean
|
|
isTitleAutoGenerated -
Boolean
|
|
labelName -
String
|
|
lastReportDate -
String
|
|
metric -
[String]
|
|
movement -
String
|
|
searchType -
String
|
|
status -
[Int]
|
|
targetDirection -
String
|
|
targetFrequency -
String
|
|
targetLongTerm -
Boolean
|
|
targetMaxAnom -
Float
|
|
targetMedian -
Float
|
|
targetMetricId -
String
|
|
targetMetricName -
String
|
|
targetPeriod -
KPI_PERIOD
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetSensitivity -
Float
|
|
targetThreshold -
String
|
|
targetTimePeriod -
String
|
|
trigger -
[Int]
|
|
value -
String
|
|
viewSettings -
Boolean
|
Example
{
"advancedSettings": advancedSettings,
"comparisonWindow": 987,
"country": "xyz789",
"device": "xyz789",
"dimension": "xyz789",
"filters": true,
"firstOccurrence": true,
"goals": true,
"isTitleAutoGenerated": false,
"labelName": "abc123",
"lastReportDate": "abc123",
"metric": ["xyz789"],
"movement": "abc123",
"searchType": "xyz789",
"status": [123],
"targetDirection": "xyz789",
"targetFrequency": "abc123",
"targetLongTerm": true,
"targetMaxAnom": 987.65,
"targetMedian": 987.65,
"targetMetricId": "abc123",
"targetMetricName": "abc123",
"targetPeriod": KPI_PERIOD,
"targetSegmentId": "abc123",
"targetSegmentName": "xyz789",
"targetSensitivity": 123.45,
"targetThreshold": "abc123",
"targetTimePeriod": "abc123",
"trigger": [987],
"value": "abc123",
"viewSettings": false
}
insightsConfigurationInput
| Field Name | Description |
|---|---|
advancedSettings -
advancedSettingsInput
|
|
allCampaigns -
Boolean
|
|
campaignIds -
[String]
|
|
comparisonWindow -
Int
|
|
country -
String
|
|
device -
String
|
|
dimension -
String
|
|
duration -
Int
|
|
filters -
Boolean
|
|
firstOccurrence -
Boolean
|
|
goals -
Boolean
|
|
graphType -
GRAPH_TYPE
|
|
isTitleAutoGenerated -
Boolean
|
|
labelName -
String
|
|
lastReportDate -
String
|
|
metric -
[String]
|
|
movement -
String
|
|
period -
BUDGET_PERIOD
|
|
rollOverAmount -
Float
|
|
rollOverStatus -
Boolean
|
|
searchType -
String
|
|
startDate -
String
|
|
status -
[Int]
|
|
target -
Float
|
|
targetDirection -
String
|
|
targetFrequency -
String
|
|
targetLongTerm -
Boolean
|
|
targetMaxAnom -
Float
|
|
targetMedian -
Float
|
|
targetMetricId -
String
|
|
targetMetricName -
String
|
|
targetSegmentId -
String
|
|
targetSegmentName -
String
|
|
targetSensitivity -
Float
|
|
targetThreshold -
String
|
|
targetTimePeriod -
String
|
|
threshold -
Int
|
|
title -
String
|
|
trigger -
[Int]
|
|
value -
String
|
|
viewSettings -
Boolean
|
Example
{
"advancedSettings": advancedSettingsInput,
"allCampaigns": false,
"campaignIds": ["abc123"],
"comparisonWindow": 123,
"country": "abc123",
"device": "abc123",
"dimension": "xyz789",
"duration": 987,
"filters": false,
"firstOccurrence": true,
"goals": true,
"graphType": GRAPH_TYPE,
"isTitleAutoGenerated": true,
"labelName": "abc123",
"lastReportDate": "xyz789",
"metric": ["xyz789"],
"movement": "xyz789",
"period": BUDGET_PERIOD,
"rollOverAmount": 123.45,
"rollOverStatus": true,
"searchType": "abc123",
"startDate": "abc123",
"status": [123],
"target": 987.65,
"targetDirection": "abc123",
"targetFrequency": "xyz789",
"targetLongTerm": false,
"targetMaxAnom": 987.65,
"targetMedian": 123.45,
"targetMetricId": "xyz789",
"targetMetricName": "xyz789",
"targetSegmentId": "abc123",
"targetSegmentName": "abc123",
"targetSensitivity": 987.65,
"targetThreshold": "abc123",
"targetTimePeriod": "xyz789",
"threshold": 987,
"title": "abc123",
"trigger": [123],
"value": "xyz789",
"viewSettings": false
}
linkedInAds
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
timezone -
String
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"currency": "abc123",
"email": "abc123",
"hasActiveJob": false,
"jobIds": ["xyz789"],
"timezone": "xyz789"
}
listGA4Accounts
| Field Name | Description |
|---|---|
items -
[GenericAdsAccount]
|
Example
{"items": [GenericAdsAccount]}
microsoftAds
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
customerId -
String
|
|
customerName -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
labels -
microsoftAdsLabel
|
|
timezone -
String
|
Example
{
"accountId": "abc123",
"accountName": "xyz789",
"currency": "xyz789",
"customerId": "abc123",
"customerName": "abc123",
"email": "xyz789",
"hasActiveJob": true,
"jobIds": ["xyz789"],
"labels": microsoftAdsLabel,
"timezone": "xyz789"
}
microsoftAdsInput
| Input Field | Description |
|---|---|
accountId -
String!
|
|
accountName -
String!
|
|
customerId -
String!
|
|
customerName -
String!
|
|
email -
String
|
|
labels -
microsoftAdsLabelInput
|
Example
{
"accountId": "xyz789",
"accountName": "abc123",
"customerId": "xyz789",
"customerName": "abc123",
"email": "abc123",
"labels": microsoftAdsLabelInput
}
publishItemUpdateOutput
| Field Name | Description |
|---|---|
action -
ItemAction
|
|
id -
String
|
|
item -
AWSJSON
|
|
itemType -
ActionItemType
|
Example
{
"action": ItemAction,
"id": "xyz789",
"item": AWSJSON,
"itemType": ActionItemType
}
tiktokAds
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
email -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
timezone -
String
|
Example
{
"accountId": "xyz789",
"accountName": "xyz789",
"currency": "abc123",
"email": "xyz789",
"hasActiveJob": true,
"jobIds": ["xyz789"],
"timezone": "abc123"
}
twitterAds
| Field Name | Description |
|---|---|
accountId -
String
|
|
accountName -
String
|
|
currency -
String
|
|
description -
String
|
|
email -
String
|
|
fundingInstrumentId -
String
|
|
hasActiveJob -
Boolean
|
|
jobIds -
[String]
|
|
timezone -
String
|
Example
{
"accountId": "abc123",
"accountName": "xyz789",
"currency": "xyz789",
"description": "abc123",
"email": "xyz789",
"fundingInstrumentId": "abc123",
"hasActiveJob": false,
"jobIds": ["xyz789"],
"timezone": "abc123"
}