Hi,

I met an issue during creating a set of Assets in Performance Max (For 
Travelling Goal) using GoogleAds Java API v14.
Here is the MutateOperation I used for creating an Asset:
MutateOperation.newBuilder()
 .setAssetOperation(
   AssetOperation.newBuilder()
     .setCreate(
        Asset.newBuilder()
          .setName(pmaxHotelAssetModel.getUuid().toString())
          .setTextAsset(
            TextAsset.newBuilder()
              .setText(pmaxHotelAssetModel.getContent())
        .build())))
.build()

I have set name of each the Asset Object, I use the following code for 
batch uploading to Google Ads Channel:
MutateGoogleAdsResponse response =
  googleAdsServiceClient.mutate(
    MutateGoogleAdsRequest.newBuilder()
      .setCustomerId(customerId.toString())
      .addAllMutateOperations(operationList)
      .setResponseContentType(ResponseContentType.MUTABLE_RESOURCE)
    .build());

But the response list I got will have unstable behavior on 
mutateOperationResponse.getAssetResult().getAsset().getName()
, that, some will have empty value "", some will have configured asset 
name, as input in first block of code. All the cases are successfully 
uploaded with valid resourceName.

Anyone has idea why this happend and is there a method to avoid the cases?

In addition, the assetName are String value from "1", "2", "3", .... "32" 
without duplication. Assets that miss asset names contain "3" and  "11"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b8351c4a-ec7a-4536-8cf9-eeed3725794an%40googlegroups.com.
  • Un... Yi Song Jiang
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Yi Song Jiang

Reply via email to