AssetLinkError.EXCLUDED_PARENT_FIELD_TYPE

168 views
Skip to first unread message

Mariam Soady

unread,
May 9, 2022, 10:01:05 AM5/9/22
to Google Ads API and AdWords API Forum
Hello,

I get UNKNOWN error when creating campaign_asset link, I tried to search for the error but could not find a clue, would you advise please.

Request
-------
Method: /google.ads.googleads.v10.services.CampaignAssetService/MutateCampaignAssets
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "[REDACTED]",
  "x-goog-api-client": "gl-python/3.8.10 grpc/1.46.0 gax/2.7.3 gccl/16.0.0",
  "x-goog-request-params": "customer_id=4528371976"
}
Request: customer_id: "4528371976"
operations {
  create {
    field_type: SITELINK
    campaign: "customers/4528371976/campaigns/11856599420"
    asset: "customers/4528371976/assets/38302451813"
  }
}


Response
-------
Headers: {
  "google.ads.googleads.v10.errors.googleadsfailure-bin": "\n\u0001\n\u0003\b\u0001\u00125The received error code is not known in this version.\"(\u0012\u000e\n\noperations\u0018\u0000\u0012\b\n\u0006create\u0012\f\n\nfield_type*+\n)AssetLinkError.EXCLUDED_PARENT_FIELD_TYPE\u0012\u00168nBeakkmtcvopTiSZ_GJeQ",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid argument.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure\u0012\u0001\n\u0001\n\u0003\b\u0001\u00125The received error code is not known in this version.\"(\u0012\u000e\n\noperations\u0018\u0000\u0012\b\n\u0006create\u0012\f\n\nfield_type*+\n)AssetLinkError.EXCLUDED_PARENT_FIELD_TYPE\u0012\u00168nBeakkmtcvopTiSZ_GJeQ",
  "request-id": "8nBeakkmtcvopTiSZ_GJeQ"
}
Fault: errors {
  error_code {
    asset_link_error: UNKNOWN
  }
  message: "The received error code is not known in this version."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "field_type"
    }
  }
  details {
    unpublished_error_code: "AssetLinkError.EXCLUDED_PARENT_FIELD_TYPE"
  }
}
request_id: "8nBeakkmtcvopTiSZ_GJeQ"

Thanks.
Mariam.

Google Ads API Forum Advisor

unread,
May 11, 2022, 3:44:51 AM5/11/22
to mariam...@gmail.com, adwor...@googlegroups.com

Hi Mariam,


Thank you for reaching out to us.


With regards to your concern, I tried to impersonate your query and I got the same result. For now, allow me to raise this issue to my team for further checking. Rest assured that we will provide updates when they become available.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ar1LI:ref

Google Ads API Forum Advisor

unread,
May 13, 2022, 10:39:19 AM5/13/22
to mariam...@gmail.com, adwor...@googlegroups.com
Hi Mariam,

Thank you for reaching out to the Google Ads API support team.

I got an update form team, error means "The specified field type is excluded for given campaign or ad group". Our internal team working on this error code in the next API version. We will provide you update.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ar1LI:ref

Mariam Soady

unread,
May 18, 2022, 12:21:37 PM5/18/22
to Google Ads API and AdWords API Forum
Hi Team,

Thanks for clarifying the error. Will the error detail contain more info about what caused campaign/ad_group to not be applicable for the operation?

Regards,
Mariam. 

Google Ads API Forum Advisor

unread,
May 19, 2022, 11:09:36 AM5/19/22
to adwor...@googlegroups.com
Hi Mariam,

We have fully detailed your issue in our report. Unfortunately, we are unable to share specifics on this matter publicly. However, when this issue is addressed the error message will contain more useful information. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ar1LI:ref

Google Ads API Forum Advisor

unread,
Aug 9, 2022, 10:48:32 AM8/9/22
to adwor...@googlegroups.com

Hi Mariam,

Please note that the missing error code should get published in v11.1.

Best regards,

Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ar1LI:ref
Reply all
Reply to author
Forward
0 new messages