Fetch sitelinks on Account/Campaign level in PHP

21 views
Skip to first unread message

Shobha Solanki

unread,
Jan 5, 2022, 6:44:53 AM1/5/22
to AdWords API and Google Ads API Forum
Hello,

How can we fetch the sitelinks on Account ( all campaigns) level using Google Ads v9 for PHP client. 

Can some one please help.

Thanks,
Shobha


Google Ads API Forum Advisor

unread,
Jan 5, 2022, 11:01:27 AM1/5/22
to shobha....@gmail.com, adwor...@googlegroups.com
Hello Shobha,

Thanks for reaching out to the Google Ads API support. Could you please confirm which based extension you are referring to (e.g asset based extension or feed based)? 
With our code sample (as you preferred PHP) you can modify the keyword stats sample to any report.
  • With asset-based extension- Asset can be content individually fetched by issuing a GAQL query to the asset report and for performance statistics can be requested from the asset_field_type_view report with segmenting resources.
  • And with feed based- you can refer to this extension_feed_item report.

Feel free to reply back to us.
Best regards,
Google Logo
Jakeia Sabrina
Google Ads API Team
 


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