Hi,

I am facing a strange situation that I used the sample code from API docs 
to create a new PMax Campaign, which succeed. But if I add shoppingSetting 
with a valid Merchant Id to the Campaign, (Updated the final url of asset 
group as well), even though I have enough assets for the asset group. I 
still got error return from API. It says I missed every type of required 
Asset for a valid asset group plus short description required. Here is a 
part of message:

//
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: 21
    }
    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: 21
    }
    field_path_elements {
      field_name: "asset_group_asset_operation"
    }
  }
}
It is for sure, that the same content can be created via Java API, while if 
I add merchant Id, my request is rejected.

Does anyone have idea on how to solve this issue. 
Huge thanks!

Best Regards,
Jay

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b6a2f751-e363-479d-951b-1ecdf399cff6n%40googlegroups.com.
  • PM... Yisong Jiang
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to