RE: How to add a value subdivision with catetory "label customer 0"

154 views
Skip to first unread message
Message has been deleted
Message has been deleted

Google Ads API Forum Advisor

unread,
Oct 12, 2021, 2:00:14 AM10/12/21
to jia...@twenga.com, adwor...@googlegroups.com
Hi Jian,

Thank you for posting your concern and sharing the solution that you've used to address the issue.

I would like to inform you first that I am going to delete your initial post as it contains generated logs on your end. I will paste here instead the context of your concern and you can see it below:
"Hello Team Google Ads, 
Thanks very much for your help.

I can’t  succeed for add a AdGroupCriterion with listing_group "product_custom_attribute", (P.S: I can create AdGroupCriterion with listing_group "product_condition", I use the same function for create “product_custom_attribute”, but it doesn’t work) 
I understand well this error from "criterion_error: Subdivided listing groups must have an "others" case.",

But I think it’s linked another problem "field_error: The required field was not present."

You can find it in log.

Could you give some information , which field I need to add ?

Thanks very much !
"

Also, so that I can raise a feature request to my team for documentation update about what you have discussed, please provide the complete request and response logs with request ID generated on your end for successful API call. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PIOol:ref

Google Ads API Forum Advisor

unread,
Oct 12, 2021, 2:04:16 AM10/12/21
to adwor...@googlegroups.com, jia...@twenga.com
Hi Jian,

I am also going to delete your second post as the generated logs on your end is visible there. Please see instead your reply below without generated logs:
"Hello Google,

I find why, I use "product_custom_attribute" for create a new "adGroupCriterion" / "listingGroup",  page support: https://developers.google.com/google-ads/api/docs/shopping-ads/create-listing-groups

in your example you used " product_brand " ->

        new ListingDimensionInfo([
            'product_brand' => new ProductBrandInfo()
        ]),

but  it doesn't work for "product_custom_attribute", if we use like this -> 

        new ListingDimensionInfo([
            ' product_custom_attribute  ' => new ProductCustomAttributeInfo()
        ]),

we must set function like this, this function works !!! ->
new ListingDimensionInfo([
            ' product_custom_attribute  ' => new ProductCustomAttributeInfo(
                 'index' => ProductCustomAttributeIndex::INDEX0
)
        ]),

Please update your documents, it is not clear for us.

Thanks,
"

Jian Hu

unread,
Oct 12, 2021, 5:19:04 AM10/12/21
to AdWords API and Google Ads API Forum
Thanks

Google Ads API Forum Advisor

unread,
Oct 12, 2021, 11:46:23 PM10/12/21
to jia...@twenga.com, adwor...@googlegroups.com
Hi Jian,

Could you confirm if you were able to view all the previous responses of my colleague Ernie? If not, you may refer to a part of the earlier response's contents below :

"..Also, so that I can raise a feature request to my team for documentation update about what you have discussed, please provide the complete request and response logs with request ID generated on your end for successful API call. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com."

That said, could you provide the said logs as well and send it over via the options mentioned in the above?

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PIOol:ref
Reply all
Reply to author
Forward
0 new messages