AdSense Management API: Getting “0:” as APP_ID in

2019-09-13 16:34发布

问题:

Request

"https://www.googleapis.com/adsense/v1.4/accounts/pub-XXXXXXXXXXXXX/reports?endDate=2019-01-01&startDate=2014-01-01&dimension=APP_ID&metric=INDIVIDUAL_AD_IMPRESSIONS&fields=headers%2C%20rows

Response

{ "headers": [ { "name": "APP_ID", "type": "DIMENSION" }, { "name": "APP_NAME", "type": "DIMENSION" }, { "name": "INDIVIDUAL_AD_IMPRESSIONS", "type": "METRIC_TALLY" } ], "rows": [ [ "0:", "abcdAndroidDemo_P1V1", "375" ], [ "0:", "abcdDemo", "13" ], [ "0:", "abcdiOSDemo", "34" ] ] }

How to get the APP_IDs of all the apps of publisher?

回答1:

I am getting APP_ID after publishing the app in the app store.