Hi,

I am currently working on retrieving a campaign report via API using Python 
and have encountered a challenge with specific columns.

I am successfully retrieving the following columns with the current query:

Currency code
Month
Campaign
Cost
However, I am facing difficulties in including the columns "Audience 
segment type" and "Audience segment" in the query. Here is the current 
query for your reference:

"SELECT customer.currency_code, campaign.name, metrics.cost_micros, 
segments.month
 FROM campaign 
WHERE segments.date >= '2023-01-01'' and segments.date <='2023-11-01' and 
metrics.cost_micros > 0"

Could you please guide me on how to modify the query to include these two 
additional columns?

Thank you in advance for your support.

Best regards,
Raquel Correia

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/71634bd8-0c3f-4d9f-a246-dda91d064a59n%40googlegroups.com.
  • Au... Raquel Correia
    • ... Raquel Correia
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to