Hello, I have solved the above problem, but I have encountered a new 
problem. After I successfully created the asset group in the above way, I 
got the resource name of the asset group. I want to add some new elements 
to the asset group. For example, sitelink asset, I successfully created a 
sitelink asset, and then used asset group asset service to create a 
sitelink asset, but reported the following error. I want to know what is 
the reason, because I can't find a solution to this error on google.

Fault: errors {
  error_code {
    asset_link_error: UNSUPPORTED_FIELD_TYPE
  }
  message: "The given field type is not supported to be added directly 
through asset links."
  trigger {
    string_value: "SITELINK"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "field_type"
    }
  }
}
request_id: "5v1tI3rDT8jnmbrkW_24UQ"

在2023年7月27日星期四 UTC+8 17:15:39<Google Ads API Forum Advisor> 写道:

> Hi,
>
> Thank you for the reply.
>
> Could you confirm if you already consider if this minimum asset 
> requirements 
> (*https://developers.google.com/google-ads/api/docs/performance-max/assets#ensure_minimum_asset_requirements_are_met
>  
> <https://developers.google.com/google-ads/api/docs/performance-max/assets#ensure_minimum_asset_requirements_are_met>*)
>  
> are met when you are creating asset in performance max campaign? If still 
> not then you may check it out this first.
>
> Moving forward, for our team to also further check this and provide 
> appropriate recommendations to you, could you please provide us with the 
> complete API logs (*request, response, *and *request-id*) generated on 
> your end?
>
>    - *request* : 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
>    - *response*: 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
>    - *request-id* : 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
>
> Note that logs can be requested or provided to the developer handling the 
> Google Ads API transactions when logging of the API requests has been 
> enabled. You may check *here* and click your client library for the 
> specific guideline to enable it.
>
>    - *here: *
>    
> *https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging*
>  
>    
> <https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging>
>      
>
> For REST interface requests, you can enable logging via the curl command 
> by using the -i flag. This will cause the tool to include the HTTP response 
> headers in the output. 
>
> You may then send the requested information via the Reply privately to the 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2nSlkt: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/11d757f9-7a14-46ba-9969-342d21f9d163n%40googlegroups.com.
  • An... 庞金民·
    • ... 庞金民·
      • ... 庞金民·
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... san...@knorex.com

Reply via email to