Method: dynamicProfiles.generateCode

Generates code for a dynamic profile.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/studio/dynamicProfiles/{dynamicProfileId}/generateCode

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
dynamicProfileId

string (int64 format)

Required. Dynamic profile ID.

Request body

The request body must be empty.

Response body

Response message for DfareportingDynamicProfiles.GenerateCode.

If successful, the response body contains data with the following structure:

JSON representation
{
  "code": string
}
Fields
code

string

Generated code for the dynamic profile, which may need unescaping.

Authorization scopes

Requires the following OAuth scope:

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