v18.9.0 of the DLLs do not have the 2v01502 API so I can't refer to them For example, attempting this line breaks the code
using Google.Api.Ads.AdWords.v201502; On Tuesday, 10 March 2015 23:48:11 UTC+1, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > I see from your code snippet that you are still using v201409. If you > switch to v201502 then the new field names should work as described in the > migration guide. > > Thanks, > Josh, AdWords API Team > > On Tuesday, March 10, 2015 at 6:29:07 PM UTC-4, [email protected] wrote: >> >> 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/66dcf7fd-3a56-4f24-9f7f-f9d27c833027%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
