Reporting data by segment wise.

51 views
Skip to first unread message

puneet sharma

unread,
Mar 11, 2021, 6:16:42 AM3/11/21
to AdWords API and Google Ads API Forum
Hello Team,
I am trying to get data by device wise using segmentation for this I have setup my code. I am able to get data but not able to get segment device name. For your reference I have attached code with this email please check the code back to me where I am wrong.

Thanks,
Getcampigninsightsbysegment.php

Google Ads API Forum Advisor Prod

unread,
Mar 12, 2021, 5:13:16 AM3/12/21
to puneet...@gmail.com, adwor...@googlegroups.com
Hi Puneet,

Thank you for posting your concern.

I can see that the segments.device field is included in your code so the returned data of the campaign should be segmented by device as well. However, since you could not get segment device field, then it appears that there seems to be an issue with the implementation of your code. With this, I would suggest you to reach out to the author of the PHP client library by posting your issue here so they can check if there is any issues with your code.

However, so that we can have an investigation on our side as well, then please provide the following details via Reply privately to author option:
If you haven't enabled the logging of the API transactions for the specific client library that you are using, then please refer to the guide below:
PHP - https://developers.google.com/google-ads/api/docs/client-libs/php/logging

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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