1. Packages
  2. Airbyte Provider
  3. API Docs
  4. SourceFacebookMarketing
airbyte 0.9.0 published on Wednesday, Apr 9, 2025 by airbytehq

airbyte.SourceFacebookMarketing

Explore with Pulumi AI

SourceFacebookMarketing Resource

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceFacebookMarketing;
import com.pulumi.airbyte.SourceFacebookMarketingArgs;
import com.pulumi.airbyte.inputs.SourceFacebookMarketingConfigurationArgs;
import com.pulumi.airbyte.inputs.SourceFacebookMarketingConfigurationCredentialsArgs;
import com.pulumi.airbyte.inputs.SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauthArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var mySourceFacebookmarketing = new SourceFacebookMarketing("mySourceFacebookmarketing", SourceFacebookMarketingArgs.builder()
            .configuration(SourceFacebookMarketingConfigurationArgs.builder()
                .access_token("...my_access_token...")
                .account_ids("...")
                .ad_statuses("ADSET_PAUSED")
                .adset_statuses("IN_PROCESS")
                .campaign_statuses("PAUSED")
                .credentials(SourceFacebookMarketingConfigurationCredentialsArgs.builder()
                    .authenticateViaFacebookMarketingOauth(SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauthArgs.builder()
                        .accessToken("...my_access_token...")
                        .clientId("...my_client_id...")
                        .clientSecret("...my_client_secret...")
                        .build())
                    .build())
                .custom_insights(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .end_date("2017-01-26T00:00:00Z")
                .fetch_thumbnail_images(false)
                .insights_job_timeout(55)
                .insights_lookback_window(9)
                .page_size(7)
                .start_date("2017-01-25T00:00:00Z")
                .build())
            .definitionId("efac1af8-dd35-4940-8819-0027d27f358d")
            .secretId("...my_secret_id...")
            .workspaceId("1c443315-5b54-4630-ad55-2f2c6821ece4")
            .build());

    }
}
Copy
resources:
  mySourceFacebookmarketing:
    type: airbyte:SourceFacebookMarketing
    properties:
      configuration:
        access_token: '...my_access_token...'
        account_ids:
          - '...'
        ad_statuses:
          - ADSET_PAUSED
        adset_statuses:
          - IN_PROCESS
        campaign_statuses:
          - PAUSED
        credentials:
          authenticateViaFacebookMarketingOauth:
            accessToken: '...my_access_token...'
            clientId: '...my_client_id...'
            clientSecret: '...my_client_secret...'
        custom_insights:
          - actionBreakdowns:
              - action_reaction
            actionReportTime: impression
            breakdowns:
              - media_type
            endDate: 2017-01-26T00:00:00Z
            fields:
              - cost_per_unique_action_type
            insightsJobTimeout: 50
            insightsLookbackWindow: 9
            level: account
            name: '...my_name...'
            startDate: 2017-01-25T00:00:00Z
            timeIncrement: 33
        end_date: 2017-01-26T00:00:00Z
        fetch_thumbnail_images: false
        insights_job_timeout: 55
        insights_lookback_window: 9
        page_size: 7
        start_date: 2017-01-25T00:00:00Z
      definitionId: efac1af8-dd35-4940-8819-0027d27f358d
      secretId: '...my_secret_id...'
      workspaceId: 1c443315-5b54-4630-ad55-2f2c6821ece4
Copy

Create SourceFacebookMarketing Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SourceFacebookMarketing(name: string, args: SourceFacebookMarketingArgs, opts?: CustomResourceOptions);
@overload
def SourceFacebookMarketing(resource_name: str,
                            args: SourceFacebookMarketingArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def SourceFacebookMarketing(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            configuration: Optional[SourceFacebookMarketingConfigurationArgs] = None,
                            workspace_id: Optional[str] = None,
                            definition_id: Optional[str] = None,
                            name: Optional[str] = None,
                            secret_id: Optional[str] = None)
func NewSourceFacebookMarketing(ctx *Context, name string, args SourceFacebookMarketingArgs, opts ...ResourceOption) (*SourceFacebookMarketing, error)
public SourceFacebookMarketing(string name, SourceFacebookMarketingArgs args, CustomResourceOptions? opts = null)
public SourceFacebookMarketing(String name, SourceFacebookMarketingArgs args)
public SourceFacebookMarketing(String name, SourceFacebookMarketingArgs args, CustomResourceOptions options)
type: airbyte:SourceFacebookMarketing
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SourceFacebookMarketingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SourceFacebookMarketingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SourceFacebookMarketingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SourceFacebookMarketingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SourceFacebookMarketingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sourceFacebookMarketingResource = new Airbyte.SourceFacebookMarketing("sourceFacebookMarketingResource", new()
{
    Configuration = new Airbyte.Inputs.SourceFacebookMarketingConfigurationArgs
    {
        Credentials = new Airbyte.Inputs.SourceFacebookMarketingConfigurationCredentialsArgs
        {
            AuthenticateViaFacebookMarketingOauth = new Airbyte.Inputs.SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauthArgs
            {
                ClientId = "string",
                ClientSecret = "string",
                AccessToken = "string",
            },
            ServiceAccountKeyAuthentication = new Airbyte.Inputs.SourceFacebookMarketingConfigurationCredentialsServiceAccountKeyAuthenticationArgs
            {
                AccessToken = "string",
            },
        },
        AccountIds = new[]
        {
            "string",
        },
        CustomInsights = new[]
        {
            new Airbyte.Inputs.SourceFacebookMarketingConfigurationCustomInsightArgs
            {
                Name = "string",
                ActionBreakdowns = new[]
                {
                    "string",
                },
                ActionReportTime = "string",
                Breakdowns = new[]
                {
                    "string",
                },
                EndDate = "string",
                Fields = new[]
                {
                    "string",
                },
                InsightsJobTimeout = 0,
                InsightsLookbackWindow = 0,
                Level = "string",
                StartDate = "string",
                TimeIncrement = 0,
            },
        },
        AdsetStatuses = new[]
        {
            "string",
        },
        CampaignStatuses = new[]
        {
            "string",
        },
        AdStatuses = new[]
        {
            "string",
        },
        AccessToken = "string",
        EndDate = "string",
        FetchThumbnailImages = false,
        InsightsJobTimeout = 0,
        InsightsLookbackWindow = 0,
        PageSize = 0,
        StartDate = "string",
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
Copy
example, err := airbyte.NewSourceFacebookMarketing(ctx, "sourceFacebookMarketingResource", &airbyte.SourceFacebookMarketingArgs{
Configuration: &.SourceFacebookMarketingConfigurationArgs{
Credentials: &.SourceFacebookMarketingConfigurationCredentialsArgs{
AuthenticateViaFacebookMarketingOauth: &.SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauthArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
AccessToken: pulumi.String("string"),
},
ServiceAccountKeyAuthentication: &.SourceFacebookMarketingConfigurationCredentialsServiceAccountKeyAuthenticationArgs{
AccessToken: pulumi.String("string"),
},
},
AccountIds: pulumi.StringArray{
pulumi.String("string"),
},
CustomInsights: .SourceFacebookMarketingConfigurationCustomInsightArray{
&.SourceFacebookMarketingConfigurationCustomInsightArgs{
Name: pulumi.String("string"),
ActionBreakdowns: pulumi.StringArray{
pulumi.String("string"),
},
ActionReportTime: pulumi.String("string"),
Breakdowns: pulumi.StringArray{
pulumi.String("string"),
},
EndDate: pulumi.String("string"),
Fields: pulumi.StringArray{
pulumi.String("string"),
},
InsightsJobTimeout: pulumi.Float64(0),
InsightsLookbackWindow: pulumi.Float64(0),
Level: pulumi.String("string"),
StartDate: pulumi.String("string"),
TimeIncrement: pulumi.Float64(0),
},
},
AdsetStatuses: pulumi.StringArray{
pulumi.String("string"),
},
CampaignStatuses: pulumi.StringArray{
pulumi.String("string"),
},
AdStatuses: pulumi.StringArray{
pulumi.String("string"),
},
AccessToken: pulumi.String("string"),
EndDate: pulumi.String("string"),
FetchThumbnailImages: pulumi.Bool(false),
InsightsJobTimeout: pulumi.Float64(0),
InsightsLookbackWindow: pulumi.Float64(0),
PageSize: pulumi.Float64(0),
StartDate: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
Copy
var sourceFacebookMarketingResource = new SourceFacebookMarketing("sourceFacebookMarketingResource", SourceFacebookMarketingArgs.builder()
    .configuration(SourceFacebookMarketingConfigurationArgs.builder()
        .credentials(SourceFacebookMarketingConfigurationCredentialsArgs.builder()
            .authenticateViaFacebookMarketingOauth(SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauthArgs.builder()
                .clientId("string")
                .clientSecret("string")
                .accessToken("string")
                .build())
            .serviceAccountKeyAuthentication(SourceFacebookMarketingConfigurationCredentialsServiceAccountKeyAuthenticationArgs.builder()
                .accessToken("string")
                .build())
            .build())
        .accountIds("string")
        .customInsights(SourceFacebookMarketingConfigurationCustomInsightArgs.builder()
            .name("string")
            .actionBreakdowns("string")
            .actionReportTime("string")
            .breakdowns("string")
            .endDate("string")
            .fields("string")
            .insightsJobTimeout(0)
            .insightsLookbackWindow(0)
            .level("string")
            .startDate("string")
            .timeIncrement(0)
            .build())
        .adsetStatuses("string")
        .campaignStatuses("string")
        .adStatuses("string")
        .accessToken("string")
        .endDate("string")
        .fetchThumbnailImages(false)
        .insightsJobTimeout(0)
        .insightsLookbackWindow(0)
        .pageSize(0)
        .startDate("string")
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
Copy
source_facebook_marketing_resource = airbyte.SourceFacebookMarketing("sourceFacebookMarketingResource",
    configuration={
        "credentials": {
            "authenticate_via_facebook_marketing_oauth": {
                "client_id": "string",
                "client_secret": "string",
                "access_token": "string",
            },
            "service_account_key_authentication": {
                "access_token": "string",
            },
        },
        "account_ids": ["string"],
        "custom_insights": [{
            "name": "string",
            "action_breakdowns": ["string"],
            "action_report_time": "string",
            "breakdowns": ["string"],
            "end_date": "string",
            "fields": ["string"],
            "insights_job_timeout": 0,
            "insights_lookback_window": 0,
            "level": "string",
            "start_date": "string",
            "time_increment": 0,
        }],
        "adset_statuses": ["string"],
        "campaign_statuses": ["string"],
        "ad_statuses": ["string"],
        "access_token": "string",
        "end_date": "string",
        "fetch_thumbnail_images": False,
        "insights_job_timeout": 0,
        "insights_lookback_window": 0,
        "page_size": 0,
        "start_date": "string",
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
Copy
const sourceFacebookMarketingResource = new airbyte.SourceFacebookMarketing("sourceFacebookMarketingResource", {
    configuration: {
        credentials: {
            authenticateViaFacebookMarketingOauth: {
                clientId: "string",
                clientSecret: "string",
                accessToken: "string",
            },
            serviceAccountKeyAuthentication: {
                accessToken: "string",
            },
        },
        accountIds: ["string"],
        customInsights: [{
            name: "string",
            actionBreakdowns: ["string"],
            actionReportTime: "string",
            breakdowns: ["string"],
            endDate: "string",
            fields: ["string"],
            insightsJobTimeout: 0,
            insightsLookbackWindow: 0,
            level: "string",
            startDate: "string",
            timeIncrement: 0,
        }],
        adsetStatuses: ["string"],
        campaignStatuses: ["string"],
        adStatuses: ["string"],
        accessToken: "string",
        endDate: "string",
        fetchThumbnailImages: false,
        insightsJobTimeout: 0,
        insightsLookbackWindow: 0,
        pageSize: 0,
        startDate: "string",
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
Copy
type: airbyte:SourceFacebookMarketing
properties:
    configuration:
        accessToken: string
        accountIds:
            - string
        adStatuses:
            - string
        adsetStatuses:
            - string
        campaignStatuses:
            - string
        credentials:
            authenticateViaFacebookMarketingOauth:
                accessToken: string
                clientId: string
                clientSecret: string
            serviceAccountKeyAuthentication:
                accessToken: string
        customInsights:
            - actionBreakdowns:
                - string
              actionReportTime: string
              breakdowns:
                - string
              endDate: string
              fields:
                - string
              insightsJobTimeout: 0
              insightsLookbackWindow: 0
              level: string
              name: string
              startDate: string
              timeIncrement: 0
        endDate: string
        fetchThumbnailImages: false
        insightsJobTimeout: 0
        insightsLookbackWindow: 0
        pageSize: 0
        startDate: string
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
Copy

SourceFacebookMarketing Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SourceFacebookMarketing resource accepts the following input properties:

Configuration This property is required. SourceFacebookMarketingConfiguration
WorkspaceId This property is required. string
DefinitionId string
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
Name string
Name of the source e.g. dev-mysql-instance.
SecretId string
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
Configuration This property is required. SourceFacebookMarketingConfigurationArgs
WorkspaceId This property is required. string
DefinitionId string
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
Name string
Name of the source e.g. dev-mysql-instance.
SecretId string
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
configuration This property is required. SourceFacebookMarketingConfiguration
workspaceId This property is required. String
definitionId String
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name String
Name of the source e.g. dev-mysql-instance.
secretId String
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
configuration This property is required. SourceFacebookMarketingConfiguration
workspaceId This property is required. string
definitionId string
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name string
Name of the source e.g. dev-mysql-instance.
secretId string
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
configuration This property is required. SourceFacebookMarketingConfigurationArgs
workspace_id This property is required. str
definition_id str
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name str
Name of the source e.g. dev-mysql-instance.
secret_id str
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
configuration This property is required. Property Map
workspaceId This property is required. String
definitionId String
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name String
Name of the source e.g. dev-mysql-instance.
secretId String
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.

Outputs

All input properties are implicitly available as output properties. Additionally, the SourceFacebookMarketing resource produces the following output properties:

CreatedAt double
Id string
The provider-assigned unique ID for this managed resource.
ResourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
SourceId string
SourceType string
CreatedAt float64
Id string
The provider-assigned unique ID for this managed resource.
ResourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
SourceId string
SourceType string
createdAt Double
id String
The provider-assigned unique ID for this managed resource.
resourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
sourceId String
sourceType String
createdAt number
id string
The provider-assigned unique ID for this managed resource.
resourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
sourceId string
sourceType string
created_at float
id str
The provider-assigned unique ID for this managed resource.
resource_allocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
source_id str
source_type str
createdAt Number
id String
The provider-assigned unique ID for this managed resource.
resourceAllocation Property Map
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
sourceId String
sourceType String

Look up Existing SourceFacebookMarketing Resource

Get an existing SourceFacebookMarketing resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SourceFacebookMarketingState, opts?: CustomResourceOptions): SourceFacebookMarketing
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceFacebookMarketingConfigurationArgs] = None,
        created_at: Optional[float] = None,
        definition_id: Optional[str] = None,
        name: Optional[str] = None,
        resource_allocation: Optional[SourceFacebookMarketingResourceAllocationArgs] = None,
        secret_id: Optional[str] = None,
        source_id: Optional[str] = None,
        source_type: Optional[str] = None,
        workspace_id: Optional[str] = None) -> SourceFacebookMarketing
func GetSourceFacebookMarketing(ctx *Context, name string, id IDInput, state *SourceFacebookMarketingState, opts ...ResourceOption) (*SourceFacebookMarketing, error)
public static SourceFacebookMarketing Get(string name, Input<string> id, SourceFacebookMarketingState? state, CustomResourceOptions? opts = null)
public static SourceFacebookMarketing get(String name, Output<String> id, SourceFacebookMarketingState state, CustomResourceOptions options)
resources:  _:    type: airbyte:SourceFacebookMarketing    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Configuration SourceFacebookMarketingConfiguration
CreatedAt double
DefinitionId string
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
Name string
Name of the source e.g. dev-mysql-instance.
ResourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
SecretId string
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
SourceId string
SourceType string
WorkspaceId string
Configuration SourceFacebookMarketingConfigurationArgs
CreatedAt float64
DefinitionId string
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
Name string
Name of the source e.g. dev-mysql-instance.
ResourceAllocation SourceFacebookMarketingResourceAllocationArgs
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
SecretId string
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
SourceId string
SourceType string
WorkspaceId string
configuration SourceFacebookMarketingConfiguration
createdAt Double
definitionId String
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name String
Name of the source e.g. dev-mysql-instance.
resourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
secretId String
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
sourceId String
sourceType String
workspaceId String
configuration SourceFacebookMarketingConfiguration
createdAt number
definitionId string
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name string
Name of the source e.g. dev-mysql-instance.
resourceAllocation SourceFacebookMarketingResourceAllocation
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
secretId string
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
sourceId string
sourceType string
workspaceId string
configuration SourceFacebookMarketingConfigurationArgs
created_at float
definition_id str
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name str
Name of the source e.g. dev-mysql-instance.
resource_allocation SourceFacebookMarketingResourceAllocationArgs
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
secret_id str
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
source_id str
source_type str
workspace_id str
configuration Property Map
createdAt Number
definitionId String
The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
name String
Name of the source e.g. dev-mysql-instance.
resourceAllocation Property Map
actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
secretId String
Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
sourceId String
sourceType String
workspaceId String

Supporting Types

SourceFacebookMarketingConfiguration
, SourceFacebookMarketingConfigurationArgs

AccountIds This property is required. List<string>
The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your \n\nMeta Ads Manager\n\n. See the \n\ndocs\n\n for more information.
Credentials This property is required. SourceFacebookMarketingConfigurationCredentials
Credentials for connecting to the Facebook Marketing API
AccessToken string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
AdStatuses List<string>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
AdsetStatuses List<string>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
CampaignStatuses List<string>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
CustomInsights List<SourceFacebookMarketingConfigurationCustomInsight>
A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action*breakdowns. Click on "add" to fill this field.
EndDate string
The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
FetchThumbnailImages bool
Set to active if you want to fetch the thumbnailurl and store the result in thumbnaildata_url for each Ad Creative. Default: false
InsightsJobTimeout double
Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. Default: 60
InsightsLookbackWindow double
The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. Default: 28
PageSize double
Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. Default: 100
StartDate string
The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams.
AccountIds This property is required. []string
The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your \n\nMeta Ads Manager\n\n. See the \n\ndocs\n\n for more information.
Credentials This property is required. SourceFacebookMarketingConfigurationCredentials
Credentials for connecting to the Facebook Marketing API
AccessToken string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
AdStatuses []string
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
AdsetStatuses []string
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
CampaignStatuses []string
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
CustomInsights []SourceFacebookMarketingConfigurationCustomInsight
A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action*breakdowns. Click on "add" to fill this field.
EndDate string
The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
FetchThumbnailImages bool
Set to active if you want to fetch the thumbnailurl and store the result in thumbnaildata_url for each Ad Creative. Default: false
InsightsJobTimeout float64
Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. Default: 60
InsightsLookbackWindow float64
The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. Default: 28
PageSize float64
Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. Default: 100
StartDate string
The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams.
accountIds This property is required. List<String>
The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your \n\nMeta Ads Manager\n\n. See the \n\ndocs\n\n for more information.
credentials This property is required. SourceFacebookMarketingConfigurationCredentials
Credentials for connecting to the Facebook Marketing API
accessToken String
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
adStatuses List<String>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
adsetStatuses List<String>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
campaignStatuses List<String>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
customInsights List<SourceFacebookMarketingConfigurationCustomInsight>
A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action*breakdowns. Click on "add" to fill this field.
endDate String
The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fetchThumbnailImages Boolean
Set to active if you want to fetch the thumbnailurl and store the result in thumbnaildata_url for each Ad Creative. Default: false
insightsJobTimeout Double
Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. Default: 60
insightsLookbackWindow Double
The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. Default: 28
pageSize Double
Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. Default: 100
startDate String
The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams.
accountIds This property is required. string[]
The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your \n\nMeta Ads Manager\n\n. See the \n\ndocs\n\n for more information.
credentials This property is required. SourceFacebookMarketingConfigurationCredentials
Credentials for connecting to the Facebook Marketing API
accessToken string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
adStatuses string[]
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
adsetStatuses string[]
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
campaignStatuses string[]
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
customInsights SourceFacebookMarketingConfigurationCustomInsight[]
A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action*breakdowns. Click on "add" to fill this field.
endDate string
The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fetchThumbnailImages boolean
Set to active if you want to fetch the thumbnailurl and store the result in thumbnaildata_url for each Ad Creative. Default: false
insightsJobTimeout number
Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. Default: 60
insightsLookbackWindow number
The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. Default: 28
pageSize number
Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. Default: 100
startDate string
The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams.
account_ids This property is required. Sequence[str]
The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your \n\nMeta Ads Manager\n\n. See the \n\ndocs\n\n for more information.
credentials This property is required. SourceFacebookMarketingConfigurationCredentials
Credentials for connecting to the Facebook Marketing API
access_token str
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
ad_statuses Sequence[str]
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
adset_statuses Sequence[str]
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
campaign_statuses Sequence[str]
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
custom_insights Sequence[SourceFacebookMarketingConfigurationCustomInsight]
A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action*breakdowns. Click on "add" to fill this field.
end_date str
The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fetch_thumbnail_images bool
Set to active if you want to fetch the thumbnailurl and store the result in thumbnaildata_url for each Ad Creative. Default: false
insights_job_timeout float
Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. Default: 60
insights_lookback_window float
The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. Default: 28
page_size float
Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. Default: 100
start_date str
The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams.
accountIds This property is required. List<String>
The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your \n\nMeta Ads Manager\n\n. See the \n\ndocs\n\n for more information.
credentials This property is required. Property Map
Credentials for connecting to the Facebook Marketing API
accessToken String
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
adStatuses List<String>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
adsetStatuses List<String>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
campaignStatuses List<String>
Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out.
customInsights List<Property Map>
A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action*breakdowns. Click on "add" to fill this field.
endDate String
The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fetchThumbnailImages Boolean
Set to active if you want to fetch the thumbnailurl and store the result in thumbnaildata_url for each Ad Creative. Default: false
insightsJobTimeout Number
Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. Default: 60
insightsLookbackWindow Number
The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. Default: 28
pageSize Number
Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. Default: 100
startDate String
The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams.

SourceFacebookMarketingConfigurationCredentials
, SourceFacebookMarketingConfigurationCredentialsArgs

SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauth
, SourceFacebookMarketingConfigurationCredentialsAuthenticateViaFacebookMarketingOauthArgs

ClientId This property is required. string
Client ID for the Facebook Marketing API
ClientSecret This property is required. string
Client Secret for the Facebook Marketing API
AccessToken string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
ClientId This property is required. string
Client ID for the Facebook Marketing API
ClientSecret This property is required. string
Client Secret for the Facebook Marketing API
AccessToken string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
clientId This property is required. String
Client ID for the Facebook Marketing API
clientSecret This property is required. String
Client Secret for the Facebook Marketing API
accessToken String
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
clientId This property is required. string
Client ID for the Facebook Marketing API
clientSecret This property is required. string
Client Secret for the Facebook Marketing API
accessToken string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
client_id This property is required. str
Client ID for the Facebook Marketing API
client_secret This property is required. str
Client Secret for the Facebook Marketing API
access_token str
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
clientId This property is required. String
Client ID for the Facebook Marketing API
clientSecret This property is required. String
Client Secret for the Facebook Marketing API
accessToken String
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.

SourceFacebookMarketingConfigurationCredentialsServiceAccountKeyAuthentication
, SourceFacebookMarketingConfigurationCredentialsServiceAccountKeyAuthenticationArgs

AccessToken This property is required. string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
AccessToken This property is required. string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
accessToken This property is required. String
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
accessToken This property is required. string
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
access_token This property is required. str
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.
accessToken This property is required. String
The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions \n\nadsmanagement, adsread, readinsights, businessmanagement\n\n. Then click on "Get token". See the \n\ndocs\n\n for more information.

SourceFacebookMarketingConfigurationCustomInsight
, SourceFacebookMarketingConfigurationCustomInsightArgs

Name This property is required. string
The name value of insight
ActionBreakdowns List<string>
A list of chosen actionbreakdowns for actionbreakdowns
ActionReportTime string
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with actionreporttime=impression, you see a conversion on Jan 1st. When you query the API with actionreporttime=conversion, you see a conversion on Jan 2nd. Default: "mixed"; must be one of ["conversion", "impression", "mixed"]
Breakdowns List<string>
A list of chosen breakdowns for breakdowns
EndDate string
The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
Fields List<string>
A list of chosen fields for fields parameter
InsightsJobTimeout double
The insights job timeout. Default: 60
InsightsLookbackWindow double
The attribution window. Default: 28
Level string
Chosen level for API. Default: "ad"; must be one of ["ad", "adset", "campaign", "account"]
StartDate string
The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z.
TimeIncrement double
Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. Default: 1
Name This property is required. string
The name value of insight
ActionBreakdowns []string
A list of chosen actionbreakdowns for actionbreakdowns
ActionReportTime string
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with actionreporttime=impression, you see a conversion on Jan 1st. When you query the API with actionreporttime=conversion, you see a conversion on Jan 2nd. Default: "mixed"; must be one of ["conversion", "impression", "mixed"]
Breakdowns []string
A list of chosen breakdowns for breakdowns
EndDate string
The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
Fields []string
A list of chosen fields for fields parameter
InsightsJobTimeout float64
The insights job timeout. Default: 60
InsightsLookbackWindow float64
The attribution window. Default: 28
Level string
Chosen level for API. Default: "ad"; must be one of ["ad", "adset", "campaign", "account"]
StartDate string
The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z.
TimeIncrement float64
Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. Default: 1
name This property is required. String
The name value of insight
actionBreakdowns List<String>
A list of chosen actionbreakdowns for actionbreakdowns
actionReportTime String
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with actionreporttime=impression, you see a conversion on Jan 1st. When you query the API with actionreporttime=conversion, you see a conversion on Jan 2nd. Default: "mixed"; must be one of ["conversion", "impression", "mixed"]
breakdowns List<String>
A list of chosen breakdowns for breakdowns
endDate String
The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fields List<String>
A list of chosen fields for fields parameter
insightsJobTimeout Double
The insights job timeout. Default: 60
insightsLookbackWindow Double
The attribution window. Default: 28
level String
Chosen level for API. Default: "ad"; must be one of ["ad", "adset", "campaign", "account"]
startDate String
The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z.
timeIncrement Double
Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. Default: 1
name This property is required. string
The name value of insight
actionBreakdowns string[]
A list of chosen actionbreakdowns for actionbreakdowns
actionReportTime string
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with actionreporttime=impression, you see a conversion on Jan 1st. When you query the API with actionreporttime=conversion, you see a conversion on Jan 2nd. Default: "mixed"; must be one of ["conversion", "impression", "mixed"]
breakdowns string[]
A list of chosen breakdowns for breakdowns
endDate string
The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fields string[]
A list of chosen fields for fields parameter
insightsJobTimeout number
The insights job timeout. Default: 60
insightsLookbackWindow number
The attribution window. Default: 28
level string
Chosen level for API. Default: "ad"; must be one of ["ad", "adset", "campaign", "account"]
startDate string
The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z.
timeIncrement number
Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. Default: 1
name This property is required. str
The name value of insight
action_breakdowns Sequence[str]
A list of chosen actionbreakdowns for actionbreakdowns
action_report_time str
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with actionreporttime=impression, you see a conversion on Jan 1st. When you query the API with actionreporttime=conversion, you see a conversion on Jan 2nd. Default: "mixed"; must be one of ["conversion", "impression", "mixed"]
breakdowns Sequence[str]
A list of chosen breakdowns for breakdowns
end_date str
The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fields Sequence[str]
A list of chosen fields for fields parameter
insights_job_timeout float
The insights job timeout. Default: 60
insights_lookback_window float
The attribution window. Default: 28
level str
Chosen level for API. Default: "ad"; must be one of ["ad", "adset", "campaign", "account"]
start_date str
The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z.
time_increment float
Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. Default: 1
name This property is required. String
The name value of insight
actionBreakdowns List<String>
A list of chosen actionbreakdowns for actionbreakdowns
actionReportTime String
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with actionreporttime=impression, you see a conversion on Jan 1st. When you query the API with actionreporttime=conversion, you see a conversion on Jan 2nd. Default: "mixed"; must be one of ["conversion", "impression", "mixed"]
breakdowns List<String>
A list of chosen breakdowns for breakdowns
endDate String
The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data.
fields List<String>
A list of chosen fields for fields parameter
insightsJobTimeout Number
The insights job timeout. Default: 60
insightsLookbackWindow Number
The attribution window. Default: 28
level String
Chosen level for API. Default: "ad"; must be one of ["ad", "adset", "campaign", "account"]
startDate String
The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z.
timeIncrement Number
Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. Default: 1

SourceFacebookMarketingResourceAllocation
, SourceFacebookMarketingResourceAllocationArgs

Default SourceFacebookMarketingResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
JobSpecifics []SourceFacebookMarketingResourceAllocationJobSpecific
default SourceFacebookMarketingResourceAllocationDefault
optional resource requirements to run workers (blank for unbounded allocations)
jobSpecifics SourceFacebookMarketingResourceAllocationJobSpecific[]
default Property Map
optional resource requirements to run workers (blank for unbounded allocations)
jobSpecifics List<Property Map>

SourceFacebookMarketingResourceAllocationDefault
, SourceFacebookMarketingResourceAllocationDefaultArgs

SourceFacebookMarketingResourceAllocationJobSpecific
, SourceFacebookMarketingResourceAllocationJobSpecificArgs

JobType string
enum that describes the different types of jobs that the platform runs. must be one of ["getspec", "checkconnection", "discoverschema", "sync", "resetconnection", "connection_updater", "replicate"]
ResourceRequirements SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
JobType string
enum that describes the different types of jobs that the platform runs. must be one of ["getspec", "checkconnection", "discoverschema", "sync", "resetconnection", "connection_updater", "replicate"]
ResourceRequirements SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
jobType String
enum that describes the different types of jobs that the platform runs. must be one of ["getspec", "checkconnection", "discoverschema", "sync", "resetconnection", "connection_updater", "replicate"]
resourceRequirements SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
jobType string
enum that describes the different types of jobs that the platform runs. must be one of ["getspec", "checkconnection", "discoverschema", "sync", "resetconnection", "connection_updater", "replicate"]
resourceRequirements SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
job_type str
enum that describes the different types of jobs that the platform runs. must be one of ["getspec", "checkconnection", "discoverschema", "sync", "resetconnection", "connection_updater", "replicate"]
resource_requirements SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirements
optional resource requirements to run workers (blank for unbounded allocations)
jobType String
enum that describes the different types of jobs that the platform runs. must be one of ["getspec", "checkconnection", "discoverschema", "sync", "resetconnection", "connection_updater", "replicate"]
resourceRequirements Property Map
optional resource requirements to run workers (blank for unbounded allocations)

SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirements
, SourceFacebookMarketingResourceAllocationJobSpecificResourceRequirementsArgs

Import

$ pulumi import airbyte:index/sourceFacebookMarketing:SourceFacebookMarketing my_airbyte_source_facebook_marketing ""
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
airbyte airbytehq/terraform-provider-airbyte
License
Notes
This Pulumi package is based on the airbyte Terraform Provider.