mirror of
https://github.com/n8n-io/n8n.git
synced 2024-08-16 08:30:26 +03:00
Ad get by account
This commit is contained in:
parent
94278b2e56
commit
39d7f16840
@ -33,6 +33,9 @@ export const adOperations = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'get'
|
||||
],
|
||||
@ -76,6 +79,9 @@ export const adFields = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'get'
|
||||
],
|
||||
@ -94,6 +100,9 @@ export const adFields = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'get'
|
||||
],
|
||||
@ -112,6 +121,9 @@ export const adFields = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'get'
|
||||
],
|
||||
@ -130,6 +142,9 @@ export const adFields = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'get'
|
||||
],
|
||||
@ -149,6 +164,9 @@ export const adFields = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'get'
|
||||
],
|
||||
@ -251,28 +269,36 @@ export const adFields = [
|
||||
typeOptions: {
|
||||
multipleValues: true
|
||||
},
|
||||
default: 'impression',
|
||||
options: [
|
||||
{
|
||||
displayName: 'Status',
|
||||
displayName: 'Status Properties',
|
||||
name: 'properties',
|
||||
values: [
|
||||
{
|
||||
name: 'ACTIVE',
|
||||
value: 'ACTIVE'
|
||||
},
|
||||
{
|
||||
name: 'ARCHIVED',
|
||||
value: 'ARCHIVED'
|
||||
},
|
||||
{
|
||||
name: 'DELETED',
|
||||
value: 'DELETED'
|
||||
},
|
||||
{
|
||||
name: 'PAUSED',
|
||||
value: 'PAUSED'
|
||||
},
|
||||
displayName: 'Status',
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
default: '',
|
||||
description: 'Effective status.',
|
||||
options: [
|
||||
{
|
||||
name: 'ACTIVE',
|
||||
value: 'ACTIVE'
|
||||
},
|
||||
{
|
||||
name: 'ARCHIVED',
|
||||
value: 'ARCHIVED'
|
||||
},
|
||||
{
|
||||
name: 'DELETED',
|
||||
value: 'DELETED'
|
||||
},
|
||||
{
|
||||
name: 'PAUSED',
|
||||
value: 'PAUSED'
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -329,6 +355,9 @@ export const adFields = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'create'
|
||||
],
|
||||
@ -344,6 +373,9 @@ export const adFields = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'ad'
|
||||
],
|
||||
operation: [
|
||||
'create'
|
||||
],
|
||||
|
@ -142,6 +142,9 @@ export const adInsightsFields = [
|
||||
description: 'Insert JSON data instead of manual parameter selection.',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'insightsReport'
|
||||
],
|
||||
type: [
|
||||
'ad', 'adAccount', 'adCampaign', 'adSet'
|
||||
],
|
||||
@ -483,7 +486,7 @@ export const adInsightsFields = [
|
||||
type: 'fixedCollection',
|
||||
default: 'properties',
|
||||
description: 'Filters on the report data. This parameter is an array of filter objects.',
|
||||
tyoeOptions: {
|
||||
typeOptions: {
|
||||
multipleValues: true
|
||||
},
|
||||
options: [
|
||||
|
Loading…
Reference in New Issue
Block a user