reports

POST /userprofiles/{profileId}/reports

Changed on

Creates a report.

Request

  • Base URL
    https://dfareporting.googleapis.com/dfareporting/v5
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/dfareporting
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/dfareporting
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

profileIdstring int64 required

The Campaign Manager 360 user profile ID.

Request body

accountIdstring int64

The account ID to which this report belongs.

etagstring

The eTag of this response for caching purposes.

fileNamestring

The filename used when generating report files for this report.

format'CSV' | 'EXCEL'

The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.

idstring int64

The unique ID identifying this report resource.

kindstring

The kind of resource this is, in this case dfareporting#report.

lastModifiedTimestring uint64

The timestamp (in milliseconds since epoch) of when this report was last modified.

namestring

The name of the report.

ownerProfileIdstring int64

The user profile id of the owner of this report.

subAccountIdstring int64

The subaccount ID to which this report belongs if applicable.

type'STANDARD' | 'REACH' | 'PATH_TO_CONVERSION' | 'FLOODLIGHT' | 'CROSS_MEDIA_REACH'

The type of the report.

Response

Successful response

accountIdstring int64

The account ID to which this report belongs.

etagstring

The eTag of this response for caching purposes.

fileNamestring

The filename used when generating report files for this report.

format'CSV' | 'EXCEL'

The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.

idstring int64

The unique ID identifying this report resource.

kindstring

The kind of resource this is, in this case dfareporting#report.

lastModifiedTimestring uint64

The timestamp (in milliseconds since epoch) of when this report was last modified.

namestring

The name of the report.

ownerProfileIdstring int64

The user profile id of the owner of this report.

subAccountIdstring int64

The subaccount ID to which this report belongs if applicable.

type'STANDARD' | 'REACH' | 'PATH_TO_CONVERSION' | 'FLOODLIGHT' | 'CROSS_MEDIA_REACH'

The type of the report.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status