POST api/analytics/saveorupdategoogle

Updates or Creates a Campaign Processes this analytics API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The google analytics campaign save data contract supplied with the request.

GoogleAnalyticsCampaignSaveDataContract
NameDescriptionTypeAdditional information
Source

The source value.

string

None.

Medium

The medium value.

string

None.

Campaign

The campaign value.

string

None.

Term

The term value.

string

None.

Content

The content value.

string

None.

Name

The name value.

string

None.

Id

The unique identifier of this resource.

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Source": "sample string 1",
  "Medium": "sample string 2",
  "Campaign": "sample string 3",
  "Term": "sample string 4",
  "Content": "sample string 5",
  "Name": "sample string 6",
  "Id": 7
}

Response Information

Resource Description

CampaignDataContract for the updated or created campaign

CampaignDataContract
NameDescriptionTypeAdditional information
Name

The name value.

string

None.

CreatedDate

The created date, expressed as a date and time.

date

None.

CreatedBy

The created by value.

CreatedByDataContract

None.

Id

The unique identifier of this resource.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "CreatedDate": "2026-07-23T08:11:32.2156055Z",
  "CreatedBy": {
    "Initials": "sample string 1",
    "ContactName": "sample string 2",
    "Gender": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "Title": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "PrimaryTelephone": {
      "Type": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Value": "sample string 1",
      "Notes": "sample string 2",
      "ContactOrder": 3,
      "AllowContact": true,
      "MarketingContactStatus": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Name": "sample string 5",
      "Id": 6
    },
    "PrimaryEmail": {
      "Type": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Value": "sample string 1",
      "Notes": "sample string 2",
      "ContactOrder": 3,
      "AllowContact": true,
      "MarketingContactStatus": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Name": "sample string 5",
      "Id": 6
    },
    "JobTitle": "sample string 6",
    "Id": 7
  },
  "Id": 3
}