SourceLinkedinAds Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const mySourceLinkedinads = new airbyte.SourceLinkedinAds("my_source_linkedinads", {
configuration: {
accountIds: [4],
adAnalyticsReports: [{
name: "...my_name...",
pivotBy: "MEMBER_JOB_TITLE",
timeGranularity: "MONTHLY",
}],
additionalProperties: "{ \"see\": \"documentation\" }",
credentials: {
accessToken: {
accessToken: "...my_access_token...",
},
},
lookbackWindow: 3,
numWorkers: 34,
startDate: "2021-05-17",
},
definitionId: "6103991f-50f8-4ff5-a7c2-f07535bd7995",
name: "...my_name...",
secretId: "...my_secret_id...",
workspaceId: "a6809f5e-180e-4fd3-8ff7-576172bbda48",
});
import pulumi
import pulumi_airbyte as airbyte
my_source_linkedinads = airbyte.SourceLinkedinAds("my_source_linkedinads",
configuration={
"account_ids": [4],
"ad_analytics_reports": [{
"name": "...my_name...",
"pivot_by": "MEMBER_JOB_TITLE",
"time_granularity": "MONTHLY",
}],
"additional_properties": "{ \"see\": \"documentation\" }",
"credentials": {
"access_token": {
"access_token": "...my_access_token...",
},
},
"lookback_window": 3,
"num_workers": 34,
"start_date": "2021-05-17",
},
definition_id="6103991f-50f8-4ff5-a7c2-f07535bd7995",
name="...my_name...",
secret_id="...my_secret_id...",
workspace_id="a6809f5e-180e-4fd3-8ff7-576172bbda48")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/airbyte/airbyte"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := airbyte.NewSourceLinkedinAds(ctx, "my_source_linkedinads", &airbyte.SourceLinkedinAdsArgs{
Configuration: &airbyte.SourceLinkedinAdsConfigurationArgs{
AccountIds: pulumi.Float64Array{
pulumi.Float64(4),
},
AdAnalyticsReports: airbyte.SourceLinkedinAdsConfigurationAdAnalyticsReportArray{
&airbyte.SourceLinkedinAdsConfigurationAdAnalyticsReportArgs{
Name: pulumi.String("...my_name..."),
PivotBy: pulumi.String("MEMBER_JOB_TITLE"),
TimeGranularity: pulumi.String("MONTHLY"),
},
},
AdditionalProperties: pulumi.String("{ \"see\": \"documentation\" }"),
Credentials: &airbyte.SourceLinkedinAdsConfigurationCredentialsArgs{
AccessToken: &airbyte.SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs{
AccessToken: pulumi.String("...my_access_token..."),
},
},
LookbackWindow: pulumi.Float64(3),
NumWorkers: pulumi.Float64(34),
StartDate: pulumi.String("2021-05-17"),
},
DefinitionId: pulumi.String("6103991f-50f8-4ff5-a7c2-f07535bd7995"),
Name: pulumi.String("...my_name..."),
SecretId: pulumi.String("...my_secret_id..."),
WorkspaceId: pulumi.String("a6809f5e-180e-4fd3-8ff7-576172bbda48"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Airbyte = Pulumi.Airbyte;
return await Deployment.RunAsync(() =>
{
var mySourceLinkedinads = new Airbyte.SourceLinkedinAds("my_source_linkedinads", new()
{
Configuration = new Airbyte.Inputs.SourceLinkedinAdsConfigurationArgs
{
AccountIds = new[]
{
4,
},
AdAnalyticsReports = new[]
{
new Airbyte.Inputs.SourceLinkedinAdsConfigurationAdAnalyticsReportArgs
{
Name = "...my_name...",
PivotBy = "MEMBER_JOB_TITLE",
TimeGranularity = "MONTHLY",
},
},
AdditionalProperties = "{ \"see\": \"documentation\" }",
Credentials = new Airbyte.Inputs.SourceLinkedinAdsConfigurationCredentialsArgs
{
AccessToken = new Airbyte.Inputs.SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs
{
AccessToken = "...my_access_token...",
},
},
LookbackWindow = 3,
NumWorkers = 34,
StartDate = "2021-05-17",
},
DefinitionId = "6103991f-50f8-4ff5-a7c2-f07535bd7995",
Name = "...my_name...",
SecretId = "...my_secret_id...",
WorkspaceId = "a6809f5e-180e-4fd3-8ff7-576172bbda48",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceLinkedinAds;
import com.pulumi.airbyte.SourceLinkedinAdsArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinAdsConfigurationArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinAdsConfigurationCredentialsArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs;
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 mySourceLinkedinads = new SourceLinkedinAds("mySourceLinkedinads", SourceLinkedinAdsArgs.builder()
.configuration(SourceLinkedinAdsConfigurationArgs.builder()
.accountIds(4.0)
.adAnalyticsReports(SourceLinkedinAdsConfigurationAdAnalyticsReportArgs.builder()
.name("...my_name...")
.pivotBy("MEMBER_JOB_TITLE")
.timeGranularity("MONTHLY")
.build())
.additionalProperties("{ \"see\": \"documentation\" }")
.credentials(SourceLinkedinAdsConfigurationCredentialsArgs.builder()
.accessToken(SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs.builder()
.accessToken("...my_access_token...")
.build())
.build())
.lookbackWindow(3.0)
.numWorkers(34.0)
.startDate("2021-05-17")
.build())
.definitionId("6103991f-50f8-4ff5-a7c2-f07535bd7995")
.name("...my_name...")
.secretId("...my_secret_id...")
.workspaceId("a6809f5e-180e-4fd3-8ff7-576172bbda48")
.build());
}
}
resources:
mySourceLinkedinads:
type: airbyte:SourceLinkedinAds
name: my_source_linkedinads
properties:
configuration:
accountIds:
- 4
adAnalyticsReports:
- name: '...my_name...'
pivotBy: MEMBER_JOB_TITLE
timeGranularity: MONTHLY
additionalProperties: '{ "see": "documentation" }'
credentials:
accessToken:
accessToken: '...my_access_token...'
lookbackWindow: 3
numWorkers: 34
startDate: 2021-05-17
definitionId: 6103991f-50f8-4ff5-a7c2-f07535bd7995
name: '...my_name...'
secretId: '...my_secret_id...'
workspaceId: a6809f5e-180e-4fd3-8ff7-576172bbda48
Create SourceLinkedinAds Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceLinkedinAds(name: string, args: SourceLinkedinAdsArgs, opts?: CustomResourceOptions);@overload
def SourceLinkedinAds(resource_name: str,
args: SourceLinkedinAdsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceLinkedinAds(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceLinkedinAdsConfigurationArgs] = None,
workspace_id: Optional[str] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
secret_id: Optional[str] = None)func NewSourceLinkedinAds(ctx *Context, name string, args SourceLinkedinAdsArgs, opts ...ResourceOption) (*SourceLinkedinAds, error)public SourceLinkedinAds(string name, SourceLinkedinAdsArgs args, CustomResourceOptions? opts = null)
public SourceLinkedinAds(String name, SourceLinkedinAdsArgs args)
public SourceLinkedinAds(String name, SourceLinkedinAdsArgs args, CustomResourceOptions options)
type: airbyte:SourceLinkedinAds
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SourceLinkedinAdsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SourceLinkedinAdsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SourceLinkedinAdsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceLinkedinAdsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceLinkedinAdsArgs
- 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 sourceLinkedinAdsResource = new Airbyte.SourceLinkedinAds("sourceLinkedinAdsResource", new()
{
Configuration = new Airbyte.Inputs.SourceLinkedinAdsConfigurationArgs
{
StartDate = "string",
AccountIds = new[]
{
0,
},
AdAnalyticsReports = new[]
{
new Airbyte.Inputs.SourceLinkedinAdsConfigurationAdAnalyticsReportArgs
{
Name = "string",
PivotBy = "string",
TimeGranularity = "string",
},
},
AdditionalProperties = "string",
Credentials = new Airbyte.Inputs.SourceLinkedinAdsConfigurationCredentialsArgs
{
AccessToken = new Airbyte.Inputs.SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs
{
AccessToken = "string",
},
OAuth20 = new Airbyte.Inputs.SourceLinkedinAdsConfigurationCredentialsOAuth20Args
{
ClientId = "string",
ClientSecret = "string",
RefreshToken = "string",
},
},
LookbackWindow = 0,
NumWorkers = 0,
},
WorkspaceId = "string",
DefinitionId = "string",
Name = "string",
SecretId = "string",
});
example, err := airbyte.NewSourceLinkedinAds(ctx, "sourceLinkedinAdsResource", &airbyte.SourceLinkedinAdsArgs{
Configuration: &airbyte.SourceLinkedinAdsConfigurationArgs{
StartDate: pulumi.String("string"),
AccountIds: pulumi.Float64Array{
pulumi.Float64(0),
},
AdAnalyticsReports: airbyte.SourceLinkedinAdsConfigurationAdAnalyticsReportArray{
&airbyte.SourceLinkedinAdsConfigurationAdAnalyticsReportArgs{
Name: pulumi.String("string"),
PivotBy: pulumi.String("string"),
TimeGranularity: pulumi.String("string"),
},
},
AdditionalProperties: pulumi.String("string"),
Credentials: &airbyte.SourceLinkedinAdsConfigurationCredentialsArgs{
AccessToken: &airbyte.SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs{
AccessToken: pulumi.String("string"),
},
OAuth20: &airbyte.SourceLinkedinAdsConfigurationCredentialsOAuth20Args{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
RefreshToken: pulumi.String("string"),
},
},
LookbackWindow: pulumi.Float64(0),
NumWorkers: pulumi.Float64(0),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceLinkedinAdsResource = new SourceLinkedinAds("sourceLinkedinAdsResource", SourceLinkedinAdsArgs.builder()
.configuration(SourceLinkedinAdsConfigurationArgs.builder()
.startDate("string")
.accountIds(0.0)
.adAnalyticsReports(SourceLinkedinAdsConfigurationAdAnalyticsReportArgs.builder()
.name("string")
.pivotBy("string")
.timeGranularity("string")
.build())
.additionalProperties("string")
.credentials(SourceLinkedinAdsConfigurationCredentialsArgs.builder()
.accessToken(SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs.builder()
.accessToken("string")
.build())
.oAuth20(SourceLinkedinAdsConfigurationCredentialsOAuth20Args.builder()
.clientId("string")
.clientSecret("string")
.refreshToken("string")
.build())
.build())
.lookbackWindow(0.0)
.numWorkers(0.0)
.build())
.workspaceId("string")
.definitionId("string")
.name("string")
.secretId("string")
.build());
source_linkedin_ads_resource = airbyte.SourceLinkedinAds("sourceLinkedinAdsResource",
configuration={
"start_date": "string",
"account_ids": [0],
"ad_analytics_reports": [{
"name": "string",
"pivot_by": "string",
"time_granularity": "string",
}],
"additional_properties": "string",
"credentials": {
"access_token": {
"access_token": "string",
},
"o_auth20": {
"client_id": "string",
"client_secret": "string",
"refresh_token": "string",
},
},
"lookback_window": 0,
"num_workers": 0,
},
workspace_id="string",
definition_id="string",
name="string",
secret_id="string")
const sourceLinkedinAdsResource = new airbyte.SourceLinkedinAds("sourceLinkedinAdsResource", {
configuration: {
startDate: "string",
accountIds: [0],
adAnalyticsReports: [{
name: "string",
pivotBy: "string",
timeGranularity: "string",
}],
additionalProperties: "string",
credentials: {
accessToken: {
accessToken: "string",
},
oAuth20: {
clientId: "string",
clientSecret: "string",
refreshToken: "string",
},
},
lookbackWindow: 0,
numWorkers: 0,
},
workspaceId: "string",
definitionId: "string",
name: "string",
secretId: "string",
});
type: airbyte:SourceLinkedinAds
properties:
configuration:
accountIds:
- 0
adAnalyticsReports:
- name: string
pivotBy: string
timeGranularity: string
additionalProperties: string
credentials:
accessToken:
accessToken: string
oAuth20:
clientId: string
clientSecret: string
refreshToken: string
lookbackWindow: 0
numWorkers: 0
startDate: string
definitionId: string
name: string
secretId: string
workspaceId: string
SourceLinkedinAds 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 SourceLinkedinAds resource accepts the following input properties:
- Configuration
Source
Linkedin Ads Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Workspace
Id string - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
Source
Linkedin Ads Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Workspace
Id string - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Linkedin Ads Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id String - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Linkedin Ads Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id string - definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Linkedin Ads Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace_
id str - definition_
id str - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; 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 Property Map
- The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id String - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secret
Id 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 SourceLinkedinAds resource produces the following output properties:
- Created
At double - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceLinkedin Ads Resource Allocation - 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 string - Source
Type string
- Created
At float64 - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceLinkedin Ads Resource Allocation - 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 string - Source
Type string
- created
At Double - id String
- The provider-assigned unique ID for this managed resource.
- resource
Allocation SourceLinkedin Ads Resource Allocation - 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 String - source
Type String
- created
At number - id string
- The provider-assigned unique ID for this managed resource.
- resource
Allocation SourceLinkedin Ads Resource Allocation - 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 string - source
Type string
- created_
at float - id str
- The provider-assigned unique ID for this managed resource.
- resource_
allocation SourceLinkedin Ads Resource Allocation - 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
- created
At Number - id String
- The provider-assigned unique ID for this managed resource.
- resource
Allocation 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.
- source
Id String - source
Type String
Look up Existing SourceLinkedinAds Resource
Get an existing SourceLinkedinAds 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?: SourceLinkedinAdsState, opts?: CustomResourceOptions): SourceLinkedinAds@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceLinkedinAdsConfigurationArgs] = None,
created_at: Optional[float] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
resource_allocation: Optional[SourceLinkedinAdsResourceAllocationArgs] = None,
secret_id: Optional[str] = None,
source_id: Optional[str] = None,
source_type: Optional[str] = None,
workspace_id: Optional[str] = None) -> SourceLinkedinAdsfunc GetSourceLinkedinAds(ctx *Context, name string, id IDInput, state *SourceLinkedinAdsState, opts ...ResourceOption) (*SourceLinkedinAds, error)public static SourceLinkedinAds Get(string name, Input<string> id, SourceLinkedinAdsState? state, CustomResourceOptions? opts = null)public static SourceLinkedinAds get(String name, Output<String> id, SourceLinkedinAdsState state, CustomResourceOptions options)resources: _: type: airbyte:SourceLinkedinAds get: id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Configuration
Source
Linkedin Ads Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Created
At double - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceLinkedin Ads Resource Allocation - 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 string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Source
Id string - Source
Type string - Workspace
Id string
- Configuration
Source
Linkedin Ads Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Created
At float64 - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceLinkedin Ads Resource Allocation Args - 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 string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Source
Id string - Source
Type string - Workspace
Id string
- configuration
Source
Linkedin Ads Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At Double - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceLinkedin Ads Resource Allocation - 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 String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id String - source
Type String - workspace
Id String
- configuration
Source
Linkedin Ads Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At number - definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceLinkedin Ads Resource Allocation - 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 string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id string - source
Type string - workspace
Id string
- configuration
Source
Linkedin Ads Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created_
at float - definition_
id str - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- resource_
allocation SourceLinkedin Ads Resource Allocation Args - 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
- The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At Number - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "137ece28-5434-455c-8f34-69dc3782f451"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation 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.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id String - source
Type String - workspace
Id String
Supporting Types
SourceLinkedinAdsConfiguration, SourceLinkedinAdsConfigurationArgs
- Start
Date string - UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated.
- Account
Ids List<double> - Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the \n\nLinkedIn docs\n\n to locate these IDs. Default: []
- Ad
Analytics List<SourceReports Linkedin Ads Configuration Ad Analytics Report> - Additional
Properties string - Parsed as JSON.
- Credentials
Source
Linkedin Ads Configuration Credentials - Lookback
Window double - How far into the past to look for records. (in days). Default: 0
- Num
Workers double - The number of workers to use for the connector. This is used to limit the number of concurrent requests to the LinkedIn Ads API. If not set, the default is 3 workers. Default: 3
- Start
Date string - UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated.
- Account
Ids []float64 - Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the \n\nLinkedIn docs\n\n to locate these IDs. Default: []
- Ad
Analytics []SourceReports Linkedin Ads Configuration Ad Analytics Report - Additional
Properties string - Parsed as JSON.
- Credentials
Source
Linkedin Ads Configuration Credentials - Lookback
Window float64 - How far into the past to look for records. (in days). Default: 0
- Num
Workers float64 - The number of workers to use for the connector. This is used to limit the number of concurrent requests to the LinkedIn Ads API. If not set, the default is 3 workers. Default: 3
- start
Date String - UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated.
- account
Ids List<Double> - Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the \n\nLinkedIn docs\n\n to locate these IDs. Default: []
- ad
Analytics List<SourceReports Linkedin Ads Configuration Ad Analytics Report> - additional
Properties String - Parsed as JSON.
- credentials
Source
Linkedin Ads Configuration Credentials - lookback
Window Double - How far into the past to look for records. (in days). Default: 0
- num
Workers Double - The number of workers to use for the connector. This is used to limit the number of concurrent requests to the LinkedIn Ads API. If not set, the default is 3 workers. Default: 3
- start
Date string - UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated.
- account
Ids number[] - Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the \n\nLinkedIn docs\n\n to locate these IDs. Default: []
- ad
Analytics SourceReports Linkedin Ads Configuration Ad Analytics Report[] - additional
Properties string - Parsed as JSON.
- credentials
Source
Linkedin Ads Configuration Credentials - lookback
Window number - How far into the past to look for records. (in days). Default: 0
- num
Workers number - The number of workers to use for the connector. This is used to limit the number of concurrent requests to the LinkedIn Ads API. If not set, the default is 3 workers. Default: 3
- start_
date str - UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated.
- account_
ids Sequence[float] - Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the \n\nLinkedIn docs\n\n to locate these IDs. Default: []
- ad_
analytics_ Sequence[Sourcereports Linkedin Ads Configuration Ad Analytics Report] - additional_
properties str - Parsed as JSON.
- credentials
Source
Linkedin Ads Configuration Credentials - lookback_
window float - How far into the past to look for records. (in days). Default: 0
- num_
workers float - The number of workers to use for the connector. This is used to limit the number of concurrent requests to the LinkedIn Ads API. If not set, the default is 3 workers. Default: 3
- start
Date String - UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated.
- account
Ids List<Number> - Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the \n\nLinkedIn docs\n\n to locate these IDs. Default: []
- ad
Analytics List<Property Map>Reports - additional
Properties String - Parsed as JSON.
- credentials Property Map
- lookback
Window Number - How far into the past to look for records. (in days). Default: 0
- num
Workers Number - The number of workers to use for the connector. This is used to limit the number of concurrent requests to the LinkedIn Ads API. If not set, the default is 3 workers. Default: 3
SourceLinkedinAdsConfigurationAdAnalyticsReport, SourceLinkedinAdsConfigurationAdAnalyticsReportArgs
- Name string
- The name for the custom report.
- Pivot
By string - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. must be one of ["COMPANY", "ACCOUNT", "SHARE", "CAMPAIGN", "CREATIVE", "CAMPAIGNGROUP", "CONVERSION", "CONVERSATIONNODE", "CONVERSATIONNODEOPTIONINDEX", "SERVINGLOCATION", "CARDINDEX", "MEMBERCOMPANYSIZE", "MEMBERINDUSTRY", "MEMBERSENIORITY", "MEMBERJOBTITLE", "MEMBERJOBFUNCTION", "MEMBERCOUNTRYV2", "MEMBERREGIONV2", "MEMBERCOMPANY", "PLACEMENTNAME", "IMPRESSIONDEVICE_TYPE"]
- Time
Granularity string - Choose how to group the data in your report by time. The options are:\n\n- 'ALL': A single result summarizing the entire time range.\n\n- 'DAILY': Group results by each day.\n\n- 'MONTHLY': Group results by each month.\n\n- 'YEARLY': Group results by each year.\n\nSelecting a time grouping helps you analyze trends and patterns over different time periods. must be one of ["ALL", "DAILY", "MONTHLY", "YEARLY"]
- Name string
- The name for the custom report.
- Pivot
By string - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. must be one of ["COMPANY", "ACCOUNT", "SHARE", "CAMPAIGN", "CREATIVE", "CAMPAIGNGROUP", "CONVERSION", "CONVERSATIONNODE", "CONVERSATIONNODEOPTIONINDEX", "SERVINGLOCATION", "CARDINDEX", "MEMBERCOMPANYSIZE", "MEMBERINDUSTRY", "MEMBERSENIORITY", "MEMBERJOBTITLE", "MEMBERJOBFUNCTION", "MEMBERCOUNTRYV2", "MEMBERREGIONV2", "MEMBERCOMPANY", "PLACEMENTNAME", "IMPRESSIONDEVICE_TYPE"]
- Time
Granularity string - Choose how to group the data in your report by time. The options are:\n\n- 'ALL': A single result summarizing the entire time range.\n\n- 'DAILY': Group results by each day.\n\n- 'MONTHLY': Group results by each month.\n\n- 'YEARLY': Group results by each year.\n\nSelecting a time grouping helps you analyze trends and patterns over different time periods. must be one of ["ALL", "DAILY", "MONTHLY", "YEARLY"]
- name String
- The name for the custom report.
- pivot
By String - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. must be one of ["COMPANY", "ACCOUNT", "SHARE", "CAMPAIGN", "CREATIVE", "CAMPAIGNGROUP", "CONVERSION", "CONVERSATIONNODE", "CONVERSATIONNODEOPTIONINDEX", "SERVINGLOCATION", "CARDINDEX", "MEMBERCOMPANYSIZE", "MEMBERINDUSTRY", "MEMBERSENIORITY", "MEMBERJOBTITLE", "MEMBERJOBFUNCTION", "MEMBERCOUNTRYV2", "MEMBERREGIONV2", "MEMBERCOMPANY", "PLACEMENTNAME", "IMPRESSIONDEVICE_TYPE"]
- time
Granularity String - Choose how to group the data in your report by time. The options are:\n\n- 'ALL': A single result summarizing the entire time range.\n\n- 'DAILY': Group results by each day.\n\n- 'MONTHLY': Group results by each month.\n\n- 'YEARLY': Group results by each year.\n\nSelecting a time grouping helps you analyze trends and patterns over different time periods. must be one of ["ALL", "DAILY", "MONTHLY", "YEARLY"]
- name string
- The name for the custom report.
- pivot
By string - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. must be one of ["COMPANY", "ACCOUNT", "SHARE", "CAMPAIGN", "CREATIVE", "CAMPAIGNGROUP", "CONVERSION", "CONVERSATIONNODE", "CONVERSATIONNODEOPTIONINDEX", "SERVINGLOCATION", "CARDINDEX", "MEMBERCOMPANYSIZE", "MEMBERINDUSTRY", "MEMBERSENIORITY", "MEMBERJOBTITLE", "MEMBERJOBFUNCTION", "MEMBERCOUNTRYV2", "MEMBERREGIONV2", "MEMBERCOMPANY", "PLACEMENTNAME", "IMPRESSIONDEVICE_TYPE"]
- time
Granularity string - Choose how to group the data in your report by time. The options are:\n\n- 'ALL': A single result summarizing the entire time range.\n\n- 'DAILY': Group results by each day.\n\n- 'MONTHLY': Group results by each month.\n\n- 'YEARLY': Group results by each year.\n\nSelecting a time grouping helps you analyze trends and patterns over different time periods. must be one of ["ALL", "DAILY", "MONTHLY", "YEARLY"]
- name str
- The name for the custom report.
- pivot_
by str - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. must be one of ["COMPANY", "ACCOUNT", "SHARE", "CAMPAIGN", "CREATIVE", "CAMPAIGNGROUP", "CONVERSION", "CONVERSATIONNODE", "CONVERSATIONNODEOPTIONINDEX", "SERVINGLOCATION", "CARDINDEX", "MEMBERCOMPANYSIZE", "MEMBERINDUSTRY", "MEMBERSENIORITY", "MEMBERJOBTITLE", "MEMBERJOBFUNCTION", "MEMBERCOUNTRYV2", "MEMBERREGIONV2", "MEMBERCOMPANY", "PLACEMENTNAME", "IMPRESSIONDEVICE_TYPE"]
- time_
granularity str - Choose how to group the data in your report by time. The options are:\n\n- 'ALL': A single result summarizing the entire time range.\n\n- 'DAILY': Group results by each day.\n\n- 'MONTHLY': Group results by each month.\n\n- 'YEARLY': Group results by each year.\n\nSelecting a time grouping helps you analyze trends and patterns over different time periods. must be one of ["ALL", "DAILY", "MONTHLY", "YEARLY"]
- name String
- The name for the custom report.
- pivot
By String - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. must be one of ["COMPANY", "ACCOUNT", "SHARE", "CAMPAIGN", "CREATIVE", "CAMPAIGNGROUP", "CONVERSION", "CONVERSATIONNODE", "CONVERSATIONNODEOPTIONINDEX", "SERVINGLOCATION", "CARDINDEX", "MEMBERCOMPANYSIZE", "MEMBERINDUSTRY", "MEMBERSENIORITY", "MEMBERJOBTITLE", "MEMBERJOBFUNCTION", "MEMBERCOUNTRYV2", "MEMBERREGIONV2", "MEMBERCOMPANY", "PLACEMENTNAME", "IMPRESSIONDEVICE_TYPE"]
- time
Granularity String - Choose how to group the data in your report by time. The options are:\n\n- 'ALL': A single result summarizing the entire time range.\n\n- 'DAILY': Group results by each day.\n\n- 'MONTHLY': Group results by each month.\n\n- 'YEARLY': Group results by each year.\n\nSelecting a time grouping helps you analyze trends and patterns over different time periods. must be one of ["ALL", "DAILY", "MONTHLY", "YEARLY"]
SourceLinkedinAdsConfigurationCredentials, SourceLinkedinAdsConfigurationCredentialsArgs
SourceLinkedinAdsConfigurationCredentialsAccessToken, SourceLinkedinAdsConfigurationCredentialsAccessTokenArgs
- Access
Token string - The access token generated for your developer application. Refer to our \n\ndocumentation\n\n for more information.
- Access
Token string - The access token generated for your developer application. Refer to our \n\ndocumentation\n\n for more information.
- access
Token String - The access token generated for your developer application. Refer to our \n\ndocumentation\n\n for more information.
- access
Token string - The access token generated for your developer application. Refer to our \n\ndocumentation\n\n for more information.
- access_
token str - The access token generated for your developer application. Refer to our \n\ndocumentation\n\n for more information.
- access
Token String - The access token generated for your developer application. Refer to our \n\ndocumentation\n\n for more information.
SourceLinkedinAdsConfigurationCredentialsOAuth20, SourceLinkedinAdsConfigurationCredentialsOAuth20Args
- Client
Id string - The client ID of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- Client
Secret string - The client secret of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- Refresh
Token string - The key to refresh the expired access token. Refer to our \n\ndocumentation\n\n for more information.
- Client
Id string - The client ID of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- Client
Secret string - The client secret of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- Refresh
Token string - The key to refresh the expired access token. Refer to our \n\ndocumentation\n\n for more information.
- client
Id String - The client ID of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- client
Secret String - The client secret of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- refresh
Token String - The key to refresh the expired access token. Refer to our \n\ndocumentation\n\n for more information.
- client
Id string - The client ID of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- client
Secret string - The client secret of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- refresh
Token string - The key to refresh the expired access token. Refer to our \n\ndocumentation\n\n for more information.
- client_
id str - The client ID of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- client_
secret str - The client secret of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- refresh_
token str - The key to refresh the expired access token. Refer to our \n\ndocumentation\n\n for more information.
- client
Id String - The client ID of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- client
Secret String - The client secret of your developer application. Refer to our \n\ndocumentation\n\n for more information.
- refresh
Token String - The key to refresh the expired access token. Refer to our \n\ndocumentation\n\n for more information.
SourceLinkedinAdsResourceAllocation, SourceLinkedinAdsResourceAllocationArgs
- Default
Source
Linkedin Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics List<SourceLinkedin Ads Resource Allocation Job Specific>
- Default
Source
Linkedin Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics []SourceLinkedin Ads Resource Allocation Job Specific
- default_
Source
Linkedin Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<SourceLinkedin Ads Resource Allocation Job Specific>
- default
Source
Linkedin Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics SourceLinkedin Ads Resource Allocation Job Specific[]
- default
Source
Linkedin Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job_
specifics Sequence[SourceLinkedin Ads Resource Allocation Job Specific]
- default Property Map
- optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<Property Map>
SourceLinkedinAdsResourceAllocationDefault, SourceLinkedinAdsResourceAllocationDefaultArgs
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
- cpu
Limit string - cpu
Request string - ephemeral
Storage stringLimit - ephemeral
Storage stringRequest - memory
Limit string - memory
Request string
- cpu_
limit str - cpu_
request str - ephemeral_
storage_ strlimit - ephemeral_
storage_ strrequest - memory_
limit str - memory_
request str
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
SourceLinkedinAdsResourceAllocationJobSpecific, SourceLinkedinAdsResourceAllocationJobSpecificArgs
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceLinkedin Ads Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceLinkedin Ads Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type String - enum that describes the different types of jobs that the platform runs.
- resource
Requirements SourceLinkedin Ads Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type string - enum that describes the different types of jobs that the platform runs.
- resource
Requirements SourceLinkedin Ads Resource Allocation Job Specific Resource Requirements - 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.
- resource_
requirements SourceLinkedin Ads Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type String - enum that describes the different types of jobs that the platform runs.
- resource
Requirements Property Map - optional resource requirements to run workers (blank for unbounded allocations)
SourceLinkedinAdsResourceAllocationJobSpecificResourceRequirements, SourceLinkedinAdsResourceAllocationJobSpecificResourceRequirementsArgs
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
- cpu
Limit string - cpu
Request string - ephemeral
Storage stringLimit - ephemeral
Storage stringRequest - memory
Limit string - memory
Request string
- cpu_
limit str - cpu_
request str - ephemeral_
storage_ strlimit - ephemeral_
storage_ strrequest - memory_
limit str - memory_
request str
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = airbyte_source_linkedin_ads.my_airbyte_source_linkedin_ads
id = “…”
}
The pulumi import command can be used, for example:
$ pulumi import airbyte:index/sourceLinkedinAds:SourceLinkedinAds my_airbyte_source_linkedin_ads "..."
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
airbyteTerraform Provider.
