"description":"Creates a short Dynamic Link given either a valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS app information.\nThe created short Dynamic Link will not expire.\n\nRepeated calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project."
}
}
},
"v1":{
"methods":{
"getLinkStats":{
"httpMethod":"GET",
"parameterOrder":[
"dynamicLink"
],
"response":{
"$ref":"DynamicLinkStats"
},
"scopes":[
"https://www.googleapis.com/auth/firebase"
],
"parameters":{
"durationDays":{
"location":"query",
"description":"The span of time requested in days.",
"format":"int64",
"type":"string"
},
"dynamicLink":{
"location":"path",
"description":"Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz",
"required":true,
"type":"string"
}
},
"flatPath":"v1/{dynamicLink}/linkStats",
"id":"firebasedynamiclinks.getLinkStats",
"path":"v1/{dynamicLink}/linkStats",
"description":"Fetches analytics stats of a short Dynamic Link for a given\nduration. Metrics include number of clicks, redirects, installs,\napp first opens, and app reopens."
},
"installAttribution":{
"response":{
"$ref":"GetIosPostInstallAttributionResponse"
},
"parameterOrder":[],
"httpMethod":"POST",
"scopes":[
"https://www.googleapis.com/auth/firebase"
],
"parameters":{},
"flatPath":"v1/installAttribution",
"path":"v1/installAttribution",
"id":"firebasedynamiclinks.installAttribution",
"description":"Get iOS strong/weak-match info for post-install attribution.",
"request":{
"$ref":"GetIosPostInstallAttributionRequest"
}
}
}
}
},
"parameters":{
"key":{
"location":"query",
"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"type":"string"
},
"access_token":{
"type":"string",
"location":"query",
"description":"OAuth access token."
},
"quotaUser":{
"type":"string",
"location":"query",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
},
"pp":{
"type":"boolean",
"default":"true",
"location":"query",
"description":"Pretty-print response."
},
"oauth_token":{
"type":"string",
"location":"query",
"description":"OAuth 2.0 token for the current user."
},
"bearer_token":{
"location":"query",
"description":"OAuth bearer token.",
"type":"string"
},
"upload_protocol":{
"location":"query",
"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type":"string"
},
"prettyPrint":{
"location":"query",
"description":"Returns response with indentations and line breaks.",
"type":"boolean",
"default":"true"
},
"uploadType":{
"type":"string",
"location":"query",
"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
},
"fields":{
"type":"string",
"location":"query",
"description":"Selector specifying which fields to include in a partial response."
},
"$.xgafv":{
"type":"string",
"enumDescriptions":[
"v1 error format",
"v2 error format"
],
"location":"query",
"enum":[
"1",
"2"
],
"description":"V1 error format."
},
"callback":{
"type":"string",
"location":"query",
"description":"JSONP"
},
"alt":{
"enum":[
"json",
"media",
"proto"
],
"type":"string",
"enumDescriptions":[
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
"description":"Response for iSDK to execute strong match flow for post-install attribution.",
"type":"object",
"properties":{
"fallbackLink":{
"type":"string",
"description":"The link to navigate to update the app if min version is not met.\nThis is either (in order): 1) fallback link (from ?ifl= parameter, if\nspecified by developer) or 2) AppStore URL (from ?isi= parameter, if\nspecified), or 3) the payload link (from required link= parameter)."
},
"requestedLink":{
"description":"Entire FDL (short or long) attributed post-install via one of several\ntechniques (fingerprint, copy unique).",
"type":"string"
},
"utmMedium":{
"description":"Scion medium value to be propagated by iSDK to Scion at post-install.",
"type":"string"
},
"utmSource":{
"description":"Scion source value to be propagated by iSDK to Scion at post-install.",
"type":"string"
},
"isStrongMatchExecutable":{
"description":"Instruction for iSDK to attemmpt to perform strong match. For instance,\nif browser does not support/allow cookie or outside of support browsers,\nthis will be false.",
"type":"boolean"
},
"appMinimumVersion":{
"type":"string",
"description":"The minimum version for app, specified by dev through ?imv= parameter.\nReturn to iSDK to allow app to evaluate if current version meets this."
},
"invitationId":{
"description":"Invitation ID attributed post-install via one of several techniques\n(fingerprint, copy unique).",
"type":"string"
},
"deepLink":{
"description":"The deep-link attributed post-install via one of several techniques\n(fingerprint, copy unique).",
"type":"string"
},
"externalBrowserDestinationLink":{
"type":"string",
"description":"User-agent specific custom-scheme URIs for iSDK to open. This will be set\naccording to the user-agent tha the click was originally made in. There is\nno Safari-equivalent custom-scheme open URLs.\nie: googlechrome://www.example.com\nie: firefox://open-url?url=http://www.example.com\nie: opera-http://example.com"
},
"attributionConfidence":{
"type":"string",
"enumDescriptions":[
"Unset.",
"Weak confidence, more than one matching link found or link suspected to\nbe false positive",
"Default confidence, match based on fingerprint",
"Unique confidence, match based on \"unique match link to check\" or other\nmeans"
],
"enum":[
"UNKNOWN_ATTRIBUTION_CONFIDENCE",
"WEAK",
"DEFAULT",
"UNIQUE"
],
"description":"The confidence of the returned attribution."
},
"matchMessage":{
"type":"string",
"description":"Describes why match failed, ie: \"discarded due to low confidence\".\nThis message will be publicly visible."
},
"resolvedLink":{
"description":"The entire FDL, expanded from a short link. It is the same as the\nrequested_link, if it is long. Parameters from this should not be\nused directly (ie: server can default utm_[campaign|medium|source]\nto a value when requested_link lack them, server determine the best\nfallback_link when requested_link specifies \u003e1 fallback links).",
"type":"string"
},
"utmCampaign":{
"description":"Scion campaign value to be propagated by iSDK to Scion at post-install.",
"type":"string"
}
},
"id":"GetIosPostInstallAttributionResponse"
},
"SocialMetaTagInfo":{
"description":"Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
"type":"object",
"properties":{
"socialDescription":{
"description":"A short description of the link. Optional.",
"description":"Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param."
"description":"Information about the Dynamic Link to be shortened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
},
"longDynamicLink":{
"description":"Full long Dynamic Link URL with desired query parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
"type":"string"
},
"suffix":{
"$ref":"Suffix",
"description":"Short Dynamic Link suffix. Optional."
"description":"Possible unique matched link that server need to check before performing\nfingerprint match. If passed link is short server need to expand the link.\nIf link is long server need to vslidate the link.",
"type":"string"
},
"appInstallationTime":{
"description":"App installation epoch time (https://en.wikipedia.org/wiki/Unix_time).\nThis is a client signal for a more accurate weak match.",
"iSDK performs a server lookup by device fingerprint in the background\nwhen app is first-opened; no API called by developer.",
"iSDK performs a server lookup by device fingerprint upon a dev API call.",
"iSDK performs a strong match only if weak match is found upon a dev\nAPI call."
],
"enum":[
"UNKNOWN_PAYLOAD_RETRIEVAL_METHOD",
"IMPLICIT_WEAK_MATCH",
"EXPLICIT_WEAK_MATCH",
"EXPLICIT_STRONG_AFTER_WEAK_MATCH"
],
"description":"App post install attribution retrieval information. Disambiguates\nmechanism (iSDK or developer invoked) to retrieve payload from\nclicked link."
},
"visualStyle":{
"type":"string",
"enumDescriptions":[
"Unknown style.",
"Default style.",
"Custom style."
],
"enum":[
"UNKNOWN_VISUAL_STYLE",
"DEFAULT_STYLE",
"CUSTOM_STYLE"
],
"description":"Strong match page information. Disambiguates between default UI and\ncustom page to present when strong match succeeds/fails to find cookie."
"description":"Request for iSDK to execute strong match flow for post-install attribution.\nThis is meant for iOS requests only. Requests from other platforms will\nnot be honored."
"The suffix option is not specified, performs as NOT_GUESSABLE .",
"Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.",
"Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied."
"description":"[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified."
"description":"Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)"
"description":"Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android/receive)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired."
"description":"The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).\n\nRequired."
},
"iosInfo":{
"$ref":"IosInfo",
"description":"iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
},
"socialMetaTagInfo":{
"$ref":"SocialMetaTagInfo",
"description":"Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites."
},
"androidInfo":{
"$ref":"AndroidInfo",
"description":"Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
},
"navigationInfo":{
"$ref":"NavigationInfo",
"description":"Information of navigation behavior of a Firebase Dynamic Links."
},
"analyticsInfo":{
"$ref":"AnalyticsInfo",
"description":"Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."