How to get Audience Segment / Sitelink extension list Using PHP SDK

52 views
Skip to first unread message

OptAds Guna

unread,
Mar 28, 2022, 3:25:16 AM3/28/22
to Google Ads API and AdWords API Forum
Hi

We are using the PHP SDK for Google ads. 


We need to get all Sitelink and Audience segment list. Is there any service was available using the PHP sdk ?

Thanks,

Capture1.JPG

Google Ads API Forum Advisor

unread,
Mar 28, 2022, 12:14:56 PM3/28/22
to optad...@gmail.com, adwor...@googlegroups.com
Hi there,

For the PHP client Library we have a reporting sample folder, you can use these samples as a base to modify for your specific need.

For the reports that will give you Sitelinks, you can use asset_field_type_view  for migrated extensions and extension_feed_item for non migrated extensions.

For Audience segment lists, we have audience. For metrics of audiences linked to campaigns there's campaign_audience_view and for audiences linked at ad group level there's ad_group_audience_view. Feel free to get back to us.

Regards,

Google Logo
Aryeh
Google Ads API Team
 
 

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