Re: assetgroup create failure on pmax retail campaign

2023-05-30 Thread Joshua Newman
Thank you for the response and information. I understand what the errors 
mean, but what I don't understand is why Assets are now required for PMax 
retail campaigns now. Was there an announcement about a change in 
requirements for PMax retail? According this documentation 
(https://developers.google.com/google-ads/api/docs/performance-max/assets#:~:text=As%20a%20best%20practice%2C%20we,maximize%20reach%20across%20all%20inventory.=30%20characters%20max%3B%20include%20at,with%2015%20characters%20or%20less.=90%20characters%20max%3B%20include%20at,with%2060%20characters%20or%20less.)
 
, Assets are not required for PMax retail because by linking the Google 
Merchant Account to the PMax campaign assets will be automatically 
generated. This has worked since we migrated from Smart Shopping Campaigns 
to PMax Retail campaigns back in September of 2022. Can someone elaborate 
on this for me?

On Tuesday, May 30, 2023 at 10:03:04 AM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hello,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> Upon checking the provided response logs with our team, I can see that 
> you’ve encountered following errors on your request:
>
>- NOT_ENOUGH_HEADLINE_ASSET 
>- NOT_ENOUGH_LONG_HEADLINE_ASSET 
>- NOT_ENOUGH_DESCRIPTION_ASSET 
>- NOT_ENOUGH_BUSINESS_NAME_ASSET 
>- NOT_ENOUGH_MARKETING_IMAGE_ASSET 
>- NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET 
>- NOT_ENOUGH_LOGO_ASSET 
>
>
> For the above errors, you may refer to this *guide* 
> 
>  
> on why it's being thrown. Also, you may see how to link assets to asset 
> groups using the interactive guide for Performance Max campaigns 
> 
>  
> here: 
> https://developers.google.com/google-ads/api/interactive-guides/performance-max?url=%2Fpmax%2FfullExample%2FassetGroupAssets
>
> If you are using client library, then you may use the sample working 
> example to create retail PMAX here: 
> https://developers.google.com/google-ads/api/samples/add-performance-max-retail-campaign
>
> If error persists after following the above guides, then our team requires 
> the complete request and response logs so that we can check the sequence on 
> how you have added operations in your API request. You may privately 
> provide complete request, response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> generated
>  
> so that we can check better.
> This message is in relation to case "ref:_00D1U1174p._5004Q2ltog8:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/20817872-8c84-4cb0-8425-6fa528922ef0n%40googlegroups.com.


AssetGroup create failure on PMax retail campaign

2023-05-26 Thread Joshua Newman
Hello there,

Starting yesterday (5/25/23) we started noticing API errors when attempting 
to create an AssetGroup for our PMax retail campaigns. The Merchant Center 
account is linked to the Google Ads Account and the respective MerchantId 
has been applied to the PMax Retail campaign. According to this 
documentation 
(https://developers.google.com/google-ads/api/docs/performance-max/retail), 
which has always worked for us, by linking to the Merchant Center, assets 
can be automatically generated for the campaign.

Has something changed for PMax retail campaigns? 

{ "StatusCode": 3, "Details": "Request contains an invalid argument.", 
"RequestId": "QfZIKvJKHumWkX-SWKBoWQ", "Failure": { "errors": [ { 
"errorCode": { "assetGroupError": "NOT_ENOUGH_HEADLINE_ASSET" }, "message": 
"Headline asset for a valid asset group is not enough.", "trigger": { 
"stringValue": "Asset type: headline" }, "location": { "fieldPathElements": 
[ { "fieldName": "operations", "index": 0 } ] } }, { "errorCode": { 
"assetGroupError": "NOT_ENOUGH_LONG_HEADLINE_ASSET" }, "message": "Long 
headline asset for a valid asset group is not enough.", "trigger": { 
"stringValue": "Asset type: long headline" }, "location": { 
"fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } }, { 
"errorCode": { "assetGroupError": "NOT_ENOUGH_DESCRIPTION_ASSET" }, 
"message": "Description headline asset for a valid asset group is not 
enough.", "trigger": { "stringValue": "Asset type: description" }, 
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 } ] } }, { "errorCode": { "assetGroupError": 
"NOT_ENOUGH_BUSINESS_NAME_ASSET" }, "message": "Business name asset for a 
valid asset group is not enough.", "trigger": { "stringValue": "Asset type: 
business name" }, "location": { "fieldPathElements": [ { "fieldName": 
"operations", "index": 0 } ] } }, { "errorCode": { "assetGroupError": 
"NOT_ENOUGH_MARKETING_IMAGE_ASSET" }, "message": "Marketing image asset for 
a valid asset group is not enough.", "trigger": { "stringValue": "Asset 
type: marketing image" }, "location": { "fieldPathElements": [ { 
"fieldName": "operations", "index": 0 } ] } }, { "errorCode": { 
"assetGroupError": "NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET" }, "message": 
"Square marketing image asset for a valid asset group is not enough.", 
"trigger": { "stringValue": "Asset type: square marketing image" }, 
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 } ] } }, { "errorCode": { "assetGroupError": "NOT_ENOUGH_LOGO_ASSET" }, 
"message": "Logo asset for a valid asset group is not enough.", "trigger": 
{ "stringValue": "Asset type: logo" }, "location": { "fieldPathElements": [ 
{ "fieldName": "operations", "index": 0 } ] } }, { "errorCode": { 
"assetGroupError": 13 }, "message": "Short description asset for a valid 
asset group is required.", "trigger": { "stringValue": "Asset type: 
description" }, "location": { "fieldPathElements": [ { "fieldName": 
"operations", "index": 0 } ] } } ], "requestId": "QfZIKvJKHumWkX-SWKBoWQ" } 
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2459149a-1737-4f94-8b5d-cb0aee761aacn%40googlegroups.com.


Re: PMax AgeRange & Gender reporting

2022-08-08 Thread Joshua Newman

Thanks for response, but I don't see any metrics for *campaign_criterion. *I 
would like to be able to get the Gender & AgeRange report with Metrics for 
PMax.
On Sunday, August 7, 2022 at 11:24:35 PM UTC-4 adsapi wrote:

> Hi Joshua,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>  
>
> With regards to your concern, *"Is there a different report view we 
> should be hitting or is this something that is still being worked on for 
> the API?"* for you to get the Gender and the Age range, you may use the 
> campaign_criterion 
> report 
> 
>  and 
> include the campaign_criterion.age_range.type 
> 
>  for 
> age range type and campaign_criterion.gender.type 
> 
>  for 
> gender type.
>  
>
> Let us know if you have further questions.
>  
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dHxwf:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c0faf546-8af9-4a62-9044-d421ecefcbe2n%40googlegroups.com.


PMax AgeRange & Gender reporting

2022-08-05 Thread Joshua Newman
With SmartShopping campaigns being deprecated and being replaced by PMax we 
are trying to find how to report on AgeRange & Gender for Pmax campaigns 
just like we do for SmartShopping. Currently, we are not seeing an obvious 
way to do that since AgeRange & Gender have *AdgroupCriterion *attributed 
resource fields which PMax does not contain since there is no Adgroup in 
PMax. Is there a different report view we should be hitting or is this 
something that is still being worked on for the API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e0d10b5b-4190-4d9f-9fa4-ad1c1b2cdb9en%40googlegroups.com.


ConversionAction Create Issue

2022-08-05 Thread Joshua Newman
Sometime around  2022-07-28  we started seeing a rare error occurring on 
ConversionAction create when the field *Category *is assigned value 
*ConvertedLead*. At this point we are seeing the error every time for the 
said field assignment. What confuses me is that the error says we are 
sending value *29*, which is not possible because the field is an enum and 
we assign  *ConvertedLead* which is suppose to be value *23*. We are using 
GoogleAdsApi v11. Below is the request & error response:

Request (Using *ConversionActionService.MutateConversionActions*)
{"UpdateMask":null,"Create":{"ResourceName":"","Id":0,"HasId":false,"Name":"ConnectLead-1924967148","HasName":true,"Status":0,"Type":8,"Origin":0,"PrimaryForGoal":false,"HasPrimaryForGoal":false,"Category":23,"OwnerCustomer":"","HasOwnerCustomer":false,"IncludeInConversionsMetric":false,"HasIncludeInConversionsMetric":false,"ClickThroughLookbackWindowDays":0,"HasClickThroughLookbackWindowDays":false,"ViewThroughLookbackWindowDays":30,"HasViewThroughLookbackWindowDays":true,"ValueSettings":{"DefaultValue":1.0,"HasDefaultValue":true,"DefaultCurrencyCode":"","HasDefaultCurrencyCode":false,"AlwaysUseDefaultValue":false,"HasAlwaysUseDefaultValue":false},"CountingType":3,"AttributionModelSettings":{"AttributionModel":104,"DataDrivenModelStatus":0},"TagSnippets":[],"PhoneCallDurationSeconds":0,"HasPhoneCallDurationSeconds":false,"AppId":"","HasAppId":false,"MobileAppVendor":0,"FirebaseSettings":null,"ThirdPartyAppAnalyticsSettings":null},"Update":null,"Remove":"","OperationCase":1}

