Returns the list of plannable user interests. A plannable user interest is one that can be targeted in a reach forecast using ReachPlanService.GenerateReachForecast
.
List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError ListOperationError QuotaError RequestError StringLengthError
HTTP request
POST https://googleads.googleapis.com/v21:listPlannableUserInterests
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "customerId": string, "userInterestTaxonomyTypes": [ enum ( |
Fields | |
---|---|
customerId |
Required. The ID of the customer. |
userInterestTaxonomyTypes[] |
Optional. A filter by user interest type. If set, only user interests with a type listed in the filter will be returned. If not set, user interests of all supported types will be returned. Supported user interest types are AFFINITY and IN_MARKET. Each type must be specified at most once. |
reachApplicationInfo |
Optional. Additional information on the application issuing the request. |
nameQuery |
A filter by user interest name. If set, only user interests with a name containing the literal string (case insensitive) in the filter will be returned. Maximum length is 200 characters. |
pathQuery |
A filter by user interest path. If set, only user interests with a path containing the literal string (case insensitive) in the filter will be returned. Maximum length is 200 characters. |
Response body
Response message for ReachPlanService.ListPlannableUserInterests
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"plannableUserInterests": [
{
object ( |
Fields | |
---|---|
plannableUserInterests[] |
The list of plannable user interests. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
PlannableUserInterest
A plannable user interest that can be targeted in a reach forecast using ReachPlanService.GenerateReachForecast
.
JSON representation |
---|
{ "userInterest": { object ( |
Fields | |
---|---|
userInterest |
The user interest id. |
userInterestType |
The user interest type. |
userInterestDisplayName |
The user interest display name. For example, "Autos & Vehicles" |
userInterestPath |
The user interest path. For example, "/Autos & Vehicles/Motor Vehicles/Motor Vehicles by Type/Off-Road Vehicles" |