AdWords v201708 CustomerService / clientCustomerId null value - error?

2017-08-10 Thread Bejan @ MarketFlare
Attempted to migrate from AdWords API v201705 to v201708 and while running 
existing code to get all customer accounts, this error was received.

AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:''

Was there a change in v201708 so that clientCustomerId is required while 
retrieving all customers in a managed account?

https://developers.google.com/adwords/api/docs/reference/v201708/CustomerService

"Starting with v201607, if clientCustomerId is specified in the request 
header, only details of that customer will be returned. To do this for 
prior versions, use the get() method instead."

Thanks,

Bejan A.
http://www.marketflare.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/984f906a-3e36-473c-8b85-cecf9ec636f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: NuGet Google.AdWords.dll not strong name signed? v19.0.0

2017-02-14 Thread Bejan @ MarketFlare
OK, I have submitted an issue @ GitHub.

Thanks,

Bejan A.

On Tuesday, February 14, 2017 at 7:54:23 PM UTC-8, Peter Oliquino wrote:
>
> Hi Bejan,
>
> Could you confirm if you are using one of the AdWords API client 
> libraries, specifically the .NET client library? If yes, and if you are 
> experiencing issue with the configuration, I would recommend that you get 
> in touch with the .NET client library owners via this link 
> .
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5d7dc37f-9126-4f18-8978-f9e484fc9634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: NuGet Google.AdWords.dll not strong name signed? v19.0.0

2017-02-14 Thread Bejan @ MarketFlare
Hi Peter,

I am referring to the library that is packaged officially here - 
https://www.nuget.org/packages/Google.AdWords/

Usually the dll is signed, but this and also the precompiled assembly at 
github are not signed.

Thanks,

Bejan A.
http://www.marketflare.com

On Tuesday, February 14, 2017 at 7:54:23 PM UTC-8, Peter Oliquino wrote:
>
> Hi Bejan,
>
> Could you confirm if you are using one of the AdWords API client 
> libraries, specifically the .NET client library? If yes, and if you are 
> experiencing issue with the configuration, I would recommend that you get 
> in touch with the .NET client library owners via this link 
> .
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/addbe149-449d-4cac-9c4f-73c01dfbbd10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


NuGet Google.AdWords.dll not strong name signed? v19.0.0

2017-02-14 Thread Bejan @ MarketFlare
Just fetched the NuGet of Google.AdWords.dll (v19.0.0) and it's not strong 
name signed.

Will we need to compile it with the strong name cert? Or will a strongly 
named version be published at NuGet?

VS 2015 has the error during runtime -

System.TypeInitializationException
>
> Could not load file or assembly 'Google.AdWords, Version=19.0.0.0, 
> Culture=neutral, PublicKeyToken=null' or one of its dependencies. A 
> strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
>


Thanks!

Bejan A.
http://www.marketflare.com
AdWords Reporting Software

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5ed2940e-20b7-4c4f-b49e-c3d3071224ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


NuGet Google.AdWords.dll not strong name signed? v19.0.0.0

2017-02-14 Thread Bejan @ MarketFlare

Just fetched the NuGet of Google.AdWords.dll (v19.0.0.0 for API v201702 
support) and it's not strong name signed.

Will we need to compile it with the strong name cert? Or will a strongly 
named version be published at NuGet?

VS 2015 has the error during runtime -

System.TypeInitializationException
>
> Could not load file or assembly 'Google.AdWords, Version=19.0.0.0, 
> Culture=neutral, PublicKeyToken=null' or one of its dependencies. A 
> strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
>

Thanks!

Bejan A.
http://www.marketflare.com
AdWords Reporting Software

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9180d31f-0abe-41b2-a4bc-64d1d874639b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sitelinks migration example code issue? FeedMappings question

2016-05-09 Thread Bejan @ MarketFlare
Thanks, Umesh. This example code clarifies the process and also does not 
have the bug at the migration document.

Bejan A.
http://www.marketflare.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1b091fec-f6e7-4fb2-adcd-8c11f34f45c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sitelinks migration example code issue? FeedMappings question

2016-05-08 Thread Bejan @ MarketFlare

RE: sitelinks migration guide @ 
https://developers.google.com/adwords/api/docs/guides/extension-settings#migration_steps

This value of sitelinkFromFeed.Line3 should be set and not 
sitelinkFromFeed.Text, right?



Also it's not clear how the feedMappings value from GetFeedMapping() should 
be used as the example code does not use it. Or am I just not seeing it?

Thanks,

Bejan A.
http://www.marketflare.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f80d02b-565d-41a2-8ff6-df37e7d46cab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Shouldn't the Cost field always be a "money " type? (and in micros)

2016-04-03 Thread Bejan @ MarketFlare
Also, TOP_CONTENT_PERFORMANCE_REPORT has AverageCpc as *double *instead of 
*money 
*type.

