Method: floodlightActivities.insert

  • Inserts a new floodlight activity using an HTTP POST request.

  • Requires a path parameter to specify the user profile ID.

  • The request body should contain an instance of FloodlightActivity to define the new activity.

  • If successful, the response body will contain the newly created FloodlightActivity instance.

  • Requires authorization with the dfatrafficking scope.

Inserts a new floodlight activity.

HTTP request

POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/floodlightActivities

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Request body

The request body contains an instance of FloodlightActivity.

Response body

If successful, the response body contains a newly created instance of FloodlightActivity.

Authorization scopes

Requires the following OAuth scope:

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