Loading...

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

Description

Attaches a keyword to a campaign.

Path Parameters

accountId integer The account that owns the keyword. required
channel string The channel the keyword is on. required
keyword integer The ID of the keyword to update. required

Response Properties application/json

AccountId integer Account Id
CallbackRequired boolan Boolean to specify if the client requires a callback when this keyword is texted in.
CampaignId integer Campaign Id
ChannelCode string The short or long code this keyword is reserved on.
ChannelId integer Channel Id
Name string Name of the keyword
Status string Convenience mapping to ResourceStatusValue enumeration.
StatusId number Status Id


                    

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";

const int campaignId = XXXX;

var context = new T70Context();

var keywordDetails = context.AttachkeywordCampaign(accountId, channel, keyword, campaignId);

}

}