Hi Team

I am trying to create an app extension feed item but the api returns an 
error due to lack of parameters. 
According to the log information, the request includes all the necessary 
parameters. 
Is there a related bug? Should I add any more parameters to the request? 

This is the log information.

[2019-04-21 13:02:48] google-ads.WARNING: Request made: Host: 
"googleads.googleapis.com", 
Method: 
"/google.ads.googleads.v1.services.ExtensionFeedItemService/MutateExtensionFeedItems",
 

ClientCustomerId: xxxxxxx, RequestId: "_o3ZADlJvPS2671TjbkvQQ", IsFault: 1, 
FaultMessage: "["The required field was not present in the resource."]" 

[2019-04-21 13:02:48] google-ads.NOTICE: Request
-------
Method Name: /google.ads.googleads.v1.services
.ExtensionFeedItemService/MutateExtensionFeedItems
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.1.27-1+0~20190307202204.14+stretch~1.gbp7163d5 
gapic\/ gax\/0.38.0 grpc\/1.19.0",
"developer-token": "REDACTED",
"login-customer-id": "xxxxxxxxxxx"
}
Request: {"customerId":"xxxxxxxxxx","operations":
[{"create":{"extensionType":"APP","status":"ENABLED","appFeedItem":{
"linkText":"Download app","appId":"xxxxxxxxxxx","appStore":"GOOGLE_PLAY"
}}}]}

Response
-------
Headers: {
"request-id": "_o3ZADlJvPS2671TjbkvQQ",
"date": "Sun, 21 Apr 2019 13:02:48 GMT",
"alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}

Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[
{
"errorCode":{
"fieldError":"REQUIRED"},
"message":"The required field was not present in the resource.",
"trigger":{"stringValue":""},
"location":{"fieldPathElements":[{"fieldName":"operations","index":"0"},{
"fieldName":"create"},{"fieldName":"app_feed_item"}]}}]} 



Thanks for your help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/477c06f3-fe2e-4aed-895b-599b52417a0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [GOOGLE... Miguel Graciá
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Miguel Graciá

Reply via email to