FloodlightActivities: generatetag

Requires authorization

Generates a tag for a floodlight activity. Try it now.

Request

HTTP request

POST https://www.googleapis.com/dfareporting/v3.0/userprofiles/profileId/floodlightActivities/generatetag

Parameters

Parameter name Value Description
Path parameters
profileId long User profile ID associated with this request.
Optional query parameters
floodlightActivityId long Floodlight activity ID for which we want to generate a tag.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/dfatrafficking

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "dfareporting#floodlightActivitiesGenerateTagResponse",
  "floodlightActivityTag": string,
  "globalSiteTagGlobalSnippet": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesGenerateTagResponse".
floodlightActivityTag string Generated tag for this Floodlight activity. For global site tags, this is the event snippet.
globalSiteTagGlobalSnippet string The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

DoubleClick Campaign Manager
DoubleClick Campaign Manager