POST api/AdAccount/{id}/targetingsentencelines

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AdTargeting
NameDescriptionTypeAdditional information
ID

integer

None.

GEO_LOCATIONS_ID

integer

None.

GEO_LOCATIONS

AdGEO_LOCATION

None.

AGE_MIN

integer

None.

AGE_MAX

integer

None.

AGE_RANGE

string

String length: inclusive between 0 and 50

genders

Collection of AdGender

None.

INTERESTS

Collection of AdINTEREST

None.

ANDINTERESTS

Collection of AdINTERESTIntersect

None.

EXCLUDEINTERESTS

Collection of AdINTERESTExclude

None.

custom_audiences

Collection of SocialAudience

None.

excluded_custom_audiences

Collection of SocialAudience

None.

connection

integer

None.

TargetingSentenceLines

string

None.

estimate_dau

integer

None.

estimate_mau

integer

None.

reachestimate

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>