Skip to main content
GET
/
api
/
v1
/
google-ads
/
device-performance
Get Device Performance
curl --request GET \
  --url http://localhost:8000/api/v1/google-ads/device-performance \
  --header 'Authorization: Bearer <token>'
{
  "device_performance": [
    {
      "device_type": "<string>",
      "impressions": 123,
      "clicks": 123,
      "ctr": 123,
      "cost": 123,
      "conversions": 123,
      "cost_per_conversion": 123,
      "conversion_rate": 123,
      "percentage_of_total_impressions": 123
    }
  ],
  "time_period": "<string>",
  "total_impressions": 123,
  "total_clicks": 123,
  "total_cost": 123,
  "total_conversions": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

customer_id
integer
required
login_customer_id
integer | null
campaign_id
integer | null
start_date
string
end_date
string
token_id
integer | null

Response

Successful Response

Response schema for device performance

device_performance
DevicePerformance · object[]
required
time_period
string
required
total_impressions
integer
required
total_clicks
integer
required
total_cost
number
required
total_conversions
number
required