Google Ads API get reporting of performance data error

34 views
Skip to first unread message

MCC智美

unread,
Jun 28, 2019, 10:17:29 AM6/28/19
to AdWords API and Google Ads API Forum

If I get reporting of performance data add 'metrics.all_conversions_value' parameter, it will report an error. Normally, it won't.

Has this happened to anybody?


code:

1561637336882.jpg


error:

1561637237286.jpg



Google Ads API Forum Advisor Prod

unread,
Jun 28, 2019, 7:02:09 PM6/28/19
to games...@gmail.com, adwor...@googlegroups.com
Hello, 

Could you please share the client customer Id along with the details about the PHP client library version that you are using? You can share the details privately via Reply privately to author option. 

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UCZyrp:ref

MCC智美

unread,
Jul 1, 2019, 3:55:11 AM7/1/19
to AdWords API and Google Ads API Forum
Hello, 

my customer Id is 312-330-3209  and PHP client library version is 7.1

Thanks

在 2019年6月29日星期六 UTC+8上午3:02:09,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
Jul 2, 2019, 2:27:26 AM7/2/19
to games...@gmail.com, adwor...@googlegroups.com
Hello,

The good news is that I found the requests on our servers, so I was able to determine that the data is coming back fine. i don't see any changes from the data itself. However, I'm going to double-check with our PHP expert to see if something about the data type may have changed that could have caused this for you when the client library is parsing the response. 

Best,
Nadine Sundquist, Google Ads API Team

ref:_00D1U1174p._5001UCZyrp:ref

MCC智美

unread,
Jul 2, 2019, 4:18:32 AM7/2/19
to AdWords API and Google Ads API Forum
Ok, I am Looking forward to the next good news

在 2019年7月2日星期二 UTC+8上午10:27:26,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
Jul 2, 2019, 5:42:20 AM7/2/19
to games...@gmail.com, adwor...@googlegroups.com
Hello there,

I see you have posted on the GitHub issue tracker as well.
Could you please upgrade the library and confirm again, as we have just released v2?

Cheers,
Thanet, Google Ads API Team

ref:_00D1U1174p._5001UCZyrp:ref

MCC智美

unread,
Jul 2, 2019, 7:50:15 AM7/2/19
to AdWords API and Google Ads API Forum
Hello,
I just re-used the V2 version, and it's the same error.

在 2019年7月2日星期二 UTC+8下午1:42:20,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
Jul 2, 2019, 8:11:01 AM7/2/19
to games...@gmail.com, adwor...@googlegroups.com
If I understand correctly, you are the one who post in the GitHub issue you mentioned before, right?
If so, could you please follow up there instead?
As we have all data there, it's probably faster to discuss there too.

Thank you.

Best,

MCC智美

unread,
Jul 2, 2019, 8:44:21 AM7/2/19
to AdWords API and Google Ads API Forum
Sorry, I didn't post this question in github.

Thank you

在 2019年7月2日星期二 UTC+8下午4:11:01,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
Jul 3, 2019, 10:27:16 AM7/3/19
to games...@gmail.com, adwor...@googlegroups.com
Hello,

I'm sorry for misunderstanding.
Upon investigation, I got a similar error (though not exactly the same), which I can resolve by turning on the "C implementation" of Protobuf extension.

In particular, the PHP client library depends on the gRPC and protobuf, as written in README .
If you follow the "Protobuf Runtime library" section of this page , you will probably install this C implementation of Protobuf already.
Could you use "php -i | grep protobuf" to check if you have this installed?
If not yet, could you try installing it and try again?

MCC智美

unread,
Jul 9, 2019, 2:18:38 AM7/9/19
to AdWords API and Google Ads API Forum
Hello,
After adding and expanding, it's finally OK. Thank you very much for your guidance.

adsapiforumadvisor于2019年7月3日星期三UTC+8下午6时27分16秒写道:
您好,

我很抱歉误会。
经过调查,我得到了一个类似的错误(虽然不完全一样),我可以通过打开Protobuf扩展的“C实现”来解决这个问题。

特别是,PHP客户端库依赖于自述文件中的gRPC和protobuf
如果您按照本页的“Protobuf运行时库”部分进行操作  ,您可能已经安装了Protobuf的这个C实现。
你能用“ php -i | grep protobuf ”检查你是否安装了这个?
如果还没有,你可以尝试安装它并再试一次吗?

Best,
Thanet,Google Ads API Team

ref:_00D1U1174p._5001UCZyrp:ref
Reply all
Reply to author
Forward
0 new messages