Hi, I'm struggling to update headlines in an existing asset group, belonging to a perf max campaign. I need to replace those which have a "Low" performance label. I don't know if I should first delete the headlines I want to replace and then create the new ones. This is what I tried and the error:
Method: /google.ads.googleads.v10.services.GoogleAdsService/Mutate
Host:
googleads.googleapis.comHeaders: {
"developer-token": "REDACTED",
"login-customer-id": "
4128782957",
"x-goog-api-client": "gl-python/3.7.3 grpc/1.46.1 gax/2.7.1 gccl/16.0.0",
"x-goog-request-params": "customer_id=1489840023"
}
Request: customer_id: "1489840023"
mutate_operations {
asset_group_asset_operation {
create {
asset_group: "customers/1489840023/assetGroups/6442638580"
asset: "customers/1489840023/assets/40299149686"
field_type: HEADLINE
}
}
}
Response
-------
Headers: {
"google.ads.googleads.v10.errors.googleadsfailure-bin": "\n\u0002\n\u0003\u0003\n\u0012\u0001This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails.\u001a.*,ENABLED_HEADLINE_ASSET_LINKS_PER_ASSET_GROUP\"6\u0012\u0015\n\u0011mutate_operations\u0018\u0000\u0012\u001d\n\u001basset_group_asset_operation*\u0014*\u0012\n\n6442638580\u0010\u0005\u0018\u0001 \u0005\u0012\u0016AMCFKOLBRmtNwl3g6rZaBA",
"grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid argument.\u001a\u0003\
nDtype.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure\u0012\u0002\n\u0002\n\u0003\u0003\n\u0012\u0001This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails.\u001a.*,ENABLED_HEADLINE_ASSET_LINKS_PER_ASSET_GROUP\"6\u0012\u0015\n\u0011mutate_operations\u0018\u0000\u0012\u001d\n\u001basset_group_asset_operation*\u0014*\u0012\n\n6442638580\u0010\u0005\u0018\u0001 \u0005\u0012\u0016AMCFKOLBRmtNwl3g6rZaBA",
"request-id": "AMCFKOLBRmtNwl3g6rZaBA"
}
Fault: errors {
error_code {
resource_count_limit_exceeded_error: RESOURCE_LIMIT
}
message: "This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails."
trigger {
string_value: "ENABLED_HEADLINE_ASSET_LINKS_PER_ASSET_GROUP"
}
location {
field_path_elements {
field_name: "mutate_operations"
index: 0
}
field_path_elements {
field_name: "asset_group_asset_operation"
}
}
details {
resource_count_details {
enclosing_id: "6442638580"
limit: 5
limit_type: UNKNOWN
existing_count: 5
}
}
}
request_id: "AMCFKOLBRmtNwl3g6rZaBA"
WARNING:google.ads.googleads.client:Request made: ClientCustomerId: 1489840023, Host:
googleads.googleapis.com, Method: /google.ads.googleads.v10.services.GoogleAdsService/Mutate, RequestId: AMCFKOLBRmtNwl3g6rZaBA, IsFault: True, FaultMessage: This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails.
Request with ID "AMCFKOLBRmtNwl3g6rZaBA" failed with status "INVALID_ARGUMENT" and includes the following errors:
Error with message "This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails.".
On field: mutate_operations
On field: asset_group_asset_operation