And FINAL_URL_REPORT has Conversions as *long *instead of *double *as it is 
in every other report.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/780f8041-d8ad-45cd-8f07-a536004cc893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Shouldn't the Cost field always be a "money " type? (and in micros)

2016-04-03 Thread Bejan @ MarketFlare
We use the Report Definition Service to get field data for all report 
types. Also, we refer to this super handy data for field descriptions:

https://developers.google.com/adwords/api/docs/appendix/reports/all-reports.csv

We noticed that in a couple reports the "Cost" field is specified as *long *and 
not as *money *type.

The *money *type field cues our AdWords reporting software to convert from 
micros, and the Cost field data is in micros.

The two reports that show Cost as long are TOP_CONTENT_PERFORMANCE_REPORT 
and VIDEO_PERFORMANCE_REPORT

Is this by design or will it be fixed?

Thanks!

Bejan A.
http://www.marketflare.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c5f67b55-133a-4690-8ec9-d04de750c17f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is Automatic Placements Performance a single or multiple attribution report?

2016-04-03 Thread Bejan @ MarketFlare
According to the API documentation the Automatic Placements Performance 
report is a single attribution report:

https://developers.google.com/adwords/api/docs/appendix/reports/automatic-placements-performance-report

However the documentation also indicates this report is a multiple 
attribution report:

https://developers.google.com/adwords/api/docs/appendix/reports#by-attribution

So which is correct?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a29a5abb-8123-4dbb-89a3-226e53acd552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Incorrect Namespaces in Google.Api.Ads.AdWords.v201506.ReportDefinition

2015-07-01 Thread Bejan @ MarketFlare
Hello Dan and thanks for your help. 

I'm pulling the lastest .NET AdWords dll from Nuget. Will there by a 
version update there soon or should I fix the namespace issues from code at 
the github source and compile?

After updating from v201502 to v201506 I get the following exception from 
GetResponse():

ReportDownloadError.INVALID_REPORT_DEFINITION_XML, Trigger: Invalid 
ReportDefinition Xml: cvc-complex-type.2.4.a: Invalid content was found 
starting with element 'selector'. One of 
'{"https://adwords.google.com/api/adwords/cm/v201506":id, 
"https://adwords.google.com/api/adwords/cm/v201506":selector}' is expected. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/be940ef5-45b5-4416-a848-01fee4d089c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [BUG] Geo Performance Report: {Error: AuthenticationError.AUTHENTICATION_FAILED, Trigger: , FieldPath: }

2015-04-26 Thread Bejan @ MarketFlare
Also getting this error, only in the Geo Performance Report and Click 
Performance requests... v201502

Our reporting software  
uses oauth2 for authentication and accesses other reports without issue, 
though we didn't test them all.

This reminds me of the NOT_ADS_USER bug that happened 
 almost a 
couple months ago.

AdWordsReportsException: Report download errors occurred. 
Error: AuthenticationError.AUTHENTICATION_FAILED, Trigger: , 
FieldPath: 

On Friday, April 24, 2015 at 10:52:34 AM UTC-7, AdWordsApiUser wrote:
>
> Started getting this error if city, or region is selected (if you select 
> only country, it works OK) in the GEO_PERFORMANCE_REPORT. API v201409.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/b34652df-928b-4eda-937b-def8b967d62f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenicationError.NOT_ADS_USER - but only for single report type.

2015-03-08 Thread Bejan @ MarketFlare
Same issue here with the Geo performance report using AdWords API v201409. 
It worked fine when we ran it last week, and now the geo performance report 
returns the error:

Error: AuthenticationError.NOT_ADS_USER, Trigger: , FieldPath: 

Account performance and other reports work fine. 

On Saturday, March 7, 2015 at 9:24:03 AM UTC-8, Alex Jones wrote:
>
> We are experiencing issues with requesting a Geography Report from the 
> API. Strangely, we use the same code to process all of our other reports, 
> which completed successfully both before and after the failing Geography 
> Report. We've waited several hours and then requested the report again, to 
> no avail. I'm hoping you have some insight into this issue. This is the 
> same production code we've been executing for some time now with no issues, 
> and configurations have not been altered recently either. We rely on this 
> data, and not having it available is very inconvenient for us. We'd 
> appreciate any help you can provide. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/6562a507-14e9-4dea-88a5-aca9e1634965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Field ConversionTypeName is sometimes returned as ConversionType instead of ConversionActionName

2013-09-18 Thread Bejan @ MarketFlare
Same issue here, also with Account Performance report.

Expected field display heading 'Conversion action name" and getting 
"Conversion type" - this is unexpected based on documentation.

Started happening on 9/17/2013.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problems with ReportUtilities.DownloadClientReport with .NET 14.5.0 client library

