Main thread blocked by synchronous property query on not-yet-loaded property

410 views
Skip to first unread message

gauhar abbas

unread,
Jul 30, 2024, 4:40:24 AM7/30/24
to Google Ads API and AdWords API Forum

let videoOptions = GADVideoOptions()
videoOptions.startMuted = false
videoOptions.customControlsRequested = true

let aspectRatioOption = GADNativeAdMediaAdLoaderOptions()
aspectRatioOption.mediaAspectRatio = .any

let adLoader = GADAdLoader(adUnitID: adUnitID, self: vc,adTypes: [.native], options: [aspectRatioOption,videoOptions,nativeOptions])
adLoader.delegate = self
adLoader.load(GADRequest())

**

Main thread blocked by synchronous property query on not-yet-loaded property (assetProperty_Tracks) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.

Main thread blocked by synchronous property query on not-yet-loaded property (NaturalSize) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.

Main thread blocked by synchronous property query on not-yet-loaded property (PreferredTransform) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.

Main thread blocked by synchronous property query on not-yet-loaded property (EstimatedDataRate) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.

Main thread blocked by synchronous property query on not-yet-loaded property (NominalFrameRate) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.

**

Google Ads API Forum Advisor

unread,
Jul 30, 2024, 10:57:55 AM7/30/24
to gauhar...@explurger.com, adwor...@googlegroups.com
Hi,

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

Kindly note that we can only assist with issues/concerns related to the Google Ads API. Upon checking the logs, I could see that these methods (GADNativeAdMediaAdLoaderOptions, GADVideoOptions) are not present in Google Ads API. Could you confirm if you are using the Google Ads API and facing these issues? 

However, if you are not using the Google Ads API, then kindly share with us the API which you are using so that we can assist you to the correct support team for further assistance. 

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.!5004Q02vEJjn:ref" (ADR-00260100)

Thanks,
 
Google Logo Google Ads API Team


Google Ads API Forum Advisor

unread,
Jul 30, 2024, 12:11:11 PM7/30/24
to gauhar...@explurger.com, adwor...@googlegroups.com
Hi,

By reviewing your concern, I understand that you are using the Google Mobile Ads SDK. I am routing this request to the Google Mobile Ads SDK team as they are well equipped to assist you. Please note that our team can only assist with the technical queries/concerns related to the Google Ads API.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vEJjn:ref" (ADR-00260100)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


gauhar abbas

unread,
Jul 30, 2024, 12:18:37 PM7/30/24
to Google Ads API Forum Advisor, adwor...@googlegroups.com
Ok please route it to Google Mobile Ads SDK Team

gauhar abbas

unread,
Jul 30, 2024, 12:18:55 PM7/30/24
to ads...@forumsupport.google, adwor...@googlegroups.com
Thank you for your response. 

I am using GoogleMobileAds SDK to load ads on my tableview list but when I load ads using below code, it shows main thread blocked errors as sent to you already. It doesnt matter which thread i am using, it throws these errors in every thread.

let adLoader = GADAdLoader(adUnitID: adUnitID, rootViewController: self, adTypes: [.native], options:  nil)

adLoader.delegate = self

adLoader.load(GADRequest())


func adLoader(_ adLoader: GADAdLoader, didReceive nativeAd: GADNativeAd) {

    print("Received native ad: \(nativeAd)")

}


func adLoader(_ adLoader: GADAdLoader, didFailToReceiveAdWithError error: Error) {

    print("Failed to receive ad: \(error)")

}



Errors :-

**

Main thread blocked by synchronous property query on not-yet-loaded property (assetProperty_Tracks) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.


Main thread blocked by synchronous property query on not-yet-loaded property (NaturalSize) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.


Main thread blocked by synchronous property query on not-yet-loaded property (PreferredTransform) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.


Main thread blocked by synchronous property query on not-yet-loaded property (EstimatedDataRate) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.


Main thread blocked by synchronous property query on not-yet-loaded property (NominalFrameRate) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.

Show less


**



Reply all
Reply to author
Forward
0 new messages