Loading...

Description

Gets a list of all keywords for a specific account regardless of the channel.


Request URL

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/link

Request Properties

Parameter Description Mandatory
accountId The account ID which owns the keywords. Yes

Response Properties

Property Description
AccountId The account ID which owns the link
CampaignId The campaign this link is part of.
ContactAttributeDefinitionId The contact attribute ID to append to the URL if desired.
LinkType Enumeration mapping to LinkTypeId
LinkTypeId The type of link this is. Either Static or Dynamic
Name The name of the link.
RedirectURL The URL we should redirect to.
RequestLocation Set if we should request the user's location before redirecting.
ShortBaseURL The short URL to use.
UpdateContactAttributeDefinitionId The contact attribute ID to be updated.
UpdateContactAttributeValue The value to update the contact attribute to.

C#
PHP


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;

var context = new T70Context();

var linkRepo = context.Repository<Link>(new { AccountId = accountId});

var list = linkRepo.GetAll();

}

}

 

Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet