Extracting values from googleAdsRow

27 views
Skip to first unread message

beyond Clicks

unread,
Oct 5, 2020, 5:17:41 AM10/5/20
to AdWords API and Google Ads API Forum

I have a query in place through the google ads API that SELECT's the following;

SELECT campaign_criterion.ad_schedule.start_hour, campaign_criterion.ad_schedule.start_minute, campaign_criterion.ad_schedule.end_hour, campaign_criterion.ad_schedule.end_minute FROM ad_schedule_view WHERE campaign.id = $campaignId


I know from examples that to get say, campaign.id, you use
$googleAdsRow->getCampaign()->getIdUnwrapped();

But I am unable to find an example containing the SELECTS I've used, or a document showing all the options for extracting data from $googleAdsRow.

Does anybody know where all these get's are listed or what ones I should use to pull the information from this query?

Google Ads API Forum Advisor Prod

unread,
Oct 5, 2020, 11:43:21 AM10/5/20
to byon...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. You could refer to this code snippet to check the available get options in the $googleAdsRow. You would be able to use the IDE built-in IntelliSence to lookup the available fields as well.

Thanks and regards,
Xiaoming, Google Ads API Team


Google Logo
Xiaoming
Google Ads API Team
 


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