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.
FeedItemTargetOperation
A single operation (create, remove) on an feed item target.
JSON representation |
{
// Union field operation can be only one of the following:
"create": {
object (FeedItemTarget )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (FeedItemTarget )
Create operation: No resource name is expected for the new feed item target.
|
remove |
string
Remove operation: A resource name for the removed feed item target is expected, in this format: customers/{customerId}/feedItemTargets/{feedId}~{feed_item_id}~{feedItemTargetType}~{feedItemTargetId}
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["This documentation details the JSON format for operations on feed item targets in Google Ads."],["Operations include creating a new feed item target or removing an existing one."],["Creating a target involves providing the `FeedItemTarget` object while removing requires the target's resource name."],["The JSON structure uses a union field \"operation\" to specify either \"create\" or \"remove\" along with their corresponding data."]]],["The core content details operations on a feed item target, which can be either a `create` or `remove` operation. `Create` requires a `FeedItemTarget` object, while `remove` requires a resource name string formatted as `customers/{customerId}/feedItemTargets/{feedId}~{feed_item_id}~{feedItemTargetType}~{feedItemTargetId}`. These are the only allowed operations and they belong to a `operation` field which is an union field. The `operation` field can have only one type at a time.\n"]]