Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

REST Resource: customers.feedItemTargets

Resource: FeedItemTarget

A feed item target.

JSON representation
{
  "resourceName": string,
  "feedItemTargetType": enum (FeedItemTargetType),
  "status": enum (FeedItemTargetStatus),
  "feedItem": string,
  "feedItemTargetId": string,

  // Union field target can be only one of the following:
  "campaign": string,
  "adGroup": string,
  "keyword": {
    object (KeywordInfo)
  },
  "geoTargetConstant": string,
  "device": enum (FeedItemTargetDevice),
  "adSchedule": {
    object (AdScheduleInfo)
  }
  // End of list of possible types for union field target.
}
Fields
resourceName

string

Immutable. The resource name of the feed item target. Feed item target resource names have the form: customers/{customerId}/feedItemTargets/{feedId}~{feed_item_id}~{feedItemTargetType}~{feedItemTargetId}

feedItemTargetType

enum (FeedItemTargetType)

Output only. The target type of this feed item target. This field is read-only.

status

enum (FeedItemTargetStatus)

Output only. Status of the feed item target. This field is read-only.

feedItem

string

Immutable. The feed item to which this feed item target belongs.

feedItemTargetId

string (int64 format)

Output only. The ID of the targeted resource. This field is read-only.

Union field target. The targeted resource. target can be only one of the following:
campaign

string

Immutable. The targeted campaign.

adGroup

string

Immutable. The targeted ad group.

keyword

object (KeywordInfo)

Immutable. The targeted keyword.

geoTargetConstant

string

Immutable. The targeted geo target constant resource name.

device

enum (FeedItemTargetDevice)

Immutable. The targeted device.

adSchedule

object (AdScheduleInfo)

Immutable. The targeted schedule.

FeedItemTargetType

Possible type of a feed item target.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
CAMPAIGN Feed item targets a campaign.
AD_GROUP Feed item targets an ad group.
CRITERION Feed item targets a criterion.

FeedItemTargetStatus

Possible statuses of a feed item target.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
ENABLED Feed item target is enabled.
REMOVED Feed item target has been removed.

Methods

get

Returns the requested feed item targets in full detail.

mutate

Creates or removes feed item targets.