Re: error: marketing image asset for a valid asset group is not enough.

2024-06-02 Thread surya sun
Hi,

I am sending the response error and request id of the API call in the 
attached file with this mail. 

As I mentioned in my first mail. I am trying to copy an existing asset 
group by using all the asset details of the asset group and creating a new 
asset resource name and linking to the new duplicated asset group. But I am 
getting "NOT ENOUGH" error message. Please note that I am using 20 image 
assets, that I got the details from an existing asset group. I am not able 
to understand why some of these images are not accepted as it should be for 
the new asset group. Kindly please resolve my issue soon.  

Thank you. 



On Thursday, May 30, 2024 at 7:25:07 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi Ayang, 
>
> Thank you for reaching out to the Google Ads API support team.
>
> Upon checking your concern, I understand that you are getting an error "
> asset_group_error 
> "
>  
> while making the request to MutateAssetGroups 
> .
>  
> Kindly note that the AssetGroup within a Performance Max campaign 
> necessitates an initial minimum assortment of assets. These assets may 
> comprise pre-existing ones utilized in other campaigns or newly created 
> assets tailored specifically for an AssetGroup within a Performance Max 
> campaign. These errors might occur when asset requirements are not met. 
> Kindly follow this guide to Ensure minimum asset requirements are met 
> 
> .
>
> Kindly note that you have not shared the complete API logs as it doesn't 
> contain the request body of what you are passing in your API request. In 
> order to further investigate your issue, kindly share the complete updated 
> API logs (request 
> 
>  and response 
> 
>  logs 
> with request-id 
> 
>  and request header 
> )
>  
> generated at your end to better assist you further. 
>
> If you are using a client library and haven't enabled the logging yet, I 
> would request you to enable logging for the specific client library that 
> you are using. You can refer to the guides Java 
> , 
> .Net 
> ,
>  
> PHP 
> , 
> Python 
> ,
>  
> Ruby 
>  
> or Perl 
>  
> to enable logging at your end. For REST interface requests, you can enable 
> logging via the curl command by using the -i flag.
>
> You can send the details via *Reply privately to the author option*, or 
> *direct 
> private reply* to this email.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJ8am:ref" (ADR-00237200)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0dc729fa-b2e3-450f-8029-6a7c6d2dcb23n%40googlegroups.com.


pmax_error.docx
Description: Zip archive


RE: error: marketing image asset for a valid asset group is not enough.

2024-05-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Ayang,

Thank you for reaching out to the Google Ads API support team.

Upon checking your concern, I understand that you are getting an error 
"asset_group_error" while making the request to MutateAssetGroups. Kindly note 
that the AssetGroup within a Performance Max campaign necessitates an initial 
minimum assortment of assets. These assets may comprise pre-existing ones 
utilized in other campaigns or newly created assets tailored specifically for 
an AssetGroup within a Performance Max campaign. These errors might occur when 
asset requirements are not met. Kindly follow this guide to Ensure minimum 
asset requirements are met.

Kindly note that you have not shared the complete API logs as it doesn't 
contain the request body of what you are passing in your API request. In order 
to further investigate your issue, kindly share the complete updated API logs 
(request and response logs with request-id and request header) generated at 
your end to better assist you further.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ8am:ref" 
(ADR-00237200)

Thanks,

Google Ads API Team

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


ERROR: Marketing image asset for a valid asset group is not enough.

2024-05-30 Thread surya sun
Hi,

I am trying to clone an existing PMax campaign through Google Ads API by 
using all of its values in creating a new PMax campaign, including asset 
groups if there's any. When I am trying to duplicate the asset groups of 
the existing campaign and link it to the new campaign, I am fetching all 
the asset details of the existing campaign from the asset group asset table 
and using it to create a new asset resource name and asset operation, just 
like this in github repo 
.
 
But I am getting errors in mutating asset group operations. 

   asset_group_error: NOT_ENOUGH_MARKETING_IMAGE_ASSET
  }
  message: "Marketing image asset for a valid asset group is not enough."
  trigger {
string_value: "Asset type: marketing image"
  }
  location {
field_path_elements {
  field_name: "mutate_operations"
  index: 5
}
field_path_elements {
  field_name: "asset_group_asset_operation"
}
  }
}
errors {
  error_code {
asset_group_error: NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET
  }
  message: "Square marketing image asset for a valid asset group is not 
enough."
  trigger {
string_value: "Asset type: square marketing image"
  }
  location {
field_path_elements {
  field_name: "mutate_operations"
  index: 5
}
field_path_elements {
  field_name: "asset_group_asset_operation"
}
  }
}
errors {
  error_code {
asset_group_error: NOT_ENOUGH_LOGO_ASSET
  }
  message: "Logo asset for a valid asset group is not enough."
  trigger {
string_value: "Asset type: logo"
  }
  location {
field_path_elements {
  field_name: "mutate_operations"
  index: 5
}
field_path_elements {
  field_name: "asset_group_asset_operation"
}
  }

For your information, I am using exactly the values retrieved from 
assetgroupasset table in this query builder link 
.
 
For ex, the image full size, image height, width, url etc. The below is the 
asset field type and the count retrieved from GAds for an existing campaign 
and an asset group.

asset_field_type:
BUSINESS_NAME - 1
DESCRIPTION - 5
HEADLINE -15
LANDSCAPE_LOGO - 1
LOGO - 4
LONG_HEADLINE -   5
MARKETING_IMAGE - 5
PORTRAIT_MARKETING_IMAGE - 1
SQUARE_MARKETING_IMAGE - 14
YOUTUBE_VIDEO - 5

Kindly give me the reason why I am not able to duplicate asset group using 
the same asset details of an existing asset group. 
Thank you.

Regards,
Ayang

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cbe2b25b-48a4-4208-a23f-0b4ea09158ban%40googlegroups.com.