Huawei Ads provides various inventory slots for Display Ads such as rewarded video ads, banner ads, native ads, etc through their own Huawei Apps like Huawei Browser, Huawei Video, and Huawei Assistant. Airbridge, as a Huawei Ads integrated partner, helps you track and measure the Huawei Ads Performance.
Please read the below guide to set up and activate the Airbridge integration with Huawei Ads.
How to Set up Huawei Ads
1. Go to [ Tools > Delivery assistance > Associated tools ] and click 'New'. Select 'Airbridge' and your App respectively. Once done, click 'Submit'.
2. On the Associate Tools page, click the icon to display the Key(Link ID) of your app. Click to copy the key.
3. Paste the copied 'Key' into the Register Link ID at [ Airbridge Dashboard > Integration > Integrated Ad Channels > Huawei Ads ].
How to Register Conversion Events
1. Go to [ Tools > Delivery assistance > Conversion Tracking ] and click New Conversion Indicator.
2. Select [ App Tracking ] and [ Analysis Tool ] and click 'Continue'.
3. Select Conversion name, App, and Conversion Actions.
4. Configure 'Click' and 'Display' attribution window.
The default of each attribution window is as below, and only the touchpoints within these windows will be considered for the attribution.
(It is recommended to set up Huawei windows the same as Airbridge's to reduce the data discrepancy.)
Click attribution window: 7 days to 30 days (default: 30)
Display attribution window: 1 day to 7 days (default: 1)
-
Click 'Submit' to complete the conversion event registration.
-
Once the registered event occurs and postback has been received, the status of that event will change from Unactivated to Activated as depicted below.
- Now, the setup is completed and you may live your ad campaign.
Collecting OAID
OAID is an advertising ID issued by Huawei Ads. The Airbridge SDK supports OAID collection in UUID version 4 format. To collect OAID, please follow the below guide.
Java
import co.ab180.airbridge.Airbridge;
import co.ab180.airbridge.AirbridgeCallback;
import co.ab180.airbridge.AdvertisingIdInfo;
Airbridge.getDeviceInfo().getHuaweiAdvertisingIdInfo(new AirbridgeCallback.SimpleCallback<AdvertisingIdInfo>() {
@Override
public void onSuccess(AdvertisingIdInfo result) {
result.getId(); // OAID
result.getLimitAdTrackingEnabled(); // LAT
}
@Override
public void onFailure(@NotNull Throwable throwable) {
}
});
Kotlin
import co.ab180.airbridge.Airbridge
import co.ab180.airbridge.AirbridgeCallback
import co.ab180.airbridge.AdvertisingIdInfo
Airbridge.getDeviceInfo().getHuaweiAdvertisingIdInfo(object : AirbridgeCallback.SimpleCallback<AdvertisingIdInfo>() {
override fun onSuccess(result: AdvertisingIdInfo) {
result.getId() // OAID
result.getLimitAdTrackingEnabled() // LAT
}
override fun onFailure(throwable: Throwable) {
}
})