谷歌adsense api CUSTOM_CHANNEL_ID问题

时间:2015-11-03 00:46:45

标签: api adsense

尝试在何时获取adSense customChannel报告 我评论"' CUSTOM_CHANNEL_ID == XXXXXXXXX'"这是完美的工作 并向我展示了所有报告,但是当再次提供它时没有显示任何东西我在google AdSense仪表板中的自定义渠道向我显示报告我试图弄清楚我的代码中有什么问题并感谢您的帮助

class Main{
    private static final int clientsAmount = 2;

    public static void main(String[] args) throws Exception {
        Server server = new Server();
        Client[] clients = new Client[clientsAmount];
        for (int i = 0; i < clientsAmount; i++){
            clients[i] = new Client(i);
        }

        server.start();

       // server.close();
    }
}

}

1 个答案:

答案 0 :(得分:0)

错误发生了     'CUSTOM_CHANNEL_ID == XXXXXXXXX'

you have to add ca-pub-(XXXXXXXX)clientid:(xxxxxx) channelid

例如

'CUSTOM_CHANNEL_ID==ca-pub-XXXXXXXXX:XXXXXX'