POST api/Adword?campaignid={campaignid}&locationId={locationId}&ageRange={ageRange}&gender={gender}&isparent={isparent}&CampObjective={CampObjective}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
campaignid

integer

Required

locationId

integer

Required

ageRange

string

Required

gender

string

Required

isparent

string

Required

CampObjective

string

Required

Body Parameters

Collection of userInterest
NameDescriptionTypeAdditional information
userInterestCategory

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "userInterestCategory": "sample string 1"
  },
  {
    "userInterestCategory": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfuserInterest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adwords_Api">
  <userInterest>
    <userInterestCategory>sample string 1</userInterestCategory>
  </userInterest>
  <userInterest>
    <userInterestCategory>sample string 1</userInterestCategory>
  </userInterest>
</ArrayOfuserInterest>

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 'List`1'.

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>