Why does this field not exist?

45 views
Skip to first unread message

David Scott

unread,
Jul 16, 2020, 12:00:15 PM7/16/20
to AdWords API and Google Ads API Forum
If this field does exist I need to modify it.
How can I do it?

Request:

  "operations": 
  [
    {
      "updateMask": "campaign.geoTargetTypeSetting",


      "update": {
        "positive_geo_target_type": "PRESENCE"
      }
    }
  ]

Response:
{
   "error": {
     "code": 400,
     "message": "Invalid JSON payload received. Unknown name \"positive_geo_target_type\" at 'operations[0].update': Cannot find field.",
     "status": "INVALID_ARGUMENT",
     "details": [
       {
         "fieldViolations": [
           {
             "field": "operations[0].update",
             "description": "Invalid JSON payload received. Unknown name \"positive_geo_target_type\" at 'operations[0].update': Cannot find field."
           }
         ]
       }
     ]
   }
 }

Google Ads API Forum Advisor Prod

unread,
Jul 16, 2020, 3:00:56 PM7/16/20
to goo...@secondsiteadvertising.com, adwor...@googlegroups.com
Hi David,

Thank you for reaching out. I can see that you are trying to update the positive_geo_target_type field to "PRESENCE." Can you please provide your CID along with the complete detailed logs of both the request and response so that I can deeper investigate? Kindly provide these details via the Reply privately to author option. 

Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q21mZjd:ref

David Scott

unread,
Jul 16, 2020, 5:21:55 PM7/16/20
to AdWords API and Google Ads API Forum
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   736    0   566  100   170   3317    996 --:--:-- --:--:-- --:--:--  3329

David Scott

unread,
Jul 16, 2020, 5:25:07 PM7/16/20
to AdWords API and Google Ads API Forum

Google Ads API Forum Advisor Prod

unread,
Jul 17, 2020, 2:52:50 PM7/17/20
to goo...@secondsiteadvertising.com, adwor...@googlegroups.com
Hi David, 

I am checking on this further internally within the team. We will reach out to you once we have more insight on what is causing this error.

Google Ads API Forum Advisor Prod

unread,
Jul 20, 2020, 9:39:10 AM7/20/20
to goo...@secondsiteadvertising.com, adwor...@googlegroups.com
Hi David,

It is possible that you are using an old version of the API. Can you confirm which version of the API you are using? Additionally, can you please provide the complete detailed logs? It appears that the logs you have sent previously were not complete. To enable logging, you can follow this guide (available in other languages as well). If you are unable to provide complete detailed logs, please provide the request ID so that we can take a closer look. 
Reply all
Reply to author
Forward
0 new messages