- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- PlacementTag
- TagData
- Try it!
Generates tags for a placement.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/placements/generatetags
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profile |
User profile ID associated with this request. |
Query parameters
Parameters | |
---|---|
body |
Empty body |
placement |
Generate tags for these placements. |
campaign |
Generate placements belonging to this campaign. This is a required field. |
tag |
Tag formats to generate for these placements.
can only be generated for 1x1 placements. |
Request body
The request body must be empty.
Response body
Placement GenerateTags Response
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"placementTags": [
{
object ( |
Fields | |
---|---|
placement |
Set of generated tags for the specified placements. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking
PlacementTag
Placement Tag
JSON representation |
---|
{
"placementId": string,
"tagDatas": [
{
object ( |
Fields | |
---|---|
placement |
Placement ID |
tag |
Tags generated for this placement. |
TagData
Placement Tag Data
JSON representation |
---|
{
"format": enum ( |
Fields | |
---|---|
format |
TagData tag format of this tag. |
impression |
Tag string for serving an ad. |
click |
Tag string to record a click. |
ad |
Ad associated with this placement tag. Applicable only when
is
. |
creative |
Creative associated with this placement tag. Applicable only when
is
. |