Menu

Packet capture example

topon advertising packet capture

Overview

In daily problem feedback, there are many scenarios where developers need to provide relevant request information or advertising materials to topon support colleagues. identify the problem. The following content will explain how to capture topon advertisements.


📢: If you do not see anythink related domain names when capturing packets, please check whether the advertising request in the project is actually issued and whether the SDK initialization related logic is normal.

Usage scenarios include but are not limited to the following scenarios:

  • Ads without filling
  • Abnormal ad display effects
  • Ad blocking badcase
  • Advertising complaint

Step 1: Client configuration

Client configuration network_security_config.xml file

<network-security-config>
    <base-config cleartextTrafficPermitted="true" />
    
    <debug-overrides>
        <trust-anchors>
            <certificates src="user"/>
        </trust-anchors>
    </debug-overrides>
</network-security-config>

Step 2: Configure Charles

Configure Charles & install the Charles certificate. For specific configuration methods, please refer to the online tutorial, or refer to this Link

Step 3: Advertisement capture

When developers actively request advertisements, they can capture The package tool captures the relevant request data of topon ads.

The developer provides the corresponding ad request and return information to topon developers to locate the problem:

  • The domain name requested by adx ads is: adx-xx.anythinktech.com/bid,adx-xx.anythinktech.com/request

  • The domain name requested by the advertisement is: api.anythinktech.com

Article Image

    • Save Request and Response

Article Picture


Previous
Change log
Next
Integrated OAID
Last modified: 2025-05-30Powered by