I am running this query 

SELECT
       campaign.name,
       campaign.labels,
       campaign.status,
       metrics.impressions,
       metrics.clicks,
       metrics.cost_micros,
       segments.date
     FROM campaign
     WHERE segments.date DURING LAST_7_DAYS
     AND campaign.status = 'ENABLED'


If I print the return rows from getResultList I can see I have the labels, 
how ever I can figure out how to get the label data.

It seems there should be something like getCampaignLabels or getLabels the 
example I found suggests row.getLabel.getName how ever this returns back, 
it also seems singular when I may have multiple rows.

Is there something special I should be doing ?
The closest I can find is this example but it selects from labels table not 
the campaign table.

https://developers.google.com/google-ads/api/docs/samples/get-campaigns-by-label

Can anyone offer any suggestions to steer me in the right direction ?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/821ad890-1675-4921-acde-7f0f218d2420n%40googlegroups.com.
  • Ja... 'Oly' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Oly' via Google Ads API and AdWords API Forum

Reply via email to