POST Adword/UpdateCampaignCriteria

Request Information

URI Parameters

None.

Body Parameters

UpdateAdCampaignCriteria
NameDescriptionTypeAdditional information
campaignid

integer

None.

locationId

integer

None.

ageRange

string

None.

gender

string

None.

isparent

string

None.

CampObjective

string

None.

userInterests

Collection of userInterest

None.

Request Formats

application/json, text/json

Sample:
{
  "userInterests": [
    {
      "userInterestCategory": "sample string 1"
    },
    {
      "userInterestCategory": "sample string 1"
    }
  ],
  "campaignid": 1,
  "locationId": 2,
  "ageRange": "sample string 3",
  "gender": "sample string 4",
  "isparent": "sample string 5",
  "CampObjective": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateAdCampaignCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adwords_Api">
  <CampObjective>sample string 6</CampObjective>
  <ageRange>sample string 3</ageRange>
  <campaignid>1</campaignid>
  <gender>sample string 4</gender>
  <isparent>sample string 5</isparent>
  <locationId>2</locationId>
  <userInterests>
    <userInterest>
      <userInterestCategory>sample string 1</userInterestCategory>
    </userInterest>
    <userInterest>
      <userInterestCategory>sample string 1</userInterestCategory>
    </userInterest>
  </userInterests>
</UpdateAdCampaignCriteria>

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 'UpdateAdCampaignCriteria'.

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>