Hello everyone,

I am battling with an issue trying to successfully publish a PMax retail 
campaign through the Google Ads API and I am hoping anyone can be of 
assistance. 

Below are the errors I get when trying to publish the PMax retail campaign. 
As an additional context, all the fields the errors suggests are not 
provided are very much provided. What makes it even weirder is that, when I 
create a standard PMax campaign, that is if I do not set the merchant 
center ID on the campaign, the same code works and the campaign is 
published successfully. But the moment I set the merchant center ID then it 
fails with these errors. I am also creating listing groups once I set the 
merchant center ID. I am having a hard time figuring out what is wrong as 
the errors points to fields I am already providing. Any help will be 
greatly appreciated.

Thanks 

[2024-11-20 09:12:43,986: WARNING/MainProcess] Request made: 
ClientCustomerId: 9366607503, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v18.services.GoogleAdsService/Mutate, RequestId: 
cLF1igXKdy2RY6HDkVQYHA, IsFault: True, FaultMessage: Long headline asset 
for a valid asset group is not enough.
2024-11-20T09:12:43.999470800Z [2024-11-20 09:12:43,987: ERROR/MainProcess] 
Failed to publish Google Pmax campaign[6af825d5-232e-4ef9-8f7b-6c155aef665a]
2024-11-20T09:12:44.024329592Z [2024-11-20 09:12:43,987: ERROR/MainProcess] 
(<_InactiveRpcError of RPC that terminated with:
2024-11-20T09:12:44.024348384Z status = StatusCode.INVALID_ARGUMENT
2024-11-20T09:12:44.024350884Z details = "Request contains an invalid 
argument."
2024-11-20T09:12:44.024352842Z debug_error_string = "UNKNOWN:Error received 
from peer ipv4:216.58.215.170:443 
{created_time:"2024-11-20T09:12:42.5860973+00:00", grpc_status:3, 
grpc_message:"Request contains an invalid argument."}"
2024-11-20T09:12:44.024355009Z >, <_InactiveRpcError of RPC that terminated 
with:
2024-11-20T09:12:44.024356967Z status = StatusCode.INVALID_ARGUMENT
2024-11-20T09:12:44.024359009Z details = "Request contains an invalid 
argument."
2024-11-20T09:12:44.024360967Z debug_error_string = "UNKNOWN:Error received 
from peer ipv4:216.58.215.170:443 
{created_time:"2024-11-20T09:12:42.5860973+00:00", grpc_status:3, 
grpc_message:"Request contains an invalid argument."}"
2024-11-20T09:12:44.024363509Z >, errors {
2024-11-20T09:12:44.024365259Z   error_code {
2024-11-20T09:12:44.024367050Z     asset_group_error: 
NOT_ENOUGH_LONG_HEADLINE_ASSET
2024-11-20T09:12:44.024368967Z   }
2024-11-20T09:12:44.024370717Z   message: "Long headline asset for a valid 
asset group is not enough."
2024-11-20T09:12:44.024372509Z   trigger {
2024-11-20T09:12:44.024374175Z     string_value: "Asset type: long headline"
2024-11-20T09:12:44.024375967Z   }
2024-11-20T09:12:44.024377800Z   location {
2024-11-20T09:12:44.024379675Z     field_path_elements {
2024-11-20T09:12:44.024390384Z       field_name: "mutate_operations"
2024-11-20T09:12:44.024392550Z       index: 5
2024-11-20T09:12:44.024394300Z     }
2024-11-20T09:12:44.024396009Z     field_path_elements {
2024-11-20T09:12:44.024397675Z       field_name: 
"asset_group_asset_operation"
2024-11-20T09:12:44.024399509Z     }
2024-11-20T09:12:44.024401134Z   }
2024-11-20T09:12:44.024402800Z }
2024-11-20T09:12:44.024404467Z errors {
2024-11-20T09:12:44.024406134Z   error_code {
2024-11-20T09:12:44.024407800Z     asset_group_error: 
NOT_ENOUGH_MARKETING_IMAGE_ASSET
2024-11-20T09:12:44.024409550Z   }
2024-11-20T09:12:44.024411259Z   message: "Marketing image asset for a 
valid asset group is not enough."
2024-11-20T09:12:44.024413050Z   trigger {
2024-11-20T09:12:44.024414759Z     string_value: "Asset type: marketing 
image"
2024-11-20T09:12:44.024416467Z   }
2024-11-20T09:12:44.024418092Z   location {
2024-11-20T09:12:44.024419759Z     field_path_elements {
2024-11-20T09:12:44.024421425Z       field_name: "mutate_operations"
2024-11-20T09:12:44.024423050Z       index: 5
2024-11-20T09:12:44.024424717Z     }
2024-11-20T09:12:44.024426342Z     field_path_elements {
2024-11-20T09:12:44.024427967Z       field_name: 
"asset_group_asset_operation"
2024-11-20T09:12:44.024429759Z     }
2024-11-20T09:12:44.024431425Z   }
2024-11-20T09:12:44.024433425Z }
2024-11-20T09:12:44.024435050Z errors {
2024-11-20T09:12:44.024436717Z   error_code {
2024-11-20T09:12:44.024438467Z     asset_group_error: 
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET
2024-11-20T09:12:44.024440217Z   }
2024-11-20T09:12:44.024441884Z   message: "Square marketing image asset for 
a valid asset group is not enough."
2024-11-20T09:12:44.024443675Z   trigger {
2024-11-20T09:12:44.024445425Z     string_value: "Asset type: square 
marketing image"
2024-11-20T09:12:44.024447217Z   }
2024-11-20T09:12:44.024448884Z   location {
2024-11-20T09:12:44.024450592Z     field_path_elements {
2024-11-20T09:12:44.024452300Z       field_name: "mutate_operations"
2024-11-20T09:12:44.024454175Z       index: 5
2024-11-20T09:12:44.024455842Z     }
2024-11-20T09:12:44.024457550Z     field_path_elements {
2024-11-20T09:12:44.024459300Z       field_name: 
"asset_group_asset_operation"
2024-11-20T09:12:44.024461050Z     }
2024-11-20T09:12:44.024462759Z   }
2024-11-20T09:12:44.024464384Z }
2024-11-20T09:12:44.024468717Z errors {
2024-11-20T09:12:44.024470425Z   error_code {
2024-11-20T09:12:44.024472175Z     asset_group_error: 
NOT_ENOUGH_BUSINESS_NAME_ASSET
2024-11-20T09:12:44.024473925Z   }
2024-11-20T09:12:44.024476175Z   message: "Business name asset for a valid 
asset group is not enough."
2024-11-20T09:12:44.024478342Z   trigger {
2024-11-20T09:12:44.024480050Z     string_value: "Asset type: business name"
2024-11-20T09:12:44.024481884Z   }
2024-11-20T09:12:44.024483509Z   location {
2024-11-20T09:12:44.024485217Z     field_path_elements {
2024-11-20T09:12:44.024486967Z       field_name: "mutate_operations"
2024-11-20T09:12:44.024488717Z       index: 5
2024-11-20T09:12:44.024490342Z     }
2024-11-20T09:12:44.024492009Z     field_path_elements {
2024-11-20T09:12:44.024493717Z       field_name: 
"asset_group_asset_operation"
2024-11-20T09:12:44.024496967Z     }
2024-11-20T09:12:44.024498884Z   }
2024-11-20T09:12:44.024500550Z }
2024-11-20T09:12:44.024502217Z errors {
2024-11-20T09:12:44.024503967Z   error_code {
2024-11-20T09:12:44.024505717Z     asset_group_error: NOT_ENOUGH_LOGO_ASSET
2024-11-20T09:12:44.024507342Z   }
2024-11-20T09:12:44.024509175Z   message: "Logo asset for a valid asset 
group is not enough."
2024-11-20T09:12:44.024510967Z   trigger {
2024-11-20T09:12:44.024512634Z     string_value: "Asset type: logo"
2024-11-20T09:12:44.024514384Z   }
2024-11-20T09:12:44.024516050Z   location {
2024-11-20T09:12:44.024517717Z     field_path_elements {
2024-11-20T09:12:44.024519467Z       field_name: "mutate_operations"
2024-11-20T09:12:44.024521467Z       index: 5
2024-11-20T09:12:44.024523175Z     }
2024-11-20T09:12:44.024524967Z     field_path_elements {
2024-11-20T09:12:44.024526842Z       field_name: 
"asset_group_asset_operation"
2024-11-20T09:12:44.024528550Z     }
2024-11-20T09:12:44.024530050Z   }
2024-11-20T09:12:44.024531550Z }

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/e14784ea-6094-431e-8062-1866a066eee7n%40googlegroups.com.
  • Re... Samuel Jr. Berkoh
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Samuel Jr. Berkoh

Reply via email to