POST Adword/CreateGoogleCampaign

Request Information

URI Parameters

None.

Body Parameters

GoogleCampaign
NameDescriptionTypeAdditional information
Campname

string

None.

CampObjective

string

None.

CampStatus

string

None.

StartDate

date

None.

EndDate

date

None.

locationid

integer

None.

BudgetAmount

integer

None.

ageRange

string

None.

gender

string

None.

isparent

string

None.

userInterests

Collection of userInterest

None.

Request Formats

application/json, text/json

Sample:
{
  "userInterests": [
    {
      "userInterestCategory": "sample string 1"
    },
    {
      "userInterestCategory": "sample string 1"
    }
  ],
  "Campname": "sample string 1",
  "CampObjective": "sample string 2",
  "CampStatus": "sample string 3",
  "StartDate": "2026-06-06T02:58:05.3248646+05:30",
  "EndDate": "2026-06-06T02:58:05.3248646+05:30",
  "locationid": 6,
  "BudgetAmount": 7,
  "ageRange": "sample string 8",
  "gender": "sample string 9",
  "isparent": "sample string 10"
}

application/xml, text/xml

Sample:
<GoogleCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adwords_Api">
  <BudgetAmount>7</BudgetAmount>
  <CampObjective>sample string 2</CampObjective>
  <CampStatus>sample string 3</CampStatus>
  <Campname>sample string 1</Campname>
  <EndDate>2026-06-06T02:58:05.3248646+05:30</EndDate>
  <StartDate>2026-06-06T02:58:05.3248646+05:30</StartDate>
  <ageRange>sample string 8</ageRange>
  <gender>sample string 9</gender>
  <isparent>sample string 10</isparent>
  <locationid>6</locationid>
  <userInterests>
    <userInterest>
      <userInterestCategory>sample string 1</userInterestCategory>
    </userInterest>
    <userInterest>
      <userInterestCategory>sample string 1</userInterestCategory>
    </userInterest>
  </userInterests>
</GoogleCampaign>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GoogleCampaign'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>