Hello
According to the migration notes (
https://developers.google.com/adwords/api/docs/guides/migration/v201502)
some columns in the ReportDefinition calls were renamed
My problem now is that neither the old or new values work.
I'm using the C# libs (latest ones v18.9) and have updated the
DLLs/references in my solution.
I've checked my code against the latest examples and I'm using the same
examples.
What am I doing wrong please?
Code snippets
..
using Google.Api.Ads.AdWords.Lib;
using Google.Api.Ads.AdWords.Util.Reports;
using Google.Api.Ads.Common.Util.Reports;
using Google.Api.Ads.AdWords.v201409;
...
//auth stuff here
...
ReportDefinition definition = new ReportDefinition();
definition.reportName = FileName;
definition.reportType =
ReportDefinitionReportType.GEO_PERFORMANCE_REPORT;
definition.downloadFormat = DownloadFormat.TSV;
definition.dateRangeType =
ReportDefinitionDateRangeType.CUSTOM_DATE;
...
//selector stuff
selector.fields = new string[]
{
...
"ClickConversionRate", //Was "ConversionRate" before
v201502
...
};
...
try
{
ReportUtilities utilities = new ReportUtilities(user,
"v201409", definition);
using (ReportResponse reportResponse =
utilities.GetResponse())
{
reportResponse.Save(filePath);
}
}
catch (Exception)
{
//our error handling
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/8c6da761-abda-45ec-a467-89e30d5a6d89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.