Hey Anthony,
Thanks for your reply
As per previous post
$query = "SELECT
campaign_criterion.operating_system_version.operating_system_version_constant
FROM campaign_criterion";
$response = $googleAdsServiceClient->search($customerId, $query, ['pageSize'
=> self::PAGE_SIZE]);
foreach ($response->iterateAllElements() as $googleAdsRow) {
echo($googleAdsRow->getCampaignCriterion()->getOperatingSystemVersion());
}
I tried the above code But still i'm not getting the proper output. I'm
getting a object and i think has null values Can you please help me out.
On Monday, April 13, 2020 at 8:56:59 PM UTC+4, adsapiforumadvisor wrote:
>
> Hi Sreenu,
>
> You won't be able to get OS related data
> <https://developers.google.com/adwords/api/docs/appendix/codes-formats?hl=en#mobile-platforms>
>
> from the ad_group_ad level. You can get this data from the
> campaign_criterion level and select fields from the
> operating_system_version_constant
> <https://developers.google.com/google-ads/api/fields/v3/operating_system_version_constant>
> .
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001UZXmFE:ref
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/7b6a87c0-8192-49ac-a606-c6e62fc3b9a1%40googlegroups.com.