Error Response:
{{ "errors": [ { "errorCode": { "fieldError": "INVALID_VALUE" }, "message": 
"The field's value is invalid.", "trigger": { "int64Value": "29" }, 
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 }, { "fieldName": "create" }, { "fieldName": "category" } ] } } ], 
"requestId": "bAPqz_YRlxaeGbODJ6zZ-Q" }}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6d83ee12-5a3f-4953-876b-923e96f398c4n%40googlegroups.com.


Getting InternalServerError on PaymentAccountsService.ListPaymentsAccounts

2022-05-31 Thread Joshua Newman
On 2022-05-27 we started seeing the endpoint 
*PaymentAccountService.ListPaymentsAccounts* now returning 500 
InternalServerError for accounts. 

{{ "errors": [ { "errorCode": { "internalError": "INTERNAL_ERROR" }, 
"message": "An internal error has occurred." } ], "requestId": 
"d_08LdhlmPQWJoc7EncAYQ" }}

We haven't changed how we handle BillingSetup so not sure what the issue is.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3340a1e9-e45a-4bf1-a80d-4095c1382852n%40googlegroups.com.


Re: FinaUrls Readonly for some reason

2022-01-26 Thread Joshua Newman
Not sure if you got my last message as I tried to replay to author 
privately. What we are seeing is that in a .Net VB project, when utilizing 
the Google Ads Api .Net nuget package is that the compiler is seeing a 
syntax error when trying to assign the *FinaUrls* field of the *Ad* object 
meaning we are unable to build the project. I've attached a screenshot of 
the error. Because we are unable to build it means there is no Request or 
Response to supply to you. It seems like either the Nuget package is not 
compatible with .Net VB or there is a bug in the library for VB and not C#.

On Tuesday, January 25, 2022 at 3:11:45 PM UTC-5 adsapi wrote:

> Hi Josh,
>
> Please make sure to send the logs privately by using the *reply privately 
> to author *option, as the logs may contain sensitive data. 
>
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VP6B8:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7d5640c3-4e4a-45ce-8b7b-f7c1519f5169n%40googlegroups.com.


FinaUrls Readonly for some reason

2022-01-24 Thread Joshua Newman
Hello,

I'm integrating the latest version of the new Google Ads Api, but when I 
attempt to code the CreateAdGroupAd request in VB I noticed the property 
*FinalUrls*  is *Readonly*. However, in C# the property is not. I've 
attached a screenshot of the Metadata from a C# project & VB project.

Any assistance regarding this issue is greatly appreciated. Thanks

Josh Newman

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8c47db83-64d0-4e25-9592-063026dfcd55n%40googlegroups.com.


AuthorizationError.USER_PERMISSION_DENIED

2014-06-09 Thread Joshua Newman
Recently migrated from clientLogin to Oauth2 and had no problem retrieving 
the access token and refresh token for our managed accounts. I now have 1 
account getting this error while using Oauth2:

Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has 
occurred. See ApiException and InnerException fields for more details. --- 
System.Web.Services.Protocols.SoapException: 
[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

I've checked the developer token and the clientCustomerId and both are 
correct. Also the account was able to get Oauth2 access and refresh tokens; 
the account successfully refreshes the access token too. Any help is 
greatly appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.USER_PERMISSION_DENIED

2014-06-09 Thread Joshua Newman
Thanks for the response. No other account is behaving this way and I think 
its because what we had to do to link it. Initially the account's password 
had been changed so we couldn't get it an oauth2 access/refresh token. To 
fix this we added a new user to the account with administrative access then 
requested the oauth2 tokens using the new email/password combination. Now 
everytime we use oauth2 with this account we get the USER_PERMISSION_DENIED 
error. I also double checked that the account's oauth2 tokens were acquired 
using the correct email/password. I'm not sure where to go from here.

On Monday, June 9, 2014 10:46:48 AM UTC-4, Josh Radcliff (AdWords API Team) 
wrote:

 Hi,

 That error indicates that the user associated with the OAuth2 access token 
 in the request does not have access to the account in the 
 *clientCustomerId* SOAP header. Two common causes for this are:

 1. The OAuth2 refresh token was obtained while logged in as an MCC, but 
 that MCC no longer has access to the client account.
 2. When obtaining the OAuth2 refresh token you (or the user who went 
 through the flow) were logged into some other Google account that does not 
 have access to the client account. You will be able to get a refresh token 
 (or access token) for the AdWords scope regardless of whether the user has 
 an AdWords account since the OAuth2 flow does not check if an AdWords 
 account exists for the user -- it merely grants access to the AdWords scope 
 for that user.

 Also, the developer token has *no impact* on authorization. A valid 
 OAuth2 access token can be used to make API requests against your account 
 using *any* developer token, as the developer token is not part of the 
 OAuth2 flow.

 Cheers,
 Josh, AdWords API Team

 On Monday, June 9, 2014 9:12:41 AM UTC-4, Joshua Newman wrote:

 Recently migrated from clientLogin to Oauth2 and had no problem 
 retrieving the access token and refresh token for our managed accounts. I 
 now have 1 account getting this error while using Oauth2:

 Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has 
 occurred. See ApiException and InnerException fields for more details. --- 
 System.Web.Services.Protocols.SoapException: 
 [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

 I've checked the developer token and the clientCustomerId and both are 
 correct. Also the account was able to get Oauth2 access and refresh tokens; 
 the account successfully refreshes the access token too. Any help is 
 greatly appreciated.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


.net Oauth2 Report Download error

2014-04-30 Thread Joshua Newman
Recently migrated from clientLogin to Oauth2 and had no problem retrieving 
the access token and refresh token. Now when I do report downloads using 
Oauth2 I get this: 

 Adwords error: Google.Api.Ads.AdWords.Util.Reports.ReportDownloadError

ReportDownloadError.INVALID_PARAMETER

 

Missing client information

4/29/2014 8:57:03 PM:   stack trace   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
 
downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
outputStream) in c:\src\MyProjects\now\Common library 
base\adwords\compile\Util\Reports\ReportUtilities.cs:line 302

   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReportInternal(String
 
downloadUrl, String postBody, Boolean returnMoneyInMicros) in 
c:\src\MyProjects\now\Common library 
base\adwords\compile\Util\Reports\ReportUtilities.cs:line 231

   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReport[T](T 
reportDefinition, Boolean returnMoneyInMicros) in 
c:\src\MyProjects\now\Common library 
base\adwords\compile\Util\Reports\ReportUtilities.cs:line 153

   at AdwordsReconciler.AdwordsReconciler.GetClientReport(Logger l, 
DateTime day, AdWordsUser u) in 
c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconciler\AdwordsReconciler.cs:line 127

4/29/2014 8:57:03 PM:  

MessageReport download errors occurred, see errors field for more details.

4/29/2014 8:57:03 PM:  

Source Google.AdWords

4/29/2014 8:57:03 PM:   stack trace   at 
AdwordsReconciler.AdwordsReconciler.GetClientReport(Logger l, DateTime day, 
AdWordsUser u) in c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconciler\AdwordsReconciler.cs:line 141

   at AdwordsReconciler.AdwordsReconciler.GetReconciliationReport(Logger l, 
DateTime day, AdWordsUser u, Int32 masterAccountId) in 
c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconciler\AdwordsReconciler.cs:line 63

   at 
AdwordsReconcilerReportGenerator.ReportGenerator._svcTimer_Elapsed(Object 
sender, ElapsedEventArgs e) in 
c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconcilerReportGenerator\ReportGenerator.cs:line 76

4/29/2014 8:57:03 PM:  

MessageObject reference not set to an instance of an object.


I set the following headers:

clientCustomerId: xx

Authorization: Bearer client Oauth2 Token

developerToken : ConfigurationManager.AppSettings[AdwordsDevToken]

applicationToken: ConfigurationManager.AppSettings[AdwordsAppToken]

useragent : SiteWit v0.1


What client information am I missing?





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.