Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk API: SubType = None for ImageAsset #304

Closed
VadimSaratov opened this issue Nov 20, 2024 · 1 comment · May be fixed by #305
Closed

Bulk API: SubType = None for ImageAsset #304

VadimSaratov opened this issue Nov 20, 2024 · 1 comment · May be fixed by #305

Comments

@VadimSaratov
Copy link

VadimSaratov commented Nov 20, 2024

When I download the CSV file with all Asset Group records

I have the Images column with the following data:

[{"id":7353154021222,"subType":"LandscapeImageMedia","cropX":0,"cropY":31,"cropWidth":830,"cropHeight":435},
{"id":7353154021343,"subType":"ImageMedia178X100","cropX":0,"cropY":0,"cropWidth":830,"cropHeight":466},
// ... More images
]

but when I print the entity I get the following:

(AssetLink){
   Asset =
          (ImageAsset){
             Id = 7353154021222
         Name = None
         Type = "ImageAsset"
         CropHeight = 435
         CropWidth = 830
         CropX = 0
         CropY = 31
         SubType = None
         TargetHeight = None
         TargetWidth = None
      }
   AssetPerformanceLabel = None
   EditorialStatus = None
   PinnedField = None
   TargetWidth = None
   TargetHeight = None
}

SubType seems to be missing in csv_to_field_ImageAssetLinks and field_to_csv_ImageAssetLinks in bingads/v13/internal/extensions.py

@xinyuwen2
Copy link
Collaborator

Thank you! Fix is included in version 13.0.23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants