Hi !
I am getting such a weird error. I have been using this piece of code for almost a year and since 2 days it does not work.
query = """
SELECT
campaign.status
FROM campaign_label
"""
CampaignStatus = client.get_type("CampaignStatusEnum").CampaignStatus
rows = batch.result etc etc
Then when I am iterating the rows:
status=CampaignStatus.Name(row.campaign.status). -> I get error on this line : AttributeError: Name
I get the same error for other enums as well like AdGroupStatusEnum or CampaignServingStatusEnum.
I am blocked in the middle of something.
Thanks in advance,
osman