Hi there,
I also found the same issue during updating the set of relationships of
text assets and a specific asset group.
I tried to add assetGroupAsset(Headline) and remove an existing one; remove
an existing assetGroupAsset; add a new assetGroupAsset (with a created text
asset with temp id -1)
They all failed with message: MISSING HEADLINE, DESCRIPTIONS,
LONG_HEADLINE, and REQUIRES SHORT_DESCRIPTION. Is there any thing I did not
right?
Here is my request
Request
-------
MethodName: google.ads.googleads.v17.services.GoogleAdsService/Mutate
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=89XXXXX079,
x-goog-api-client=gl-java/17.0.11__Amazon.com-Inc.__Corretto-17.0.11.9.1
gccl/32.0.0 gapic/32.0.0 gax/2.48.1 grpc/1.62.2}
Body: customer_id: "7XXXXX62"
mutate_operations {
asset_operation {
create {
resource_name: "customers/7XXXXX62/assets/-1"
text_asset {
text: "gad ADD 01"
}
}
}
}
mutate_operations {
asset_group_asset_operation {
create {
asset_group: "customers/7XXXXX62/assetGroups/65XXXXX95"
asset: "customers/7XXXXX62/assets/-1"
field_type: HEADLINE
}
}
}
response_content_type: MUTABLE_RESOURCE
and here is response:
AdGoogleService-adEdit google-ads-client update ad fail
cn.dotfashion.soa.adhub.backend.error.GoogleApiException: errors {
error_code {
asset_group_error: NOT_ENOUGH_HEADLINE_ASSET
}
message: "Headline asset for a valid asset group is not enough."
trigger {
string_value: "Asset type: headline"
}
location {
field_path_elements {
field_name: "mutate_operations"
index: 1
}
field_path_elements {
field_name: "asset_group_asset_operation"
}
}
}
errors {
error_code {
asset_group_error: NOT_ENOUGH_LONG_HEADLINE_ASSET
}
message: "Long headline asset for a valid asset group is not enough."
trigger {
string_value: "Asset type: long headline"
}
location {
field_path_elements {
field_name: "mutate_operations"
index: 1
}
field_path_elements {
field_name: "asset_group_asset_operation"
}
}
}
errors {
error_code {
asset_group_error: NOT_ENOUGH_DESCRIPTION_ASSET
}
message: "Description headline asset for a valid asset group is not
enough."
trigger {
string_value: "Asset type: description"
}
location {
field_path_elements {
field_name: "mutate_operations"
index: 1
}
field_path_elements {
field_name: "asset_group_asset_operation"
}
}
}
errors {
error_code {
asset_group_error: SHORT_DESCRIPTION_REQUIRED
}
message: "Short description asset for a valid asset group is required."
trigger {
string_value: "Asset type: description"
}
location {
field_path_elements {
field_name: "mutate_operations"
index: 1
}
field_path_elements {
field_name: "asset_group_asset_operation"
}
}
}
request_id: "FDrPY_znOPrjgSi-pLCcCw"
On Wednesday, February 8, 2023 at 7:06:56 PM UTC+8 Google Ads API Forum
Advisor wrote:
> Hi Tiansi,
>
> I work along with Kevin. Allow me to assist you in this
>
> For your first concern, there should be no issue with regard to the
> performance as long as you've follow the recommendation by my colleague
> (which is to delete first the assets e.g headline, then add the new one)
> This is also been done by other users on this thread
> <https://groups.google.com/g/adwords-api/c/hwQ6C4eg47Q/m/tVL_FTzYAgAJ>.
> We highly suggest to do the first solution stated on this thread for your
> use case.
>
> Regards,
> [image: Google Logo]
> Teejay Wennie
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2iWlAJ:ref
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5e27d94f-8eca-4bae-95ca-9d668399d435n%40googlegroups.com.