Partial Outageshare-external
media_type=MEME is Broken returning ALL media_types in "Ads library"
1

ERROR

media_type=MEME is returning all media_type in contrast media_type IMAGE ,VIDEO,NONE are working correctly

probably, issue can be due to change in definition in the Ad Library definition of IMAGE , MEME see the attachment above

How did i found this error,

i was sceptical when i found number of ads in media_type=ALL and media+type=MEME to be same for same range of date

MEME are images not videos but the api call returned an entry with Library ID: 334616886342598 https://www.facebook.com/ads/library/?id=334616886342598

when i applied filter in the GUI for Ad library
https://www.facebook.com/ads/library/?active_status=all&ad_type=political_and_issue_ads&country=IN&id=334616886342598&view_all_page_id=257916314892663&sort_data[direction]=desc&sort_data[mode]=relevancy_monthly_grouped&search_type=page&media_type=meme

i did not find the Ad with Library ID: 334616886342598

hence it was not a meme and the api call is returning wrong media_type even if the parameter passed is media_type=MEME

curl command to recreate response , {2nd page : "page_id": "257916314892663",}

curl -i -X GET \ "https://graph.facebook.com/v20.0/ads_archive?ad_delivery_date_max=2024-06-10&ad_delivery_date_min=2024-06-09&ad_reached_countries=IN&ad_type=POLITICAL_AND_ISSUE_ADS&fields=id%2Cad_creation_time%2Cad_creative_bodies%2Cad_creative_link_captions%2Cad_creative_link_descriptions%2Cad_creative_link_titles%2Cad_delivery_start_time%2Cad_delivery_stop_time%2Cad_snapshot_url%2Cage_country_gender_reach_breakdown%2Cbeneficiary_payers%2Cbylines%2Cdelivery_by_region%2Ccurrency%2Cdemographic_distribution%2Cestimated_audience_size%2Cimpressions%2Clanguages%2Cpage_id%2Cpage_name%2Cpublisher_platforms%2Ctarget_ages%2Cspend%2Ctarget_gender%2Ctarget_locations&media_type=MEME&pretty=0&search_terms='&limit=25&after=c2NyYXBpbmdfY3Vyc29yOk1UY3hPREE0TmpVek1qbzRPRFkyTnpRMk1EWTRNekU0TlRFPQZDZD&access_token={api-key}"

response received

