Loading...

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/channel/{channel}/keyword/{keyword}/campaign

Description

Gets the campaign details of the specified keyword.

Path Parameters

accountId integer The account that owns the keyword. required
channel integer The channel the keyword is attached to. required
keyword integer The ID of the keyword to examine. required

Response Properties application/json

AccountId integer The account that this campaign belongs to.
CampaignTypeId number The campaign type.
ContentId integer Pointer to the attached content group.
IsDefault boolean This is to set a default campaign
Name string Name of the campaign
Session integer Inticates that a campaign should start a session when the user first enters i
SessionLength integer Dictates the timeout period for sessions. Sessions that exceed this value in milliseconds before a response will expire.
SingleUse boolean This Flag is for checking Single Send Campaign. default value is False.
SingleUseContentId integer This is set to the content Id for Single Send Campaign response.
SubscriptionId integer The default subscription to opt someone into on this campaign.
UserData string Arbitrary user data field.


                    

C#


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Enums;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

const string channel = "XXX";

const string keyword = "XXXX";

var context = new T70Context();

var list = context.GetKeywordCampaign(accountId, channel, keyword);

}

}