Hello,
I'm trying to create price asset and attach to existing campaign, but
getting this error.
I don't have any further details, even though it mentioned that the details
will eventually be returned in ErrorDetails.
I couldn't find any documentation about the trigger and what that means.
I do have 3 price offerings per asset and i'm trying to attach just one
asset to campaign
This is the operation
Method:
/google.ads.googleads.v9.services.BatchJobService/AddBatchJobOperations
Host: googleads.googleapis.com
Headers: {
"developer-token": "REDACTED",
"login-customer-id": "4453717348",
"x-goog-api-client": "gl-python/3.7.12 grpc/1.42.0 gax/2.2.2 gccl/14.1.0",
"x-goog-request-params":
"resource_name=customers/1020222107/batchJobs/7836501996"
}
Request: resource_name: "customers/1020222107/batchJobs/7836501996"
mutate_operations {
campaign_asset_operation {
create {
field_type: PRICE
campaign: "customers/1020222107/campaigns/15646115994"
asset: "customers/1020222107/assets/19947194756"
}
}
}
Response
-------
Headers: {
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\";
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\";
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000;
v=\"46,43\"",
"content-disposition": "attachment",
"date": "Tue, 11 Jan 2022 19:32:06 GMT",
"request-id": "xnJrZEt8DpL8o8JJfaJlqA"
}
Response: total_operations: 1
next_sequence_token: "1ad6c96b963099396beda23f5bf5b70a"
And this is what I'm getting as a result of the operation
Headers: {
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\";
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\";
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000;
v=\"46,43\"",
"content-disposition": "attachment",
"date": "Tue, 11 Jan 2022 19:32:18 GMT",
"request-id": "7L0KSbK-okmnNNz1-Ztsxg"
}
Response: results {
status {
code: 3
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., at
mutate_operations[0].campaign_asset_operation"
details {
[type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure]
{
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_PRICE_ASSET_LINKS_PER_CAMPAIGN"
}
location {
field_path_elements {
field_name: "mutate_operations"
index: 0
}
field_path_elements {
field_name: "campaign_asset_operation"
}
}
}
}
}
}
}
Any help would be appreciated!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/010e7a21-8ef2-4b79-b0ce-012324adca15n%40googlegroups.com.