{
      "id": "334616886342598",
      "ad_creation_time": "2024-06-10",
      "ad_creative_bodies": [
        "विपक्ष के अकड़न के कारण।

As the Loksabha results have come out 5 days back and winners have been decided. Those who have got the majority, already form the #government , in spite of this opposition still making negative comments and showing arrogance. The #OppositionArrogancy are comdamnable from every side. Please listen to this video carefully. I think the upper hand people should avoid the Oppositions' negative and baseless remarks."
      ],
      "ad_creative_link_captions": [
        "fb.com"
      ],
      "ad_creative_link_titles": [
        "Bhool"
      ],
      "ad_delivery_start_time": "2024-06-10",
      "ad_delivery_stop_time": "2024-06-12",
      "ad_snapshot_url": "https://www.facebook.com/ads/archive/render_ad/?id=334616886342598&access_token=",
      "bylines": "Kaustubh Narayan Misra",
      "delivery_by_region": [
        {
          "percentage": "0.001111",
          "region": "Unknown"
        },
        {
          "percentage": "0.000333",
          "region": "Mizoram"
        },
        {
          "percentage": "0.072976",
          "region": "Rajasthan"
        },
        {
          "percentage": "0.005554",
          "region": "Tamil Nadu"
        },
        {
          "percentage": "0.002444",
          "region": "Tripura"
        },
        {
          "percentage": "0.034211",
          "region": "West Bengal"
        },
        {
          "percentage": "0.001666",
          "region": "Sikkim"
        },
        {
          "percentage": "0.000555",
          "region": "Arunachal Pradesh"
        },
        {
          "percentage": "0.003332",
          "region": "Goa"
        },
        {
          "percentage": "0.000111",
          "region": "Puducherry"
        },
        {
          "percentage": "0.048873",
          "region": "Bihar"
        },
        {
          "percentage": "0.056537",
          "region": "Madhya Pradesh"
        },
        {
          "percentage": "0.199267",
          "region": "Uttar Pradesh"
        },
        {
          "percentage": "0.027657",
          "region": "Chhattisgarh"
        },
        {
          "percentage": "0.030656",
          "region": "Jharkhand"
        },
        {
          "percentage": "0.028768",
          "region": "Uttarakhand"
        },
        {
          "percentage": "0.019327",
          "region": "Punjab region"
        },
        {
          "percentage": "0.026436",
          "region": "Odisha"
        },
        {
          "percentage": "0.000555",
          "region": "Andaman and Nicobar Islands"
        },
        {
          "percentage": "0.02477",
          "region": "Haryana"
        },
        {
          "percentage": "0.003332",
          "region": "Andhra Pradesh"
        },
        {
          "percentage": "0.017883",
          "region": "Assam"
        },
        {
          "percentage": "0.00522",
          "region": "Chandigarh"
        },
        {
          "percentage": "0.003888",
          "region": "Dadra and Nagar Haveli"
        },
        {
          "percentage": "0.039987",
          "region": "Delhi"
        },
        {
          "percentage": "0.145285",
          "region": "Gujarat"
        },
        {
          "percentage": "0.017661",
          "region": "Himachal Pradesh"
        },
        {
          "percentage": "0.000778",
          "region": "Nagaland"
        },
        {
          "percentage": "0.022326",
          "region": "Jammu and Kashmir"
        },
        {
          "percentage": "0.00211",
          "region": "Kerala"
        },
        {
          "percentage": "0.11996",
          "region": "Maharashtra"
        },
        {
          "percentage": "0.001333",
          "region": "Manipur"
        },
        {
          "percentage": "0.000333",
          "region": "Meghalaya"
        },
        {
          "percentage": "0.025436",
          "region": "Karnataka"
        },
        {
          "percentage": "0.00933",
          "region": "Telangana"
        }
      ],
      "currency": "INR",
      "demographic_distribution": [
        {
          "percentage": "0.000112",
          "age": "65+",
          "gender": "unknown"
        },
        {
          "percentage": "0.118139",
          "age": "35-44",
          "gender": "male"
        },
        {
          "percentage": "0.000112",
          "age": "25-34",
          "gender": "unknown"
        },
        {
          "percentage": "0.000223",
          "age": "35-44",
          "gender": "unknown"
        },
        {
          "percentage": "0.248327",
          "age": "55-64",
          "gender": "male"
        },
        {
          "percentage": "0.074632",
          "age": "18-24",
          "gender": "male"
        },
        {
          "percentage": "0.202365",
          "age": "45-54",
          "gender": "male"
        },
        {
          "percentage": "0.026774",
          "age": "65+",
          "gender": "female"
        },
        {
          "percentage": "0.099174",
          "age": "25-34",
          "gender": "male"
        },
        {
          "percentage": "0.027332",
          "age": "45-54",
          "gender": "female"
        },
        {
          "percentage": "0.128291",
          "age": "65+",
          "gender": "male"
        },
        {
          "percentage": "0.039045",
          "age": "55-64",
          "gender": "female"
        },
        {
          "percentage": "0.010598",
          "age": "18-24",
          "gender": "female"
        },
        {
          "percentage": "0.000223",
          "age": "55-64",
          "gender": "unknown"
        },
        {
          "percentage": "0.010486",
          "age": "35-44",
          "gender": "female"
        },
        {
          "percentage": "0.013945",
          "age": "25-34",
          "gender": "female"
        },
        {
          "percentage": "0.000223",
          "age": "45-54",
          "gender": "unknown"
        }
      ],
      "estimated_audience_size": {
        "lower_bound": "1000001"
      },
      "impressions": {
        "lower_bound": "9000",
        "upper_bound": "9999"
      },
      "languages": [
        "en"
      ],
      "page_id": "257916314892663",
      "page_name": "Kaustubh Narayan Misra",
      "publisher_platforms": [
        "facebook",
        "instagram"
      ],
      "spend": {
        "lower_bound": "0",
        "upper_bound": "99"
      }
    },
Milind
Asked about 5 months ago