SourceSpotifyAds Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const mySourceSpotifyads = new airbyte.SourceSpotifyAds("my_source_spotifyads", {
configuration: {
adAccountId: "03561a07-cb0a-4354-b751-88512a6f4d79",
additionalProperties: "{ \"see\": \"documentation\" }",
clientId: "...my_client_id...",
clientSecret: "...my_client_secret...",
fields: [
"IMPRESSIONS",
"CLICKS",
"SPEND",
"CTR",
],
refreshToken: "...my_refresh_token...",
startDate: "2024-01-01",
},
definitionId: "9e4b233b-8f4e-4366-a435-3b826d02048f",
name: "...my_name...",
secretId: "...my_secret_id...",
workspaceId: "55a37b9d-d7af-43b3-972e-ab588f9bfcdb",
});
import pulumi
import pulumi_airbyte as airbyte
my_source_spotifyads = airbyte.SourceSpotifyAds("my_source_spotifyads",
configuration={
"ad_account_id": "03561a07-cb0a-4354-b751-88512a6f4d79",
"additional_properties": "{ \"see\": \"documentation\" }",
"client_id": "...my_client_id...",
"client_secret": "...my_client_secret...",
"fields": [
"IMPRESSIONS",
"CLICKS",
"SPEND",
"CTR",
],
"refresh_token": "...my_refresh_token...",
"start_date": "2024-01-01",
},
definition_id="9e4b233b-8f4e-4366-a435-3b826d02048f",
name="...my_name...",
secret_id="...my_secret_id...",
workspace_id="55a37b9d-d7af-43b3-972e-ab588f9bfcdb")
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.NewSourceSpotifyAds(ctx, "my_source_spotifyads", &airbyte.SourceSpotifyAdsArgs{
Configuration: &airbyte.SourceSpotifyAdsConfigurationArgs{
AdAccountId: pulumi.String("03561a07-cb0a-4354-b751-88512a6f4d79"),
AdditionalProperties: pulumi.String("{ \"see\": \"documentation\" }"),
ClientId: pulumi.String("...my_client_id..."),
ClientSecret: pulumi.String("...my_client_secret..."),
Fields: pulumi.StringArray{
pulumi.String("IMPRESSIONS"),
pulumi.String("CLICKS"),
pulumi.String("SPEND"),
pulumi.String("CTR"),
},
RefreshToken: pulumi.String("...my_refresh_token..."),
StartDate: pulumi.String("2024-01-01"),
},
DefinitionId: pulumi.String("9e4b233b-8f4e-4366-a435-3b826d02048f"),
Name: pulumi.String("...my_name..."),
SecretId: pulumi.String("...my_secret_id..."),
WorkspaceId: pulumi.String("55a37b9d-d7af-43b3-972e-ab588f9bfcdb"),
})
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 mySourceSpotifyads = new Airbyte.SourceSpotifyAds("my_source_spotifyads", new()
{
Configuration = new Airbyte.Inputs.SourceSpotifyAdsConfigurationArgs
{
AdAccountId = "03561a07-cb0a-4354-b751-88512a6f4d79",
AdditionalProperties = "{ \"see\": \"documentation\" }",
ClientId = "...my_client_id...",
ClientSecret = "...my_client_secret...",
Fields = new[]
{
"IMPRESSIONS",
"CLICKS",
"SPEND",
"CTR",
},
RefreshToken = "...my_refresh_token...",
StartDate = "2024-01-01",
},
DefinitionId = "9e4b233b-8f4e-4366-a435-3b826d02048f",
Name = "...my_name...",
SecretId = "...my_secret_id...",
WorkspaceId = "55a37b9d-d7af-43b3-972e-ab588f9bfcdb",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceSpotifyAds;
import com.pulumi.airbyte.SourceSpotifyAdsArgs;
import com.pulumi.airbyte.inputs.SourceSpotifyAdsConfigurationArgs;
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 mySourceSpotifyads = new SourceSpotifyAds("mySourceSpotifyads", SourceSpotifyAdsArgs.builder()
.configuration(SourceSpotifyAdsConfigurationArgs.builder()
.adAccountId("03561a07-cb0a-4354-b751-88512a6f4d79")
.additionalProperties("{ \"see\": \"documentation\" }")
.clientId("...my_client_id...")
.clientSecret("...my_client_secret...")
.fields(
"IMPRESSIONS",
"CLICKS",
"SPEND",
"CTR")
.refreshToken("...my_refresh_token...")
.startDate("2024-01-01")
.build())
.definitionId("9e4b233b-8f4e-4366-a435-3b826d02048f")
.name("...my_name...")
.secretId("...my_secret_id...")
.workspaceId("55a37b9d-d7af-43b3-972e-ab588f9bfcdb")
.build());
}
}
resources:
mySourceSpotifyads:
type: airbyte:SourceSpotifyAds
name: my_source_spotifyads
properties:
configuration:
adAccountId: 03561a07-cb0a-4354-b751-88512a6f4d79
additionalProperties: '{ "see": "documentation" }'
clientId: '...my_client_id...'
clientSecret: '...my_client_secret...'
fields:
- IMPRESSIONS
- CLICKS
- SPEND
- CTR
refreshToken: '...my_refresh_token...'
startDate: 2024-01-01
definitionId: 9e4b233b-8f4e-4366-a435-3b826d02048f
name: '...my_name...'
secretId: '...my_secret_id...'
workspaceId: 55a37b9d-d7af-43b3-972e-ab588f9bfcdb
Create SourceSpotifyAds Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceSpotifyAds(name: string, args: SourceSpotifyAdsArgs, opts?: CustomResourceOptions);@overload
def SourceSpotifyAds(resource_name: str,
args: SourceSpotifyAdsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceSpotifyAds(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceSpotifyAdsConfigurationArgs] = None,
workspace_id: Optional[str] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
secret_id: Optional[str] = None)func NewSourceSpotifyAds(ctx *Context, name string, args SourceSpotifyAdsArgs, opts ...ResourceOption) (*SourceSpotifyAds, error)public SourceSpotifyAds(string name, SourceSpotifyAdsArgs args, CustomResourceOptions? opts = null)
public SourceSpotifyAds(String name, SourceSpotifyAdsArgs args)
public SourceSpotifyAds(String name, SourceSpotifyAdsArgs args, CustomResourceOptions options)
type: airbyte:SourceSpotifyAds
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 SourceSpotifyAdsArgs
- 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 SourceSpotifyAdsArgs
- 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 SourceSpotifyAdsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceSpotifyAdsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceSpotifyAdsArgs
- 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 sourceSpotifyAdsResource = new Airbyte.SourceSpotifyAds("sourceSpotifyAdsResource", new()
{
Configuration = new Airbyte.Inputs.SourceSpotifyAdsConfigurationArgs
{
AdAccountId = "string",
ClientId = "string",
ClientSecret = "string",
RefreshToken = "string",
StartDate = "string",
AdditionalProperties = "string",
Fields = new[]
{
"string",
},
},
WorkspaceId = "string",
DefinitionId = "string",
Name = "string",
SecretId = "string",
});
example, err := airbyte.NewSourceSpotifyAds(ctx, "sourceSpotifyAdsResource", &airbyte.SourceSpotifyAdsArgs{
Configuration: &airbyte.SourceSpotifyAdsConfigurationArgs{
AdAccountId: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
RefreshToken: pulumi.String("string"),
StartDate: pulumi.String("string"),
AdditionalProperties: pulumi.String("string"),
Fields: pulumi.StringArray{
pulumi.String("string"),
},
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceSpotifyAdsResource = new SourceSpotifyAds("sourceSpotifyAdsResource", SourceSpotifyAdsArgs.builder()
.configuration(SourceSpotifyAdsConfigurationArgs.builder()
.adAccountId("string")
.clientId("string")
.clientSecret("string")
.refreshToken("string")
.startDate("string")
.additionalProperties("string")
.fields("string")
.build())
.workspaceId("string")
.definitionId("string")
.name("string")
.secretId("string")
.build());
source_spotify_ads_resource = airbyte.SourceSpotifyAds("sourceSpotifyAdsResource",
configuration={
"ad_account_id": "string",
"client_id": "string",
"client_secret": "string",
"refresh_token": "string",
"start_date": "string",
"additional_properties": "string",
"fields": ["string"],
},
workspace_id="string",
definition_id="string",
name="string",
secret_id="string")
const sourceSpotifyAdsResource = new airbyte.SourceSpotifyAds("sourceSpotifyAdsResource", {
configuration: {
adAccountId: "string",
clientId: "string",
clientSecret: "string",
refreshToken: "string",
startDate: "string",
additionalProperties: "string",
fields: ["string"],
},
workspaceId: "string",
definitionId: "string",
name: "string",
secretId: "string",
});
type: airbyte:SourceSpotifyAds
properties:
configuration:
adAccountId: string
additionalProperties: string
clientId: string
clientSecret: string
fields:
- string
refreshToken: string
startDate: string
definitionId: string
name: string
secretId: string
workspaceId: string
SourceSpotifyAds 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 SourceSpotifyAds resource accepts the following input properties:
- Configuration
Source
Spotify 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. 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
Spotify 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. 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
Spotify 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. 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
Spotify 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. 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
Spotify 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. 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. 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 SourceSpotifyAds resource produces the following output properties:
- Created
At double - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceSpotify 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 SourceSpotify 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 SourceSpotify 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 SourceSpotify 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 SourceSpotify 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 SourceSpotifyAds Resource
Get an existing SourceSpotifyAds 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?: SourceSpotifyAdsState, opts?: CustomResourceOptions): SourceSpotifyAds@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceSpotifyAdsConfigurationArgs] = None,
created_at: Optional[float] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
resource_allocation: Optional[SourceSpotifyAdsResourceAllocationArgs] = None,
secret_id: Optional[str] = None,
source_id: Optional[str] = None,
source_type: Optional[str] = None,
workspace_id: Optional[str] = None) -> SourceSpotifyAdsfunc GetSourceSpotifyAds(ctx *Context, name string, id IDInput, state *SourceSpotifyAdsState, opts ...ResourceOption) (*SourceSpotifyAds, error)public static SourceSpotifyAds Get(string name, Input<string> id, SourceSpotifyAdsState? state, CustomResourceOptions? opts = null)public static SourceSpotifyAds get(String name, Output<String> id, SourceSpotifyAdsState state, CustomResourceOptions options)resources: _: type: airbyte:SourceSpotifyAds 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
Spotify 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. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceSpotify 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
Spotify 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. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceSpotify 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
Spotify 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. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceSpotify 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
Spotify 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. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceSpotify 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
Spotify 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. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- resource_
allocation SourceSpotify 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. 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
SourceSpotifyAdsConfiguration, SourceSpotifyAdsConfigurationArgs
- Ad
Account stringId - The ID of the Spotify Ad Account you want to sync data from.
- Client
Id string - The Client ID of your Spotify Developer application.
- Client
Secret string - The Client Secret of your Spotify Developer application.
- Refresh
Token string - The Refresh Token obtained from the initial OAuth 2.0 authorization flow.
- Start
Date string - The date to start syncing data from, in YYYY-MM-DD format.
- Additional
Properties string - Parsed as JSON.
- Fields List<string>
- List of fields to include in the campaign performance report. Choose from available metrics. Default: ["IMPRESSIONS","CLICKS","SPEND","CTR","REACH","FREQUENCY","COMPLETION_RATE"]
- Ad
Account stringId - The ID of the Spotify Ad Account you want to sync data from.
- Client
Id string - The Client ID of your Spotify Developer application.
- Client
Secret string - The Client Secret of your Spotify Developer application.
- Refresh
Token string - The Refresh Token obtained from the initial OAuth 2.0 authorization flow.
- Start
Date string - The date to start syncing data from, in YYYY-MM-DD format.
- Additional
Properties string - Parsed as JSON.
- Fields []string
- List of fields to include in the campaign performance report. Choose from available metrics. Default: ["IMPRESSIONS","CLICKS","SPEND","CTR","REACH","FREQUENCY","COMPLETION_RATE"]
- ad
Account StringId - The ID of the Spotify Ad Account you want to sync data from.
- client
Id String - The Client ID of your Spotify Developer application.
- client
Secret String - The Client Secret of your Spotify Developer application.
- refresh
Token String - The Refresh Token obtained from the initial OAuth 2.0 authorization flow.
- start
Date String - The date to start syncing data from, in YYYY-MM-DD format.
- additional
Properties String - Parsed as JSON.
- fields List<String>
- List of fields to include in the campaign performance report. Choose from available metrics. Default: ["IMPRESSIONS","CLICKS","SPEND","CTR","REACH","FREQUENCY","COMPLETION_RATE"]
- ad
Account stringId - The ID of the Spotify Ad Account you want to sync data from.
- client
Id string - The Client ID of your Spotify Developer application.
- client
Secret string - The Client Secret of your Spotify Developer application.
- refresh
Token string - The Refresh Token obtained from the initial OAuth 2.0 authorization flow.
- start
Date string - The date to start syncing data from, in YYYY-MM-DD format.
- additional
Properties string - Parsed as JSON.
- fields string[]
- List of fields to include in the campaign performance report. Choose from available metrics. Default: ["IMPRESSIONS","CLICKS","SPEND","CTR","REACH","FREQUENCY","COMPLETION_RATE"]
- ad_
account_ strid - The ID of the Spotify Ad Account you want to sync data from.
- client_
id str - The Client ID of your Spotify Developer application.
- client_
secret str - The Client Secret of your Spotify Developer application.
- refresh_
token str - The Refresh Token obtained from the initial OAuth 2.0 authorization flow.
- start_
date str - The date to start syncing data from, in YYYY-MM-DD format.
- additional_
properties str - Parsed as JSON.
- fields Sequence[str]
- List of fields to include in the campaign performance report. Choose from available metrics. Default: ["IMPRESSIONS","CLICKS","SPEND","CTR","REACH","FREQUENCY","COMPLETION_RATE"]
- ad
Account StringId - The ID of the Spotify Ad Account you want to sync data from.
- client
Id String - The Client ID of your Spotify Developer application.
- client
Secret String - The Client Secret of your Spotify Developer application.
- refresh
Token String - The Refresh Token obtained from the initial OAuth 2.0 authorization flow.
- start
Date String - The date to start syncing data from, in YYYY-MM-DD format.
- additional
Properties String - Parsed as JSON.
- fields List<String>
- List of fields to include in the campaign performance report. Choose from available metrics. Default: ["IMPRESSIONS","CLICKS","SPEND","CTR","REACH","FREQUENCY","COMPLETION_RATE"]
SourceSpotifyAdsResourceAllocation, SourceSpotifyAdsResourceAllocationArgs
- Default
Source
Spotify Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics List<SourceSpotify Ads Resource Allocation Job Specific>
- Default
Source
Spotify Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics []SourceSpotify Ads Resource Allocation Job Specific
- default_
Source
Spotify Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<SourceSpotify Ads Resource Allocation Job Specific>
- default
Source
Spotify Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics SourceSpotify Ads Resource Allocation Job Specific[]
- default
Source
Spotify Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job_
specifics Sequence[SourceSpotify Ads Resource Allocation Job Specific]
- default Property Map
- optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<Property Map>
SourceSpotifyAdsResourceAllocationDefault, SourceSpotifyAdsResourceAllocationDefaultArgs
- 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
SourceSpotifyAdsResourceAllocationJobSpecific, SourceSpotifyAdsResourceAllocationJobSpecificArgs
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceSpotify 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 SourceSpotify 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 SourceSpotify 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 SourceSpotify 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 SourceSpotify 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)
SourceSpotifyAdsResourceAllocationJobSpecificResourceRequirements, SourceSpotifyAdsResourceAllocationJobSpecificResourceRequirementsArgs
- 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_spotify_ads.my_airbyte_source_spotify_ads
id = “…”
}
The pulumi import command can be used, for example:
$ pulumi import airbyte:index/sourceSpotifyAds:SourceSpotifyAds my_airbyte_source_spotify_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.
