So I've been able to retrieve the fields using FieldMask. Is it possible to 
programmatically access the fields in the GoogleAdsRow? For example, from 
the "Immediate Window" in VS2019 where result contains a list of 
GoogleAdsRows:
```
result[0].CustomerClient.ClientCustomer
"customers/7212153394"
result[0]["CustomerClient.ClientCustomer"]
error CS0021: Cannot apply indexing with [] to an expression of type 
'GoogleAdsRow'
```
How does one achieve a dynamic field selection?




On Wednesday, 13 April 2022 at 9:22:42 pm UTC+8 Zweitze wrote:

> When you request a report, you'll reserve a response object with a few 
> members, among that "Results" which is a list of returned GoogleAdsRows.
> Among the other members you will find "FieldMask" which contains a list of 
> names of the requested fields.
>
> With the FieldMask list, you can determine which fields you should include 
> in that report you want to make.
> On Wednesday, April 13, 2022 at 9:23:17 AM UTC+2 axtens wrote:
>
>> Having built up a list of GoogleAdsRow into
>> ```
>>          var result = new List<GoogleAdsRow>();
>> ```
>> how can I now get a list of all the fields in each row so as to build up 
>> TSV report, with headings at the top and the columnar data below.
>>
>> -- Bruce
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7450b1c2-8644-47ed-a34c-0bf64cb0ad39n%40googlegroups.com.

Reply via email to