Hi Team,
I referred to this
script:
https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/get_ad_groups.py
to get AdGroup data.
But I found that all groups' status is 0.
results = ga_service.search(customer_id, query=query, page_size=page_size)
for row in results:
print('Ad group with ID %d and name "%s" was found in campaign '
'with ID %d. status=%s'
% (row.ad_group.id.value, row.ad_group.name.value,
row.campaign.id.value, *row.ad_group.status*))
My questions:
1. Some groups are enabled and some are disabled manually in UI. Why all
are 0?
2. How to get status text value? example: ENABLED or PAUSED
Thanks!
Wenjun
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads 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/fd51d5a9-2b88-4535-92e3-49ba0d697961%40googlegroups.com.