Get reporting rows
GET/ad-publishing/google/reporting/rows
Retrieve a list of Google campaigns or ad groups with reporting data. v4 successor to GET /ad-publishing/google/reporting/list.
Request
API Version
v4Location identifier
Report list type
campaignsadsadGroupskeywordsReport start date
Report end date
Campaign identifier (required when listType is adGroups, ads, or keywords)
Integration type
AD_MANAGERINTEGRATIONOne entry per entity, shaped by listType. campaigns keeps Google's nested { campaign, metrics } row and only adds the attributed revenue block when type=AD_MANAGER; adGroups and ads flatten the entity onto the row and always carry revenue; keywords flattens name and id from the criterion and carries no revenue at all.
- application/json
- Schema
- Example (auto)
Schema
- Array [oneOf
- GoogleReportingListCampaignRowDTO
- GoogleReportingListItemDTO
- GoogleReportingListKeywordRowDTO
- ]
Campaign fields, nested as Google returns them rather than flattened onto the row
Google Ads metrics for the period
Attributed revenue. Present only for type=AD_MANAGER.
Attributed sales count. type=AD_MANAGER only.
Attributed leads count. type=AD_MANAGER only.
Average revenue per sale. type=AD_MANAGER only.
[
{
"campaign": {
"resourceName": "customers/6776452901/campaigns/22209847663",
"id": "22209847663",
"name": "Spring promotion",
"status": "PAUSED"
},
"metrics": {
"impressions": 6041,
"clicks": 180,
"costMicros": 5421341,
"averageCpc": 864547.05,
"conversions": 0,
"averageCpm": 25877259.57,
"costPerConversion": 0,
"ctr": 0.115
},
"revenue": "0.00",
"sales": "0",
"leads": "0",
"averageRevenue": "0.00"
},
{
"resourceName": "customers/6776452901/adGroups/177462089489",
"id": "177462089489",
"name": "Ad Group 1",
"status": "ENABLED",
"adGroupName": "Ad Group 1",
"adGroupId": "177462089489",
"metrics": {
"impressions": 6041,
"clicks": 180,
"costMicros": 5421341,
"averageCpc": 864547.05,
"conversions": 0,
"averageCpm": 25877259.57,
"costPerConversion": 0,
"ctr": 0.115
},
"revenue": "0",
"sales": "0",
"leads": "0",
"averageRevenue": "0"
},
{
"id": "303338616",
"name": "running shoes",
"adGroupName": "Ad Group 1",
"metrics": {
"impressions": 6041,
"clicks": 180,
"costMicros": 5421341,
"averageCpc": 864547.05,
"conversions": 0,
"averageCpm": 25877259.57,
"costPerConversion": 0,
"ctr": 0.115
},
"adGroupCriterion": {
"resourceName": "customers/6776452901/adGroupCriteria/175603784313~303338616",
"criterionId": "303338616",
"keyword": {
"text": "running shoes",
"matchType": "BROAD"
}
},
"adGroup": {
"resourceName": "customers/6776452901/adGroups/175603784313",
"id": "175603784313",
"name": "Ad Group 1"
},
"keywordView": {
"resourceName": "customers/6776452901/keywordViews/175603784313~303338616"
}
}
]