i am using rest api. Can you help with the below error? What's the problem? I want to add sitelink for ad group. Thanks.
array(1) {
["error"]=>
array(4) {
["code"]=>
int(400)
["message"]=>
string(37) "Request contains an invalid argument."
["status"]=>
string(16) "INVALID_ARGUMENT"
["details"]=>
array(1) {
[0]=>
array(3) {
["@type"]=>
string(68) "
type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure"
["errors"]=>
array(1) {
[0]=>
array(4) {
["errorCode"]=>
array(1) {
["feedError"]=>
string(31) "LEGACY_EXTENSION_TYPE_READ_ONLY"
}
["message"]=>
string(58) "Feed-based extension is read-only for this extension type."
["trigger"]=>
array(1) {
["stringValue"]=>
string(3) "[1]"
}
["location"]=>
array(1) {
["fieldPathElements"]=>
array(4) {
[0]=>
array(2) {
["fieldName"]=>
string(17) "mutate_operations"
["index"]=>
int(0)
}
[1]=>
array(1) {
["fieldName"]=>
string(29) "extension_feed_item_operation"
}
[2]=>
array(1) {
["fieldName"]=>
string(6) "create"
}
[3]=>
array(1) {
["fieldName"]=>
string(13) "resource_name"
}
}
}
}
}
["requestId"]=>
string(22) "Nk_2EWOi3Nb0ha6sSLw8Sg"
}
}
}
}