2012-07-20 Thread Bejan @ MarketFlare
We ran into the same issue after moving to the .NET 14.6 library. 

To fix this we had to edit source and recompile the Google.AdWords.dll. 
Line 45 in ReportUtilities.cs (Util\Reports) was updated:

from -

private const string DEFAULT_REPORT_VERSION = "v201109";

to -

private const string DEFAULT_REPORT_VERSION = "v201206"; //or to 
whichever version you are using... looks like v201109_1 in your case

Now we no longer receive the "invalid content" error. 

As for the other issue of code execution hanging we did not experience this 
enough to see a pattern or problem. For this type of issue maybe RX 
"ToObservable" could help if DownloadClientReport is run as a Task:

Add RX (System.Reactive.dll) and ExtensionMethod:

public static Task TimeoutAfter(this Task task, int 
millisecondsTimeout) {
return 
task.ToObservable().Timeout(TimeSpan.FromMilliseconds(millisecondsTimeout)).ToTask();
}

I learned about this from here (credit to the first comment there) - 
http://blogs.msdn.com/b/pfxteam/archive/2011/11/10/10235834.aspx

On Wednesday, July 4, 2012 5:26:05 AM UTC-7, Alexander Nitschke wrote:
>
> I have a few problems since upgrading to the .NET 14.5.0 library (newest 
> version as of now):
>
> ReportUtilities.DownloadClientReport doesn't work when used with v201109_1 
> ReportDefinition. It gives the following error:
> Report contents are invalid. - !!!2|||-1|||cvc-complex-type.2.4.a: Invalid 
> content was found starting with element 'selector'. One of '{"
> https://adwords.google.com/api/adwords/cm/v201109":id, "
> https://adwords.google.com/api/adwords/cm/v201109":selector}' is 
> expected.???
>
> Ok, so I use the old v201109 ReportDefinition which works... actually, 
> only so far. The DownloadClientReport just hangs itself randomly in roughly 
> 1 out of 200 reports, no rhyme or reason to these reports. This is 
> happening without an exception, the code execution just hangs there and 
> never finishes (several hours at least, probably "never" is correct).
>
> This is very annoying since I have to stop the background process, reset a 
> date in our database and start it again, so that report downloading can 
> continue - and this is supposed to happen at 4:00 in the night, so that the 
> previous day data is up and running for our clients as soon as possible. 
> Not to mention that downloading and working with the report data (there is 
> a lot to be done with our bid automatization algorithms) slows down our 
> server, so it usually happens from 4 a.m. to 6 a.m. But since we have more 
> than 200 clients there is hardly a day since the upgrade when I have to 
> stop the process and start it again, and the first hours of the day are 
> running on a slower server.
>
> If DownloadClientReport would throw an exception at least, or allow for a 
> time limit, I could work out a workaround. But it doesn't, and the Try ... 
> Catch routine also doesn't allow for a time limit.
>
> Could you please look into this issue, and correct it soon? Also, any tips 
> for a workaround are very helpful, especially since I'm scheduled for a two 
> week vacation next Monday, and already see myself dealing every morining 
> with this issue.
>
>
On Wednesday, July 4, 2012 5:26:05 AM UTC-7, Alexander Nitschke wrote:
>
> I have a few problems since upgrading to the .NET 14.5.0 library (newest 
> version as of now):
>
> ReportUtilities.DownloadClientReport doesn't work when used with v201109_1 
> ReportDefinition. It gives the following error:
> Report contents are invalid. - !!!2|||-1|||cvc-complex-type.2.4.a: Invalid 
> content was found starting with element 'selector'. One of '{"
> https://adwords.google.com/api/adwords/cm/v201109":id, "
> https://adwords.google.com/api/adwords/cm/v201109":selector}' is 
> expected.???
>
> Ok, so I use the old v201109 ReportDefinition which works... actually, 
> only so far. The DownloadClientReport just hangs itself randomly in roughly 
> 1 out of 200 reports, no rhyme or reason to these reports. This is 
> happening without an exception, the code execution just hangs there and 
> never finishes (several hours at least, probably "never" is correct).
>
> This is very annoying since I have to stop the background process, reset a 
> date in our database and start it again, so that report downloading can 
> continue - and this is supposed to happen at 4:00 in the night, so that the 
> previous day data is up and running for our clients as soon as possible. 
> Not to mention that downloading and working with the report data (there is 
> a lot to be done with our bid automatization algorithms) slows down our 
> server, so it usually happens from 4 a.m. to 6 a.m. But since we have more 
> than 200 clients there is hardly a day since the upgrade when I have to 
> stop the process and start it again, and the first hours of the day are 
> running on a slower server.
>
> If DownloadClientReport would throw an exception at least, or allow for a 
> time limit, I cou