GOOGLE AD LIBRARY API

Ad Details

Retrieve ad details from Google Ad Library with a single API request.

GET/api/data/v1/google/ad
1credit base costZero-credit cache supported

Request parameters

Up to 1 credit

The url of the ad

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.]

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/google/ad?url=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR01614014350098432001%2Fcreative%2FCR10449491775734153217' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "credits_charged": 1,
  "advertiserId": "AR01614014350098432001",
  "creativeId": "CR07443539616616939521",
  "firstShown": null,
  "lastShown": "2025-06-18T18:09:00.000Z",
  "format": "text",
  "overallImpressions": {
    "min": "250000",
    "max": "300000"
  },
  "spend": {
    "currency": "USD",
    "lower": "5000",
    "upper": "6000"
  },
  "targeting": {
    "age": {
      "included": [
        "25-34"
      ],
      "excluded": [
        "18-24"
      ]
    },
    "gender": {
      "included": [
        "unknown"
      ],
      "excluded": []
    },
    "location": {
      "included": [
        {
          "criterionId": "1015229",
          "name": "West Palm Beach",
          "fullName": "West Palm Beach, Florida, United States",
          "countryCodes": [
            "US"
          ]
        }
      ],
      "excluded": []
    }
  },
  "creativeRegions": [
    {
      "regionCode": "US",
      "regionName": "United States"
    }
  ],
  "regionStats": [
    {
      "regionCode": "US",
      "regionName": "United States",
      "firstShown": null,
      "lastShown": "2025-06-18T05:00:00.000Z",
      "impressions": {},
      "platformImpressions": []
    }
  ],
  "variations": [
    {
      "destinationUrl": "shop.lululemon.com/gifts-for-all",
      "headline": "lululemonⓇ Official Site - Best Birthday Gifts",
      "description": "Find The Perfect Gifts At lululemon . We Have You Covered . Shop Online For Your Gifts . Birthday Gifts For Everyone ...",
      "allText": "Sponsored Ω lululemon shop.lululemon.com/gifts-for-all lululemonⓇ Official Site - Best Birthday Gifts Find The Perfect Gifts At lululemon . We Have You Covered . Shop Online For Your Gifts . Birthday Gifts For Everyone ...",
      "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/2201045439314643090"
    }
  ]
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer"
    },
    "advertiserId": {
      "type": "string"
    },
    "creativeId": {
      "type": "string"
    },
    "firstShown": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "lastShown": {
      "type": "string"
    },
    "format": {
      "type": "string"
    },
    "overallImpressions": {
      "type": "object",
      "properties": {
        "min": {
          "type": "string"
        },
        "max": {
          "type": "string"
        }
      }
    },
    "spend": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "lower": {
          "type": "string"
        },
        "upper": {
          "type": "string"
        }
      }
    },
    "targeting": {
      "type": "object",
      "properties": {
        "age": {
          "type": "object",
          "properties": {
            "included": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "excluded": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "gender": {
          "type": "object",
          "properties": {
            "included": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "excluded": {
              "type": "array"
            }
          }
        },
        "location": {
          "type": "object",
          "properties": {
            "included": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "criterionId": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "fullName": {
                    "type": "string"
                  },
                  "countryCodes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "excluded": {
              "type": "array"
            }
          }
        }
      }
    },
    "creativeRegions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "regionCode": {
            "type": "string"
          },
          "regionName": {
            "type": "string"
          }
        }
      }
    },
    "regionStats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "regionCode": {
            "type": "string"
          },
          "regionName": {
            "type": "string"
          },
          "firstShown": {
            "type": [
              "string",
              "object",
              "array",
              "number",
              "boolean",
              "null"
            ]
          },
          "lastShown": {
            "type": "string"
          },
          "impressions": {
            "type": "object",
            "properties": {}
          },
          "platformImpressions": {
            "type": "array"
          }
        }
      }
    },
    "variations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "destinationUrl": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allText": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          }
        }
      }
    }
  }
}