Method: campaigns.get

  • This API call retrieves a single campaign using its ID.

  • The request uses a GET method with profileId and id as path parameters.

  • The request body must be empty, and a successful response returns a Campaign object.

  • Authorization requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one campaign by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/campaigns/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string ( int64 format)

User profile ID associated with this request.

id

string ( int64 format)

Campaign ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Campaign .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking
Design a Mobile Site
View Site in Mobile | Classic
Share by: