Re: How to change existing assets in pmax asset group

2024-07-01 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

I suspect what is happening is that when you remove a text asset you are 
triggering the validation process for the asset group. If the asset group 
required N text assets and you now have N - 1 the system will attempt to 
validate the asset group and produce the error. Adding and removing assets are 
atomic operations and a request with multiple operations is not treated as an 
atomic transaction. It is a mechanism to submit multiple operations.

AssetGroups have minimum requirements. If you remove an asset from an existing 
asset group and the minimum requirements are no longer met, the error is 
triggered. I would recommend you refer to this guide on update asset groups for 
more information.

To test the scenario, target an existing valid AssetGroup:

1. Send a request that adds one new text asset and ensure that the response 
shows it has succeeded.
2. Send a request to remove one text asset and let me know the response.

Kindly send the complete API logs (request and response logs with request-id 
and request header) generated at your end without redacting the information via 
Reply privately to the author option, or direct private reply to this email.

Since you are using the Java client library, if you haven't enabled the logging 
yet, I would request you to enable it by referring to this guide Java.

This message is in relation to case "ref:!00D1U01174p.!5004Q02iWlAJ:ref" 
(ADR-00166252)

Thanks,

Google Ads API Team


Register for the upcoming workshop: Performance Max and the Google Ads API!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74UDC0SFY3PU00BEDvmQgmTvqaRQlL5sFXVw%40sfdc.net.


Re: How to change existing assets in pmax asset group

2024-07-01 Thread Yisong Jiang
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=89X079, 
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: "7X62"
mutate_operations {
  asset_operation {
create {
  resource_name: "customers/7X62/assets/-1"
  text_asset {
text: "gad ADD 01"
  }
}
  }
}
mutate_operations {
  asset_group_asset_operation {
create {
  asset_group: "customers/7X62/assetGroups/65X95"
  asset: "customers/7X62/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 
> . 
> 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 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/5e27d94f-8eca-4bae-95ca-9d668399d435n%40googlegroups.com.


Re: How to change existing assets in pmax asset group

2023-02-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
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. We highly suggest to do the first solution stated 
on this thread for your use case.

Regards,

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 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/eRSW40RPRDJ400doZzlIb-Ts2axs84KCyOBA%40sfdc.net.


Re: How to change existing assets in pmax asset group

2023-02-07 Thread Tiansi Liu
Hi  Kevin,
Thank you for the help.

Generally we need to remove the assets of bad performance in existing asset 
groups, and add new assets. For the first solution, I‘m worrying about the 
performance because it will start a new learning period if I remove the old 
asset group and create a new one. Data accumulation of old asset groups 
will be invalid. Will this happen?

For the second solution,  existing CallToAction assets still cannot be 
changed in this way, because the limitation is min 1 max1.
Do you have any suggestion on this?
Looking forward to your reply.


在2023年2月7日星期二 UTC+8 20:17:27 写道:

> Hi Tiansi,
>
> I'm Kevin from the Google Ads API Team.
>
> I suggest creating a brand new asset group 
>  
> with 
> the new set of headlines along with the other existing assets. Once a new 
> asset group has been created, then you may remove the old one that is no 
> longer needed. Otherwise, you will need to send multiple create and remove 
> requests in order to update the headlines of an asset group while staying 
> within its minimum and maximum limits. For example, you may add 2 new 
> headlines first, remove 2 older headlines that should be replaced, and then 
> repeat this for process for the last remaining pair of new and old 
> headlines.
>
> Let me know if you have any further clarifications or if you encounter any 
> issues.
>
> Regards,
> [image: Google Logo] 
> Kevin Gil 
> 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 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/4599d5e2-9d16-44ab-885b-cdc6639da49fn%40googlegroups.com.


RE: How to change existing assets in pmax asset group

2023-02-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Tiansi,

I'm Kevin from the Google Ads API Team.

I suggest creating a brand new asset group with the new set of headlines along 
with the other existing assets. Once a new asset group has been created, then 
you may remove the old one that is no longer needed. Otherwise, you will need 
to send multiple create and remove requests in order to update the headlines of 
an asset group while staying within its minimum and maximum limits. For 
example, you may add 2 new headlines first, remove 2 older headlines that 
should be replaced, and then repeat this for process for the last remaining 
pair of new and old headlines.

Let me know if you have any further clarifications or if you encounter any 
issues.

Regards,

Kevin Gil
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 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/Wml2L0RPPM4G008aICzZK4Qn6Vc98KE3cdTA%40sfdc.net.


How to change existing assets in pmax asset group

2023-02-06 Thread Tiansi Liu
Hello,
I have tried to update headlines in an existing performance max asset 
group, 
e.g. how to change headline AA, BB, CC to headline DD, EE, FF?

Way 1: Remove all existing headlines AA, BB, CC , then add new headlines 
DD, EE, FF. But I got the error message "NOT_ENOUGH_HEADLINE_ASSET" while 
updating 
AssetLinkStatus 

 through 
AdGroupAssetService 

 
because after remove existing texts the headline assets are below the 
minimum limit according to Assets 
.

Way2: Update AA, BB, CC AssetLinkStatus 

 to 
PAUSED, then enable DD, EE, FF and remove AA, BB, CC. But that will exceed 
max limit of 5 HEADLINEs because AA, BB, CC, DD, EE, FF will exist in the 
same asset group.

Could you please tell us how to change assets in an existing pmax asset 
group?Thanks a lot.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5efc305c-ed23-4145-acc0-e301199a34bcn%40googlegroups.com.